33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-12-22 10:58:58 +00:00

Vendor update, move Composer path, rebuild packaging script

This commit is contained in:
Michael Babker 2017-01-21 13:21:17 -06:00
parent a4fcc3acfd
commit 127d5269c0
5 changed files with 78 additions and 66 deletions

2
.gitignore vendored
View File

@ -18,4 +18,4 @@
/.idea /.idea
# Composer Install # # Composer Install #
/vendor /administrator/components/com_patchtester/vendor

View File

@ -21,5 +21,5 @@ before_script:
- composer install - composer install
script: script:
- if [[ $RUN_PHPCS == "yes" ]]; then vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/* administrator/components/com_patchtester; fi - if [[ $RUN_PHPCS == "yes" ]]; then administrator/components/com_patchtester/vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/* administrator/components/com_patchtester; fi
- if [[ $UPDATE_CROWDIN == "yes" && $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_BRANCH == "master" ]]; then vendor/bin/crowdin --upload; fi - if [[ $UPDATE_CROWDIN == "yes" && $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_BRANCH == "master" ]]; then administrator/components/com_patchtester/vendor/bin/crowdin --upload; fi

View File

@ -1,13 +1,16 @@
#!/bin/sh #!/bin/sh
rm -rf ../packaging && mkdir ../packaging cd ../../
rm -rf ../packages && mkdir ../packages rm -rf packaging && mkdir packaging
cp -r ../../administrator/components/com_patchtester ../packaging/admin rm -rf packages && mkdir packages
cp -r ../../administrator/templates/hathor/html/com_patchtester ../packaging/hathor composer install --no-dev
cp -r ../../media/com_patchtester ../packaging/media cp -r administrator/components/com_patchtester packaging/admin
rm -rf ../packaging/admin/backups/*.txt cp -r administrator/templates/hathor/html/com_patchtester packaging/hathor
mv ../packaging/admin/patchtester.xml ../packaging/patchtester.xml cp -r media/com_patchtester packaging/media
mv ../packaging/admin/script.php ../packaging/script.php rm -rf packaging/admin/backups/*.txt
cd ../packaging mv packaging/admin/patchtester.xml packaging/patchtester.xml
tar jcf ../packages/com_patchtester.tar.bz2 admin/ hathor/ media/ patchtester.xml script.php mv packaging/admin/script.php packaging/script.php
tar zcf ../packages/com_patchtester.tar.gz admin/ hathor/ media/ patchtester.xml script.php cd packaging
zip -r ../packages/com_patchtester.zip admin/ hathor/ media/ patchtester.xml script.php tar jcf packages/com_patchtester.tar.bz2 admin/ hathor/ media/ patchtester.xml script.php
tar zcf packages/com_patchtester.tar.gz admin/ hathor/ media/ patchtester.xml script.php
zip -r packages/com_patchtester.zip admin/ hathor/ media/ patchtester.xml script.php
composer install

View File

@ -5,6 +5,9 @@
"keywords": ["joomla", "cms"], "keywords": ["joomla", "cms"],
"homepage": "https://github.com/joomla-extensions/patchtester", "homepage": "https://github.com/joomla-extensions/patchtester",
"license": "GPL-2.0+", "license": "GPL-2.0+",
"config": {
"vendor-dir": "administrator/components/com_patchtester/vendor"
},
"require": { "require": {
"php": ">=5.3.10" "php": ">=5.3.10"
}, },

108
composer.lock generated
View File

@ -4,7 +4,6 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"hash": "2e9abcd81c99cc66888e6331ef3c915d",
"content-hash": "edd2fd4e5088da2a5bc5b04969135d4d", "content-hash": "edd2fd4e5088da2a5bc5b04969135d4d",
"packages": [], "packages": [],
"packages-dev": [ "packages-dev": [
@ -49,7 +48,7 @@
} }
], ],
"description": "A crowdin API implementation in PHP", "description": "A crowdin API implementation in PHP",
"time": "2016-08-02 01:04:16" "time": "2016-08-02T01:04:16+00:00"
}, },
{ {
"name": "guzzlehttp/guzzle", "name": "guzzlehttp/guzzle",
@ -111,32 +110,32 @@
"rest", "rest",
"web service" "web service"
], ],
"time": "2016-10-08 15:01:37" "time": "2016-10-08T15:01:37+00:00"
}, },
{ {
"name": "guzzlehttp/promises", "name": "guzzlehttp/promises",
"version": "1.3.0", "version": "v1.3.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/promises.git", "url": "https://github.com/guzzle/promises.git",
"reference": "2693c101803ca78b27972d84081d027fca790a1e" "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/promises/zipball/2693c101803ca78b27972d84081d027fca790a1e", "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
"reference": "2693c101803ca78b27972d84081d027fca790a1e", "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.5.0" "php": ">=5.5.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "~4.0" "phpunit/phpunit": "^4.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.0-dev" "dev-master": "1.4-dev"
} }
}, },
"autoload": { "autoload": {
@ -162,7 +161,7 @@
"keywords": [ "keywords": [
"promise" "promise"
], ],
"time": "2016-11-18 17:47:58" "time": "2016-12-20T10:07:11+00:00"
}, },
{ {
"name": "guzzlehttp/psr7", "name": "guzzlehttp/psr7",
@ -220,7 +219,7 @@
"stream", "stream",
"uri" "uri"
], ],
"time": "2016-06-24 23:00:38" "time": "2016-06-24T23:00:38+00:00"
}, },
{ {
"name": "ircmaxell/password-compat", "name": "ircmaxell/password-compat",
@ -262,33 +261,33 @@
"hashing", "hashing",
"password" "password"
], ],
"time": "2014-11-20 16:49:30" "time": "2014-11-20T16:49:30+00:00"
}, },
{ {
"name": "joomla/application", "name": "joomla/application",
"version": "1.6.0", "version": "1.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/joomla-framework/application.git", "url": "https://github.com/joomla-framework/application.git",
"reference": "2c2fb32553819f22ee15d4022dec805e750f43ce" "reference": "e1a2416d3aaeae3c927920b3e1b1c33095b16e03"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/joomla-framework/application/zipball/2c2fb32553819f22ee15d4022dec805e750f43ce", "url": "https://api.github.com/repos/joomla-framework/application/zipball/e1a2416d3aaeae3c927920b3e1b1c33095b16e03",
"reference": "2c2fb32553819f22ee15d4022dec805e750f43ce", "reference": "e1a2416d3aaeae3c927920b3e1b1c33095b16e03",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"joomla/input": "~1.2", "joomla/input": "~1.2",
"joomla/registry": "~1.1", "joomla/registry": "~1.1",
"php": ">=5.3.10|>=7.0", "php": "^5.3.10|~7.0",
"psr/log": "~1.0" "psr/log": "~1.0"
}, },
"require-dev": { "require-dev": {
"joomla/session": "^1.2.1", "joomla/session": "^1.2.1",
"joomla/test": "~1.1", "joomla/test": "~1.1",
"joomla/uri": "~1.1", "joomla/uri": "~1.1",
"phpunit/phpunit": "~4.8|~5.0", "phpunit/phpunit": "~4.8|>=5.0 <5.4",
"squizlabs/php_codesniffer": "1.*" "squizlabs/php_codesniffer": "1.*"
}, },
"suggest": { "suggest": {
@ -317,7 +316,7 @@
"framework", "framework",
"joomla" "joomla"
], ],
"time": "2016-04-09 03:08:55" "time": "2016-12-10T17:26:50+00:00"
}, },
{ {
"name": "joomla/compat", "name": "joomla/compat",
@ -354,7 +353,7 @@
"framework", "framework",
"joomla" "joomla"
], ],
"time": "2015-02-24 00:21:06" "time": "2015-02-24T00:21:06+00:00"
}, },
{ {
"name": "joomla/crowdin-sync", "name": "joomla/crowdin-sync",
@ -396,7 +395,7 @@
"crowdin", "crowdin",
"joomla" "joomla"
], ],
"time": "2016-10-31 22:30:19" "time": "2016-10-31T22:30:19+00:00"
}, },
{ {
"name": "joomla/filter", "name": "joomla/filter",
@ -446,7 +445,7 @@
"framework", "framework",
"joomla" "joomla"
], ],
"time": "2016-10-16 18:10:33" "time": "2016-10-16T18:10:33+00:00"
}, },
{ {
"name": "joomla/input", "name": "joomla/input",
@ -494,7 +493,7 @@
"input", "input",
"joomla" "joomla"
], ],
"time": "2014-10-12 18:01:36" "time": "2014-10-12T18:01:36+00:00"
}, },
{ {
"name": "joomla/registry", "name": "joomla/registry",
@ -547,30 +546,33 @@
"joomla", "joomla",
"registry" "registry"
], ],
"time": "2016-05-14 20:42:05" "time": "2016-05-14T20:42:05+00:00"
}, },
{ {
"name": "joomla/string", "name": "joomla/string",
"version": "1.4.0", "version": "1.4.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/joomla-framework/string.git", "url": "https://github.com/joomla-framework/string.git",
"reference": "05197132a075ee22a3f0f7da31a19a6d5b4717db" "reference": "66363d317e6c020f30a70265c129281c77c43ca0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/joomla-framework/string/zipball/05197132a075ee22a3f0f7da31a19a6d5b4717db", "url": "https://api.github.com/repos/joomla-framework/string/zipball/66363d317e6c020f30a70265c129281c77c43ca0",
"reference": "05197132a075ee22a3f0f7da31a19a6d5b4717db", "reference": "66363d317e6c020f30a70265c129281c77c43ca0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.10|>=7.0" "php": "^5.3.10|~7.0"
}, },
"require-dev": { "require-dev": {
"joomla/test": "~1.0", "joomla/test": "~1.0",
"phpunit/phpunit": "~4.8|~5.0", "phpunit/phpunit": "~4.8|~5.0",
"squizlabs/php_codesniffer": "1.*" "squizlabs/php_codesniffer": "1.*"
}, },
"suggest": {
"ext-mbstring": "For improved processing"
},
"type": "joomla-package", "type": "joomla-package",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
@ -579,8 +581,7 @@
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Joomla\\String\\": "src/", "Joomla\\String\\": "src/"
"Joomla\\String\\Tests\\": "Tests/"
}, },
"files": [ "files": [
"src/phputf8/utf8.php", "src/phputf8/utf8.php",
@ -611,28 +612,28 @@
"joomla", "joomla",
"string" "string"
], ],
"time": "2016-01-30 20:04:23" "time": "2016-12-10T18:13:42+00:00"
}, },
{ {
"name": "joomla/utilities", "name": "joomla/utilities",
"version": "1.4.0", "version": "1.4.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/joomla-framework/utilities.git", "url": "https://github.com/joomla-framework/utilities.git",
"reference": "ecf18231ff86ab06cf555a7c3ed4dd447ae39e9b" "reference": "8913ca02aad7b929e0d52d78fd5a6961070bdbc6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/joomla-framework/utilities/zipball/ecf18231ff86ab06cf555a7c3ed4dd447ae39e9b", "url": "https://api.github.com/repos/joomla-framework/utilities/zipball/8913ca02aad7b929e0d52d78fd5a6961070bdbc6",
"reference": "ecf18231ff86ab06cf555a7c3ed4dd447ae39e9b", "reference": "8913ca02aad7b929e0d52d78fd5a6961070bdbc6",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"joomla/string": "~1.3", "joomla/string": "~1.3",
"php": ">=5.3.10" "php": "^5.3.10|~7.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "4.*", "phpunit/phpunit": "~4.8|~5.0",
"squizlabs/php_codesniffer": "1.*" "squizlabs/php_codesniffer": "1.*"
}, },
"type": "joomla-package", "type": "joomla-package",
@ -643,8 +644,7 @@
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Joomla\\Utilities\\": "src/", "Joomla\\Utilities\\": "src/"
"Joomla\\Utilities\\Tests\\": "Tests/"
} }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
@ -658,7 +658,7 @@
"joomla", "joomla",
"utilities" "utilities"
], ],
"time": "2015-09-05 16:41:24" "time": "2016-12-10T17:09:33+00:00"
}, },
{ {
"name": "psr/http-message", "name": "psr/http-message",
@ -708,7 +708,7 @@
"request", "request",
"response" "response"
], ],
"time": "2016-08-06 14:39:51" "time": "2016-08-06T14:39:51+00:00"
}, },
{ {
"name": "psr/log", "name": "psr/log",
@ -755,7 +755,7 @@
"psr", "psr",
"psr-3" "psr-3"
], ],
"time": "2016-10-10 12:19:37" "time": "2016-10-10T12:19:37+00:00"
}, },
{ {
"name": "squizlabs/php_codesniffer", "name": "squizlabs/php_codesniffer",
@ -830,7 +830,7 @@
"phpcs", "phpcs",
"standards" "standards"
], ],
"time": "2014-12-04 22:32:15" "time": "2014-12-04T22:32:15+00:00"
}, },
{ {
"name": "symfony/polyfill-php55", "name": "symfony/polyfill-php55",
@ -886,29 +886,35 @@
"portable", "portable",
"shim" "shim"
], ],
"time": "2016-11-14 01:06:16" "time": "2016-11-14T01:06:16+00:00"
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
"version": "v3.1.6", "version": "v3.2.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
"reference": "7ff51b06c6c3d5cc6686df69004a42c69df09e27" "reference": "50eadbd7926e31842893c957eca362b21592a97d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/7ff51b06c6c3d5cc6686df69004a42c69df09e27", "url": "https://api.github.com/repos/symfony/yaml/zipball/50eadbd7926e31842893c957eca362b21592a97d",
"reference": "7ff51b06c6c3d5cc6686df69004a42c69df09e27", "reference": "50eadbd7926e31842893c957eca362b21592a97d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.5.9" "php": ">=5.5.9"
}, },
"require-dev": {
"symfony/console": "~2.8|~3.0"
},
"suggest": {
"symfony/console": "For validating YAML files using the lint command"
},
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "3.1-dev" "dev-master": "3.2-dev"
} }
}, },
"autoload": { "autoload": {
@ -935,7 +941,7 @@
], ],
"description": "Symfony Yaml Component", "description": "Symfony Yaml Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2016-10-24 18:41:13" "time": "2017-01-03T13:51:32+00:00"
} }
], ],
"aliases": [], "aliases": [],