Hello community, here is the log from the commit of package platformsh-cli for openSUSE:Factory checked in at 2017-05-22 10:47:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/platformsh-cli (Old) and /work/SRC/openSUSE:Factory/.platformsh-cli.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "platformsh-cli" Mon May 22 10:47:58 2017 rev:12 rq:496879 version:3.16.2 Changes: -------- --- /work/SRC/openSUSE:Factory/platformsh-cli/platformsh-cli.changes 2017-05-17 10:54:26.498089142 +0200 +++ /work/SRC/openSUSE:Factory/.platformsh-cli.new/platformsh-cli.changes 2017-05-22 10:48:58.936239266 +0200 @@ -1,0 +2,13 @@ +Fri May 19 23:07:40 UTC 2017 - jimmy@boombatower.com + +- Update to version 3.16.2: + * Note how to run the CLI from source + * Note how to run the CLI from source + * Correct comment in ProjectGetCommand + * Fix: certificate:delete command missing --no-wait option + * Add --blobs to pg_dump + * Installer: ignore errors in source/dot command in shell config + * Better English in installer + * Release v3.16.2 + +------------------------------------------------------------------- Old: ---- platformsh-cli-3.16.1.tar.xz New: ---- platformsh-cli-3.16.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ platformsh-cli.spec ++++++ --- /var/tmp/diff_new_pack.FBdogS/_old 2017-05-22 10:48:59.544153584 +0200 +++ /var/tmp/diff_new_pack.FBdogS/_new 2017-05-22 10:48:59.548153020 +0200 @@ -17,7 +17,7 @@ Name: platformsh-cli -Version: 3.16.1 +Version: 3.16.2 Release: 0 Summary: Tool for managing Platform.sh services from the command line # See licenses.txt for dependency licenses. ++++++ _service ++++++ --- /var/tmp/diff_new_pack.FBdogS/_old 2017-05-22 10:48:59.584147947 +0200 +++ /var/tmp/diff_new_pack.FBdogS/_new 2017-05-22 10:48:59.584147947 +0200 @@ -2,7 +2,7 @@ <service name="tar_scm" mode="disabled"> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> - <param name="revision">refs/tags/v3.16.1</param> + <param name="revision">refs/tags/v3.16.2</param> <param name="url">git://github.com/platformsh/platformsh-cli.git</param> <param name="scm">git</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.FBdogS/_old 2017-05-22 10:48:59.612144001 +0200 +++ /var/tmp/diff_new_pack.FBdogS/_new 2017-05-22 10:48:59.612144001 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/platformsh/platformsh-cli.git</param> - <param name="changesrevision">388e33ded6b0f5c74411bf099c50247b5ed47772</param> + <param name="changesrevision">74265f2f14e1f2355371c9ad2c9117d01c28fe24</param> </service> </servicedata> ++++++ platformsh-cli-3.16.1.tar.xz -> platformsh-cli-3.16.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platformsh-cli-3.16.1/CONTRIBUTING.md new/platformsh-cli-3.16.2/CONTRIBUTING.md --- old/platformsh-cli-3.16.1/CONTRIBUTING.md 2017-05-12 10:13:12.000000000 +0200 +++ new/platformsh-cli-3.16.2/CONTRIBUTING.md 2017-05-19 23:57:49.000000000 +0200 @@ -12,6 +12,12 @@ composer install ``` +Run the CLI from the local source with: + +```sh +./bin/platform +``` + Run tests with: ```sh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platformsh-cli-3.16.1/config.yaml new/platformsh-cli-3.16.2/config.yaml --- old/platformsh-cli-3.16.1/config.yaml 2017-05-12 10:13:12.000000000 +0200 +++ new/platformsh-cli-3.16.2/config.yaml 2017-05-19 23:57:49.000000000 +0200 @@ -1,7 +1,7 @@ # Metadata about the CLI application itself. application: name: 'Platform.sh CLI' - version: '3.16.1' + version: '3.16.2' executable: 'platform' package_name: 'platformsh/cli' installer_url: 'https://platform.sh/cli/installer' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platformsh-cli-3.16.1/dist/installer.php new/platformsh-cli-3.16.2/dist/installer.php --- old/platformsh-cli-3.16.1/dist/installer.php 2017-05-12 10:13:12.000000000 +0200 +++ new/platformsh-cli-3.16.2/dist/installer.php 2017-05-19 23:57:49.000000000 +0200 @@ -257,9 +257,9 @@ if (strpos($currentShellConfig, $configDir . "/bin") === false) { $currentShellConfig .= PHP_EOL . PHP_EOL - . "# Automatically added by " . CLI_NAME . " installer" . PHP_EOL + . "# Automatically added by the " . CLI_NAME . " installer" . PHP_EOL . "export PATH="$configDir/bin:$PATH"" . PHP_EOL - . '. ' . escapeshellarg($rcDestination) . " 2>/dev/null" . PHP_EOL; + . '. ' . escapeshellarg($rcDestination) . " 2>/dev/null || true" . PHP_EOL; if (!file_put_contents($shellConfigFile, $currentShellConfig)) { $configured = false; output(" Failed to configure the shell automatically.", 'warning'); @@ -283,7 +283,7 @@ } else { output(PHP_EOL . "Add this to your shell configuration file:", 'info'); output(' export PATH="' . $home . '/' . CLI_CONFIG_DIR . '/bin:$PATH"'); - output(' . ' . escapeshellarg($rcDestination) . ' 2>/dev/null'); + output(' . ' . escapeshellarg($rcDestination) . ' 2>/dev/null || true'); output(PHP_EOL . "Start a new shell, and then you can run '" . CLI_EXECUTABLE . "'", 'info'); } } else { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platformsh-cli-3.16.1/src/Command/Certificate/CertificateDeleteCommand.php new/platformsh-cli-3.16.2/src/Command/Certificate/CertificateDeleteCommand.php --- old/platformsh-cli-3.16.1/src/Command/Certificate/CertificateDeleteCommand.php 2017-05-12 10:13:12.000000000 +0200 +++ new/platformsh-cli-3.16.2/src/Command/Certificate/CertificateDeleteCommand.php 2017-05-19 23:57:49.000000000 +0200 @@ -19,6 +19,7 @@ ->setDescription('Delete a certificate from the project') ->addArgument('id', InputArgument::REQUIRED, 'The certificate ID (or the start of it)'); $this->addProjectOption(); + $this->addNoWaitOption(); } /** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platformsh-cli-3.16.1/src/Command/Db/DbDumpCommand.php new/platformsh-cli-3.16.2/src/Command/Db/DbDumpCommand.php --- old/platformsh-cli-3.16.1/src/Command/Db/DbDumpCommand.php 2017-05-12 10:13:12.000000000 +0200 +++ new/platformsh-cli-3.16.2/src/Command/Db/DbDumpCommand.php 2017-05-19 23:57:49.000000000 +0200 @@ -134,7 +134,7 @@ switch ($database['scheme']) { case 'pgsql': - $dumpCommand = 'pg_dump --clean ' . $relationships->getSqlCommandArgs('pg_dump', $database); + $dumpCommand = 'pg_dump --clean --blobs ' . $relationships->getSqlCommandArgs('pg_dump', $database); if ($schemaOnly) { $dumpCommand .= ' --schema-only'; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platformsh-cli-3.16.1/src/Command/Project/ProjectGetCommand.php new/platformsh-cli-3.16.2/src/Command/Project/ProjectGetCommand.php --- old/platformsh-cli-3.16.1/src/Command/Project/ProjectGetCommand.php 2017-05-12 10:13:12.000000000 +0200 +++ new/platformsh-cli-3.16.2/src/Command/Project/ProjectGetCommand.php 2017-05-19 23:57:49.000000000 +0200 @@ -71,8 +71,8 @@ /** @var \Platformsh\Cli\Local\LocalProject $localProject */ $localProject = $this->getService('local.project'); - // If the remote repository exists, then locally we need to create the - // folder, run git init, and attach the remote. + // If the remote repository doesn't exist, then locally we need to + // create the folder, run git init, and attach the remote. if (!$repoExists) { $this->stdErr->writeln('Creating project directory: <info>' . $projectRootRelative . '</info>'); if (mkdir($projectRoot) === false) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platformsh-cli-3.16.1/src/Command/Self/SelfInstallCommand.php new/platformsh-cli-3.16.2/src/Command/Self/SelfInstallCommand.php --- old/platformsh-cli-3.16.1/src/Command/Self/SelfInstallCommand.php 2017-05-12 10:13:12.000000000 +0200 +++ new/platformsh-cli-3.16.2/src/Command/Self/SelfInstallCommand.php 2017-05-19 23:57:49.000000000 +0200 @@ -55,7 +55,7 @@ } $suggestedShellConfig = "export PATH="$configDir/bin:$PATH"" . PHP_EOL - . '. ' . escapeshellarg($shellConfigDestination) . " 2>/dev/null"; + . '. ' . escapeshellarg($shellConfigDestination) . " 2>/dev/null || true"; /** @var \Platformsh\Cli\Service\QuestionHelper $questionHelper */ $questionHelper = $this->getService('question_helper'); ++++++ platformsh-cli-vendor.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/autoload.php new/vendor/autoload.php --- old/vendor/autoload.php 2017-05-15 23:07:40.647811086 +0200 +++ new/vendor/autoload.php 2017-05-20 01:07:43.128812069 +0200 @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInitaaa75d9b983169b74b3a2cb773c4dcdb::getLoader(); +return ComposerAutoloaderInit828ef1533433a8420b9a137d399ff7b3::getLoader(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/composer/autoload_real.php new/vendor/composer/autoload_real.php --- old/vendor/composer/autoload_real.php 2017-05-15 23:07:40.647811086 +0200 +++ new/vendor/composer/autoload_real.php 2017-05-20 01:07:43.128812069 +0200 @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInitaaa75d9b983169b74b3a2cb773c4dcdb +class ComposerAutoloaderInit828ef1533433a8420b9a137d399ff7b3 { private static $loader; @@ -19,15 +19,15 @@ return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInitaaa75d9b983169b74b3a2cb773c4dcdb', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit828ef1533433a8420b9a137d399ff7b3', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInitaaa75d9b983169b74b3a2cb773c4dcdb', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit828ef1533433a8420b9a137d399ff7b3', 'loadClassLoader')); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); if ($useStaticLoader) { require_once __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInitaaa75d9b983169b74b3a2cb773c4dcdb::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit828ef1533433a8420b9a137d399ff7b3::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { @@ -48,19 +48,19 @@ $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInitaaa75d9b983169b74b3a2cb773c4dcdb::$files; + $includeFiles = Composer\Autoload\ComposerStaticInit828ef1533433a8420b9a137d399ff7b3::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequireaaa75d9b983169b74b3a2cb773c4dcdb($fileIdentifier, $file); + composerRequire828ef1533433a8420b9a137d399ff7b3($fileIdentifier, $file); } return $loader; } } -function composerRequireaaa75d9b983169b74b3a2cb773c4dcdb($fileIdentifier, $file) +function composerRequire828ef1533433a8420b9a137d399ff7b3($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { require $file; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/composer/autoload_static.php new/vendor/composer/autoload_static.php --- old/vendor/composer/autoload_static.php 2017-05-15 23:07:40.647811086 +0200 +++ new/vendor/composer/autoload_static.php 2017-05-20 01:07:43.128812069 +0200 @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInitaaa75d9b983169b74b3a2cb773c4dcdb +class ComposerStaticInit828ef1533433a8420b9a137d399ff7b3 { public static $files = array ( '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', @@ -183,9 +183,9 @@ public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInitaaa75d9b983169b74b3a2cb773c4dcdb::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInitaaa75d9b983169b74b3a2cb773c4dcdb::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInitaaa75d9b983169b74b3a2cb773c4dcdb::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit828ef1533433a8420b9a137d399ff7b3::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit828ef1533433a8420b9a137d399ff7b3::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit828ef1533433a8420b9a137d399ff7b3::$classMap; }, null, ClassLoader::class); }