From 725c1dc3e213e724260e35350e79131a66ad73bb Mon Sep 17 00:00:00 2001 From: Sara McCutcheon Date: Mon, 26 Sep 2016 10:52:04 -0700 Subject: [PATCH] Updating to version 0.13.2 --- CHANGELOG.md | 2 +- README.md | 2 +- composer.json | 1 - composer.lock | 1119 ++++++++++++----------------------- config/constants.yml | 2 +- docs/Helpers/InputHelper.md | 17 + docs/Models/Environment.md | 63 ++ docs/Models/MachineToken.md | 5 +- docs/Models/Site.md | 46 +- docs/Models/Upstream.md | 60 ++ docs/Models/Workflow.md | 25 + 11 files changed, 558 insertions(+), 784 deletions(-) create mode 100644 docs/Models/Upstream.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ffae2b1d..7e10b787d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ #Change Log All notable changes to this project starting with the 0.6.0 release will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org) -## MASTER +## [0.13.2] - 2016-09-26 ### Fixed - Fixed apply upstream updates. (#1233) - Fixed `site upstream-info`. (#1224) diff --git a/README.md b/README.md index bb05dc8b2..b310aa1f0 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Once you have at least the requirements installed, you can install Terminus via Run this in this in your terminal client: ```bash -curl https://github.com/pantheon-systems/terminus/releases/download/0.13.1/terminus.phar -L -o /usr/local/bin/terminus && chmod +x /usr/local/bin/terminus +curl https://github.com/pantheon-systems/terminus/releases/download/0.13.2/terminus.phar -L -o /usr/local/bin/terminus && chmod +x /usr/local/bin/terminus ``` ####Installing with Composer diff --git a/composer.json b/composer.json index ea61b0059..3c06f0a2c 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,6 @@ "minimum-stability": "beta", "require": { "php": ">=5.5.9", - "consolidation/robo": "dev-master", "guzzlehttp/guzzle": "^6.2", "katzgrau/klogger": "^1.2", "psy/psysh": "^0.7", diff --git a/composer.lock b/composer.lock index 89e43afaf..44f37de6d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,260 +4,9 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "2e23874d2e8ccaab25dcf96aa9213083", - "content-hash": "5c4b4afcabecfd0572cdc72f3354ab2e", + "hash": "5c10c98d7a681544da2eab5b5674f0a5", + "content-hash": "432f0e5d2bf1d9442f9a08119e6db945", "packages": [ - { - "name": "consolidation/annotated-command", - "version": "2.0.0-beta7", - "source": { - "type": "git", - "url": "https://github.com/consolidation/annotated-command.git", - "reference": "76a15b061124f8a57742854662a58a501133a84a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/consolidation/annotated-command/zipball/76a15b061124f8a57742854662a58a501133a84a", - "reference": "76a15b061124f8a57742854662a58a501133a84a", - "shasum": "" - }, - "require": { - "php": ">=5.4.0", - "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", - "psr/log": "~1.0", - "symfony/console": "~2.5|~3.0", - "symfony/event-dispatcher": "~2.5|~3.0", - "symfony/finder": "~2.5|~3.0" - }, - "require-dev": { - "consolidation/output-formatters": "^2.0.0-beta6", - "phpunit/phpunit": "4.*", - "satooshi/php-coveralls": "^1.0", - "squizlabs/php_codesniffer": "2.*" - }, - "suggest": { - "consolidation/output-formatters": "Format text by applying transformations provided by plug-in formatters." - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, - "autoload": { - "psr-4": { - "Consolidation\\AnnotatedCommand\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Greg Anderson", - "email": "greg.1.anderson@greenknowe.org" - } - ], - "description": "Initialize Symfony Console commands from annotated command class methods.", - "time": "2016-09-23 20:31:13" - }, - { - "name": "consolidation/log", - "version": "1.0.3", - "source": { - "type": "git", - "url": "https://github.com/consolidation/log.git", - "reference": "74ba81b4edc585616747cc5c5309ce56fec41254" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/consolidation/log/zipball/74ba81b4edc585616747cc5c5309ce56fec41254", - "reference": "74ba81b4edc585616747cc5c5309ce56fec41254", - "shasum": "" - }, - "require": { - "php": ">=5.5.0", - "psr/log": "~1.0", - "symfony/console": "~2.5|~3.0" - }, - "require-dev": { - "phpunit/phpunit": "4.*", - "squizlabs/php_codesniffer": "2.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Consolidation\\Log\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Greg Anderson", - "email": "greg.1.anderson@greenknowe.org" - } - ], - "description": "Improved Psr-3 / Psr\\Log logger based on Symfony Console components.", - "time": "2016-03-23 23:46:42" - }, - { - "name": "consolidation/output-formatters", - "version": "2.0.0-beta7", - "source": { - "type": "git", - "url": "https://github.com/consolidation/output-formatters.git", - "reference": "e38a631b56e31b996e621bf87a3e06c59bc29b8f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/e38a631b56e31b996e621bf87a3e06c59bc29b8f", - "reference": "e38a631b56e31b996e621bf87a3e06c59bc29b8f", - "shasum": "" - }, - "require": { - "php": ">=5.4.0", - "symfony/console": "~2.5|~3.0", - "symfony/finder": "~2.5|~3.0" - }, - "require-dev": { - "phpunit/phpunit": "4.*", - "satooshi/php-coveralls": "^1.0", - "squizlabs/php_codesniffer": "2.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, - "autoload": { - "psr-4": { - "Consolidation\\OutputFormatters\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Greg Anderson", - "email": "greg.1.anderson@greenknowe.org" - } - ], - "description": "Format text by applying transformations provided by plug-in formatters.", - "time": "2016-09-23 21:25:10" - }, - { - "name": "consolidation/robo", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/consolidation/Robo.git", - "reference": "217d626e92be64521020187a772ffafbd529d6e3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/consolidation/Robo/zipball/217d626e92be64521020187a772ffafbd529d6e3", - "reference": "217d626e92be64521020187a772ffafbd529d6e3", - "shasum": "" - }, - "require": { - "consolidation/annotated-command": "^2.0.0-beta3", - "consolidation/log": "~1", - "consolidation/output-formatters": "^2.0.0-beta3", - "league/container": "^2.2", - "php": ">=5.5.0", - "symfony/console": "~2.5|~3.0", - "symfony/event-dispatcher": "~2.5|~3.0", - "symfony/filesystem": "~2.5|~3.0", - "symfony/finder": "~2.5|~3.0", - "symfony/process": "~2.5|~3.0" - }, - "replace": { - "codegyre/robo": "< 1.0" - }, - "require-dev": { - "codeception/aspect-mock": "~1", - "codeception/base": "^2.1.5", - "codeception/verify": "^0.3.2", - "henrikbjorn/lurker": "~1", - "natxet/cssmin": "~3", - "patchwork/jsqueeze": "~2", - "pear/archive_tar": "~1", - "phpunit/php-code-coverage": "~4", - "satooshi/php-coveralls": "~1", - "squizlabs/php_codesniffer": "~2" - }, - "suggest": { - "henrikbjorn/lurker": "For monitoring filesystem changes in taskWatch", - "natxet/CssMin": "For minifying JS files in taskMinify", - "patchwork/jsqueeze": "For minifying JS files in taskMinify", - "pear/archive_tar": "Allows tar archives to be created and extracted in taskPack and taskExtract, respectively." - }, - "bin": [ - "robo" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Robo\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Davert", - "email": "davert.php@resend.cc" - } - ], - "description": "Modern task runner", - "time": "2016-09-19 19:48:01" - }, - { - "name": "container-interop/container-interop", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/container-interop/container-interop.git", - "reference": "fc08354828f8fd3245f77a66b9e23a6bca48297e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/container-interop/container-interop/zipball/fc08354828f8fd3245f77a66b9e23a6bca48297e", - "reference": "fc08354828f8fd3245f77a66b9e23a6bca48297e", - "shasum": "" - }, - "type": "library", - "autoload": { - "psr-4": { - "Interop\\Container\\": "src/Interop/Container/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Promoting the interoperability of container objects (DIC, SL, etc.)", - "time": "2014-12-30 15:22:37" - }, { "name": "dnoegel/php-xdg-base-dir", "version": "0.1", @@ -599,70 +348,6 @@ ], "time": "2015-11-04 22:43:22" }, - { - "name": "league/container", - "version": "2.2.0", - "source": { - "type": "git", - "url": "https://github.com/thephpleague/container.git", - "reference": "c0e7d947b690891f700dc4967ead7bdb3d6708c1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thephpleague/container/zipball/c0e7d947b690891f700dc4967ead7bdb3d6708c1", - "reference": "c0e7d947b690891f700dc4967ead7bdb3d6708c1", - "shasum": "" - }, - "require": { - "container-interop/container-interop": "^1.1", - "php": ">=5.4.0" - }, - "provide": { - "container-interop/container-interop-implementation": "^1.1" - }, - "replace": { - "orno/di": "~2.0" - }, - "require-dev": { - "phpunit/phpunit": "4.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev", - "dev-1.x": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "League\\Container\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Phil Bennett", - "email": "philipobenito@gmail.com", - "homepage": "http://www.philipobenito.com", - "role": "Developer" - } - ], - "description": "A fast and intuitive dependency injection container.", - "homepage": "https://github.com/thephpleague/container", - "keywords": [ - "container", - "dependency", - "di", - "injection", - "league", - "provider", - "service" - ], - "time": "2016-03-17 11:07:59" - }, { "name": "nikic/php-parser", "version": "v2.1.1", @@ -714,152 +399,6 @@ ], "time": "2016-09-16 12:04:44" }, - { - "name": "phpdocumentor/reflection-common", - "version": "1.0", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c", - "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c", - "shasum": "" - }, - "require": { - "php": ">=5.5" - }, - "require-dev": { - "phpunit/phpunit": "^4.6" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jaap van Otterdijk", - "email": "opensource@ijaap.nl" - } - ], - "description": "Common reflection classes used by phpdocumentor to reflect the code structure", - "homepage": "http://www.phpdoc.org", - "keywords": [ - "FQSEN", - "phpDocumentor", - "phpdoc", - "reflection", - "static analysis" - ], - "time": "2015-12-27 11:43:31" - }, - { - "name": "phpdocumentor/reflection-docblock", - "version": "3.1.0", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "9270140b940ff02e58ec577c237274e92cd40cdd" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/9270140b940ff02e58ec577c237274e92cd40cdd", - "reference": "9270140b940ff02e58ec577c237274e92cd40cdd", - "shasum": "" - }, - "require": { - "php": ">=5.5", - "phpdocumentor/reflection-common": "^1.0@dev", - "phpdocumentor/type-resolver": "^0.2.0", - "webmozart/assert": "^1.0" - }, - "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^4.4" - }, - "type": "library", - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - } - ], - "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2016-06-10 09:48:41" - }, - { - "name": "phpdocumentor/type-resolver", - "version": "0.2", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/b39c7a5b194f9ed7bd0dd345c751007a41862443", - "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443", - "shasum": "" - }, - "require": { - "php": ">=5.5", - "phpdocumentor/reflection-common": "^1.0" - }, - "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^5.2||^4.8.24" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - } - ], - "time": "2016-06-10 07:14:17" - }, { "name": "psr/http-message", "version": "1.0.1", @@ -1110,156 +649,47 @@ "idna", "ipv6", "iri", - "sockets" - ], - "time": "2014-05-18 04:59:02" - }, - { - "name": "symfony/console", - "version": "v2.8.11", - "source": { - "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "3d3e4fa5f0614c8e45220e5de80332322e33bd90" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/3d3e4fa5f0614c8e45220e5de80332322e33bd90", - "reference": "3d3e4fa5f0614c8e45220e5de80332322e33bd90", - "shasum": "" - }, - "require": { - "php": ">=5.3.9", - "symfony/polyfill-mbstring": "~1.0" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/event-dispatcher": "~2.1|~3.0.0", - "symfony/process": "~2.1|~3.0.0" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/process": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.8-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Console\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Console Component", - "homepage": "https://symfony.com", - "time": "2016-09-06 10:55:00" - }, - { - "name": "symfony/event-dispatcher", - "version": "v3.1.4", - "source": { - "type": "git", - "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "c0c00c80b3a69132c4e55c3e7db32b4a387615e5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/c0c00c80b3a69132c4e55c3e7db32b4a387615e5", - "reference": "c0c00c80b3a69132c4e55c3e7db32b4a387615e5", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~2.8|~3.0", - "symfony/dependency-injection": "~2.8|~3.0", - "symfony/expression-language": "~2.8|~3.0", - "symfony/stopwatch": "~2.8|~3.0" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\EventDispatcher\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony EventDispatcher Component", - "homepage": "https://symfony.com", - "time": "2016-07-19 10:45:57" + "sockets" + ], + "time": "2014-05-18 04:59:02" }, { - "name": "symfony/filesystem", - "version": "v3.1.4", + "name": "symfony/console", + "version": "v2.8.11", "source": { "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "bb29adceb552d202b6416ede373529338136e84f" + "url": "https://github.com/symfony/console.git", + "reference": "3d3e4fa5f0614c8e45220e5de80332322e33bd90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/bb29adceb552d202b6416ede373529338136e84f", - "reference": "bb29adceb552d202b6416ede373529338136e84f", + "url": "https://api.github.com/repos/symfony/console/zipball/3d3e4fa5f0614c8e45220e5de80332322e33bd90", + "reference": "3d3e4fa5f0614c8e45220e5de80332322e33bd90", "shasum": "" }, "require": { - "php": ">=5.5.9" + "php": ">=5.3.9", + "symfony/polyfill-mbstring": "~1.0" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/event-dispatcher": "~2.1|~3.0.0", + "symfony/process": "~2.1|~3.0.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/process": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "2.8-dev" } }, "autoload": { "psr-4": { - "Symfony\\Component\\Filesystem\\": "" + "Symfony\\Component\\Console\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -1279,9 +709,9 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Filesystem Component", + "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2016-07-20 05:44:26" + "time": "2016-09-06 10:55:00" }, { "name": "symfony/finder", @@ -1391,55 +821,6 @@ ], "time": "2016-05-18 14:26:46" }, - { - "name": "symfony/process", - "version": "v3.1.4", - "source": { - "type": "git", - "url": "https://github.com/symfony/process.git", - "reference": "e64e93041c80e77197ace5ab9385dedb5a143697" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/e64e93041c80e77197ace5ab9385dedb5a143697", - "reference": "e64e93041c80e77197ace5ab9385dedb5a143697", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Process\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Process Component", - "homepage": "https://symfony.com", - "time": "2016-08-16 14:58:24" - }, { "name": "symfony/var-dumper", "version": "v3.1.4", @@ -1663,56 +1044,6 @@ ], "time": "2016-09-01 10:05:43" }, - { - "name": "webmozart/assert", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/webmozart/assert.git", - "reference": "bb2d123231c095735130cc8f6d31385a44c7b308" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/bb2d123231c095735130cc8f6d31385a44c7b308", - "reference": "bb2d123231c095735130cc8f6d31385a44c7b308", - "shasum": "" - }, - "require": { - "php": "^5.3.3|^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Assert\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" - ], - "time": "2016-08-09 15:02:57" - }, { "name": "wp-cli/php-cli-tools", "version": "v0.11.1", @@ -1826,16 +1157,16 @@ }, { "name": "behat/behat", - "version": "v3.2.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/Behat/Behat.git", - "reference": "73b433326c87bbd8bc528ce57c29722405ffff5e" + "reference": "df7d9225e9ee37fdaa54273e3e0aecf2515bbe76" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Behat/Behat/zipball/73b433326c87bbd8bc528ce57c29722405ffff5e", - "reference": "73b433326c87bbd8bc528ce57c29722405ffff5e", + "url": "https://api.github.com/repos/Behat/Behat/zipball/df7d9225e9ee37fdaa54273e3e0aecf2515bbe76", + "reference": "df7d9225e9ee37fdaa54273e3e0aecf2515bbe76", "shasum": "" }, "require": { @@ -1903,7 +1234,7 @@ "symfony", "testing" ], - "time": "2016-09-20 07:23:29" + "time": "2016-09-25 09:40:39" }, { "name": "behat/gherkin", @@ -2140,47 +1471,177 @@ "description": "Guzzle is a PHP HTTP client library and framework for building RESTful web service clients", "homepage": "http://guzzlephp.org/", "keywords": [ - "client", - "curl", - "framework", - "http", - "http client", - "rest", - "web service" + "client", + "curl", + "framework", + "http", + "http client", + "rest", + "web service" + ], + "abandoned": "guzzlehttp/guzzle", + "time": "2014-01-28 22:29:15" + }, + { + "name": "php-vcr/php-vcr", + "version": "1.2.8", + "source": { + "type": "git", + "url": "https://github.com/php-vcr/php-vcr.git", + "reference": "0f1cb3e5537897b88b774fa2918d6c32d7d69139" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-vcr/php-vcr/zipball/0f1cb3e5537897b88b774fa2918d6c32d7d69139", + "reference": "0f1cb3e5537897b88b774fa2918d6c32d7d69139", + "shasum": "" + }, + "require": { + "beberlei/assert": "2.*", + "ext-curl": "*", + "symfony/event-dispatcher": "~2.1|3.*", + "symfony/yaml": "2.*|3.*" + }, + "require-dev": { + "lapistano/proxy-object": "dev-master", + "mikey179/vfsstream": "1.2.*", + "phpunit/phpunit": "3.*" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Adrian Philipp", + "email": "mail@adrian-philipp.com" + } + ], + "description": "Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.", + "time": "2016-01-25 13:30:31" + }, + { + "name": "php-vcr/phpunit-testlistener-vcr", + "version": "1.1.7", + "source": { + "type": "git", + "url": "https://github.com/php-vcr/phpunit-testlistener-vcr.git", + "reference": "e29c11dcf2a215ff51f0ae5cdf56dfd3cdd30c11" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-vcr/phpunit-testlistener-vcr/zipball/e29c11dcf2a215ff51f0ae5cdf56dfd3cdd30c11", + "reference": "e29c11dcf2a215ff51f0ae5cdf56dfd3cdd30c11", + "shasum": "" + }, + "require": { + "php-vcr/php-vcr": "*" + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Adrian Philipp", + "email": "mail@adrian-philipp.com" + } + ], + "description": "Integrates PHPUnit with PHP-VCR.", + "time": "2016-01-12 21:15:47" + }, + { + "name": "phpdocumentor/reflection-common", + "version": "1.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "phpunit/phpunit": "^4.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" ], - "abandoned": "guzzlehttp/guzzle", - "time": "2014-01-28 22:29:15" + "time": "2015-12-27 11:43:31" }, { - "name": "php-vcr/php-vcr", - "version": "1.2.8", + "name": "phpdocumentor/reflection-docblock", + "version": "3.1.0", "source": { "type": "git", - "url": "https://github.com/php-vcr/php-vcr.git", - "reference": "0f1cb3e5537897b88b774fa2918d6c32d7d69139" + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "9270140b940ff02e58ec577c237274e92cd40cdd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-vcr/php-vcr/zipball/0f1cb3e5537897b88b774fa2918d6c32d7d69139", - "reference": "0f1cb3e5537897b88b774fa2918d6c32d7d69139", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/9270140b940ff02e58ec577c237274e92cd40cdd", + "reference": "9270140b940ff02e58ec577c237274e92cd40cdd", "shasum": "" }, "require": { - "beberlei/assert": "2.*", - "ext-curl": "*", - "symfony/event-dispatcher": "~2.1|3.*", - "symfony/yaml": "2.*|3.*" + "php": ">=5.5", + "phpdocumentor/reflection-common": "^1.0@dev", + "phpdocumentor/type-resolver": "^0.2.0", + "webmozart/assert": "^1.0" }, "require-dev": { - "lapistano/proxy-object": "dev-master", - "mikey179/vfsstream": "1.2.*", - "phpunit/phpunit": "3.*" + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^4.4" }, "type": "library", "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src/" + ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2188,43 +1649,59 @@ ], "authors": [ { - "name": "Adrian Philipp", - "email": "mail@adrian-philipp.com" + "name": "Mike van Riel", + "email": "me@mikevanriel.com" } ], - "description": "Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.", - "time": "2016-01-25 13:30:31" + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "time": "2016-06-10 09:48:41" }, { - "name": "php-vcr/phpunit-testlistener-vcr", - "version": "1.1.7", + "name": "phpdocumentor/type-resolver", + "version": "0.2", "source": { "type": "git", - "url": "https://github.com/php-vcr/phpunit-testlistener-vcr.git", - "reference": "e29c11dcf2a215ff51f0ae5cdf56dfd3cdd30c11" + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-vcr/phpunit-testlistener-vcr/zipball/e29c11dcf2a215ff51f0ae5cdf56dfd3cdd30c11", - "reference": "e29c11dcf2a215ff51f0ae5cdf56dfd3cdd30c11", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/b39c7a5b194f9ed7bd0dd345c751007a41862443", + "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443", "shasum": "" }, "require": { - "php-vcr/php-vcr": "*" + "php": ">=5.5", + "phpdocumentor/reflection-common": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^5.2||^4.8.24" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src/" + ] + } + }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ { - "name": "Adrian Philipp", - "email": "mail@adrian-philipp.com" + "name": "Mike van Riel", + "email": "me@mikevanriel.com" } ], - "description": "Integrates PHPUnit with PHP-VCR.", - "time": "2016-01-12 21:15:47" + "time": "2016-06-10 07:14:17" }, { "name": "phpspec/prophecy", @@ -3478,6 +2955,115 @@ "homepage": "https://symfony.com", "time": "2016-08-23 13:39:15" }, + { + "name": "symfony/event-dispatcher", + "version": "v3.1.4", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "c0c00c80b3a69132c4e55c3e7db32b4a387615e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/c0c00c80b3a69132c4e55c3e7db32b4a387615e5", + "reference": "c0c00c80b3a69132c4e55c3e7db32b4a387615e5", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~2.8|~3.0", + "symfony/dependency-injection": "~2.8|~3.0", + "symfony/expression-language": "~2.8|~3.0", + "symfony/stopwatch": "~2.8|~3.0" + }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\EventDispatcher\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony EventDispatcher Component", + "homepage": "https://symfony.com", + "time": "2016-07-19 10:45:57" + }, + { + "name": "symfony/filesystem", + "version": "v3.1.4", + "source": { + "type": "git", + "url": "https://github.com/symfony/filesystem.git", + "reference": "bb29adceb552d202b6416ede373529338136e84f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/bb29adceb552d202b6416ede373529338136e84f", + "reference": "bb29adceb552d202b6416ede373529338136e84f", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Filesystem\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Filesystem Component", + "homepage": "https://symfony.com", + "time": "2016-07-20 05:44:26" + }, { "name": "symfony/stopwatch", "version": "v3.1.4", @@ -3630,12 +3216,61 @@ "description": "The classes contained within this repository extend the standard DOM to use exceptions at all occasions of errors instead of PHP warnings or notices. They also add various custom methods and shortcuts for convenience and to simplify the usage of DOM.", "homepage": "https://github.com/theseer/fDOMDocument", "time": "2015-05-27 22:58:02" + }, + { + "name": "webmozart/assert", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/webmozart/assert.git", + "reference": "bb2d123231c095735130cc8f6d31385a44c7b308" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/assert/zipball/bb2d123231c095735130cc8f6d31385a44c7b308", + "reference": "bb2d123231c095735130cc8f6d31385a44c7b308", + "shasum": "" + }, + "require": { + "php": "^5.3.3|^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.6", + "sebastian/version": "^1.0.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "time": "2016-08-09 15:02:57" } ], "aliases": [], "minimum-stability": "beta", "stability-flags": { - "consolidation/robo": 20, "php-vcr/phpunit-testlistener-vcr": 0 }, "prefer-stable": false, diff --git a/config/constants.yml b/config/constants.yml index d3859289a..1548d7dd8 100644 --- a/config/constants.yml +++ b/config/constants.yml @@ -7,7 +7,7 @@ --- # App -TERMINUS_VERSION: '0.13.1' +TERMINUS_VERSION: '0.13.2' # Connectivity TERMINUS_HOST: 'terminus.pantheon.io' diff --git a/docs/Helpers/InputHelper.md b/docs/Helpers/InputHelper.md index 0ba3c415e..ff59939a6 100644 --- a/docs/Helpers/InputHelper.md +++ b/docs/Helpers/InputHelper.md @@ -36,6 +36,23 @@ --- +### confirm +##### Description: + Asks for confirmation before running a destructive operation. + +##### Parameters: + [array] $arg_options Elements as follow: + -string question Prompt text + -array params Elements to interpolate into the prompt text + -array args Arguments given via param + -string key Args key to search for + -bool exit If true, exit when turned down + +##### Return: + [bool] True if prompt is accepted + +--- + ### day ##### Description: Facilitates the selection of a day of the week diff --git a/docs/Models/Environment.md b/docs/Models/Environment.md index 5babaa7bf..9e6dd7125 100644 --- a/docs/Models/Environment.md +++ b/docs/Models/Environment.md @@ -10,6 +10,28 @@ --- +### applyUpstreamUpdates +##### Description: + Apply upstream updates + +##### Parameters: + [boolean] $updatedb True to run update.php + [boolean] $xoption True to automatically resolve merge conflicts + +##### Return: + [Workflow] + +--- + +### cacheserverConnectionInfo +##### Description: + Gives cacheserver connection info for this environment + +##### Return: + [array] + +--- + ### changeConnectionMode ##### Description: Changes connection mode @@ -95,6 +117,15 @@ --- +### databaseConnectionInfo +##### Description: + Gives database connection info for this environment + +##### Return: + [array] + +--- + ### delete ##### Description: Delete a multidev environment @@ -165,6 +196,15 @@ --- +### gitConnectionInfo +##### Description: + Gives Git connection info for this environment + +##### Return: + [array] + +--- + ### hasDeployableCode ##### Description: Decides if the environment has changes to deploy @@ -309,6 +349,20 @@ --- +### sendCommandViaSsh +##### Description: + Sends a command to an environment via SSH. + +##### Parameters: + [string] $command The command to be run on the platform + +##### Return: + [string[]] $response Elements as follow: + -string output The output from the command run + -string exit_code The status code returned by the command run + +--- + ### setHttpsCertificate ##### Description: Add/replace an HTTPS certificate on the environment @@ -324,6 +378,15 @@ --- +### sftpConnectionInfo +##### Description: + Gives SFTP connection info for this environment + +##### Return: + [array] + +--- + ### unlock ##### Description: Disable HTTP Basic Access authentication on the web environment diff --git a/docs/Models/MachineToken.md b/docs/Models/MachineToken.md index 06fbdc765..34e6a0340 100644 --- a/docs/Models/MachineToken.md +++ b/docs/Models/MachineToken.md @@ -15,7 +15,10 @@ Deletes machine token ##### Return: - [array] + [void] + +##### Throws: + \Terminus\Exceptions\TerminusException --- diff --git a/docs/Models/Site.md b/docs/Models/Site.md index 2910e5869..0b21d9700 100644 --- a/docs/Models/Site.md +++ b/docs/Models/Site.md @@ -35,20 +35,6 @@ --- -### applyUpstreamUpdates -##### Description: - Apply upstream updates - -##### Parameters: - [string] $env_id Environment name - [bool] $updatedb True to run update.php - [bool] $xoption True to automatically resolve merge conflicts - -##### Return: - [Workflow] - ---- - ### attributes ##### Description: Returns an array of attributes @@ -266,15 +252,6 @@ --- -### getUpstreamUpdates -##### Description: - Get upstream updates - -##### Return: - [\stdClass] - ---- - ### hasTag ##### Description: Checks to see whether the site has a tag associated with the given org @@ -288,20 +265,6 @@ --- -### info -##### Description: - Load site info - -##### Parameters: - [string] $key Set to retrieve a specific attribute as named - -##### Return: - [array|null|mixed] - -If $key is supplied, return named bit of info, or null if not found. - -If no $key supplied, return entire info array. - ---- - ### newRelic ##### Description: Retrieve New Relic Info @@ -345,6 +308,15 @@ --- +### serialize +##### Description: + Formats the Site object into an associative array for output + +##### Return: + [array] Associative array of data for output + +--- + ### setOwner ##### Description: Sets the site owner to the indicated team member diff --git a/docs/Models/Upstream.md b/docs/Models/Upstream.md new file mode 100644 index 000000000..cecd25e9b --- /dev/null +++ b/docs/Models/Upstream.md @@ -0,0 +1,60 @@ +# Terminus\Models\Upstream + +### __construct +##### Description: + Object constructor + +##### Parameters: + [object] $attributes Attributes of this model + [array] $options Options with which to configure this model + +--- + +### fetch +##### Description: + Fetches this object from Pantheon + +##### Parameters: + [array] $args Params to pass to request + +##### Return: + [TerminusModel] $this + +--- + +### getStatus +##### Description: + Returns the status of this site's upstream updates + +##### Return: + [string] $status 'outdated' or 'current' + +--- + +### getUpdates +##### Description: + Retrives upstream updates + +##### Return: + [\stdClass] + +--- + +### hasUpdates +##### Description: + Determines whether there are any updates to be applied. + +##### Return: + [boolean] + +--- + +### serialize +##### Description: + Formats the Upstream object into an associative array for output + +##### Return: + [array] Associative array of data for output + +--- + diff --git a/docs/Models/Workflow.md b/docs/Models/Workflow.md index 6bbd2815a..da74eecf2 100644 --- a/docs/Models/Workflow.md +++ b/docs/Models/Workflow.md @@ -79,3 +79,28 @@ --- +### checkProgress +##### Description: + Check on the progress of a workflow. This can be called repeatedly and will apply a polling + period to prevent flooding the API with requests. + +##### Return: + [bool] Whether the workflow is finished or not + +##### Throws: + \Terminus\Exceptions\TerminusException + +--- + +### getMessage +##### Description: + Get the success message of a workflow or throw an exception of the workflow failed. + +##### Return: + [string] The message to output to the user + +##### Throws: + \Terminus\Exceptions\TerminusException + +--- +