commit platformsh-cli for openSUSE:Factory
Hello community, here is the log from the commit of package platformsh-cli for openSUSE:Factory checked in at 2019-05-20 10:29:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/platformsh-cli (Old) and /work/SRC/openSUSE:Factory/.platformsh-cli.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "platformsh-cli" Mon May 20 10:29:21 2019 rev:72 rq:703983 version:3.40.16 Changes: -------- --- /work/SRC/openSUSE:Factory/platformsh-cli/platformsh-cli.changes 2019-05-10 09:19:44.848460811 +0200 +++ /work/SRC/openSUSE:Factory/.platformsh-cli.new.5148/platformsh-cli.changes 2019-05-20 10:29:35.653892459 +0200 @@ -1,0 +2,9 @@ +Sun May 19 00:24:07 UTC 2019 - jimmy@boombatower.com + +- Update to version 3.40.16: + * Release v3.40.16 + * Fix python builds + * Update client to use the new estimation API + * Enable mysqldump/pg_dump verbose mode when db:dump command is called with -vv or -vvv + +------------------------------------------------------------------- Old: ---- platformsh-cli-3.40.15.tar.xz New: ---- platformsh-cli-3.40.16.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ platformsh-cli.spec ++++++ --- /var/tmp/diff_new_pack.3nOb1t/_old 2019-05-20 10:29:36.653892127 +0200 +++ /var/tmp/diff_new_pack.3nOb1t/_new 2019-05-20 10:29:36.657892126 +0200 @@ -17,7 +17,7 @@ Name: platformsh-cli -Version: 3.40.15 +Version: 3.40.16 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.3nOb1t/_old 2019-05-20 10:29:36.689892115 +0200 +++ /var/tmp/diff_new_pack.3nOb1t/_new 2019-05-20 10:29:36.689892115 +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.40.15</param> + <param name="revision">refs/tags/v3.40.16</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.3nOb1t/_old 2019-05-20 10:29:36.705892110 +0200 +++ /var/tmp/diff_new_pack.3nOb1t/_new 2019-05-20 10:29:36.705892110 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/platformsh/platformsh-cli.git</param> - <param name="changesrevision">c16978e8bcc464ffa5e0cfc308aa1fab2b6f2cd5</param> + <param name="changesrevision">b4e39ae732091f6d18100931dcc40173b8d8f211</param> </service> </servicedata> ++++++ licenses.txt ++++++ --- /var/tmp/diff_new_pack.3nOb1t/_old 2019-05-20 10:29:36.737892100 +0200 +++ /var/tmp/diff_new_pack.3nOb1t/_new 2019-05-20 10:29:36.737892100 +0200 @@ -17,7 +17,7 @@ padraic/humbug_get_contents 1.1.2 BSD-3-Clause padraic/phar-updater v1.0.6 BSD-3-Clause paragonie/random_compat v2.0.18 MIT -platformsh/client v0.24.0 MIT +platformsh/client v0.24.1 MIT platformsh/console-form v0.0.23 MIT psr/container 1.0.0 MIT psr/log 1.1.0 MIT ++++++ platformsh-cli-3.40.15.tar.xz -> platformsh-cli-3.40.16.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platformsh-cli-3.40.15/composer.lock new/platformsh-cli-3.40.16/composer.lock --- old/platformsh-cli-3.40.15/composer.lock 2019-05-09 13:52:23.000000000 +0200 +++ new/platformsh-cli-3.40.16/composer.lock 2019-05-18 21:59:27.000000000 +0200 @@ -713,16 +713,16 @@ }, { "name": "platformsh/client", - "version": "v0.24.0", + "version": "v0.24.1", "source": { "type": "git", "url": "https://github.com/platformsh/platformsh-client-php.git", - "reference": "7905b8e84be3994714d765842c99f25397a225c9" + "reference": "f17027d031bf8a05dddf6dd133d835e055837f93" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/platformsh/platformsh-client-php/zipball/7905b8...", - "reference": "7905b8e84be3994714d765842c99f25397a225c9", + "url": "https://api.github.com/repos/platformsh/platformsh-client-php/zipball/f17027...", + "reference": "f17027d031bf8a05dddf6dd133d835e055837f93", "shasum": "" }, "require": { @@ -759,7 +759,7 @@ } ], "description": "Platform.sh API client", - "time": "2019-04-26T11:57:59+00:00" + "time": "2019-05-12T13:50:12+00:00" }, { "name": "platformsh/console-form", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platformsh-cli-3.40.15/dist/manifest.json new/platformsh-cli-3.40.16/dist/manifest.json --- old/platformsh-cli-3.40.15/dist/manifest.json 2019-05-09 13:52:23.000000000 +0200 +++ new/platformsh-cli-3.40.16/dist/manifest.json 2019-05-18 21:59:27.000000000 +0200 @@ -1,10 +1,10 @@ [ { "name": "platform.phar", - "sha1": "f4c7595cc5c1ba92deb33118f1e59d1af8f39d04", - "sha256": "25eb97de2d06550b5b86b1f0f0d67cb9751fa0e10f12e97f2ed3970595389c60", - "url": "https://github.com/platformsh/platformsh-cli/releases/download/v3.40.15/plat...", - "version": "3.40.15", + "sha1": "39a614305bff7b91516df58c463f2fc9c7936bb7", + "sha256": "08af6ff280b6d7a8a1e0397752ca9816a980b07c16f072ddad074c928b04ea66", + "url": "https://github.com/platformsh/platformsh-cli/releases/download/v3.40.16/plat...", + "version": "3.40.16", "php": { "min": "5.5.9" }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platformsh-cli-3.40.15/src/Command/Db/DbDumpCommand.php new/platformsh-cli-3.40.16/src/Command/Db/DbDumpCommand.php --- old/platformsh-cli-3.40.15/src/Command/Db/DbDumpCommand.php 2019-05-09 13:52:23.000000000 +0200 +++ new/platformsh-cli-3.40.16/src/Command/Db/DbDumpCommand.php 2019-05-18 21:59:27.000000000 +0200 @@ -193,6 +193,9 @@ foreach ($excludedTables as $table) { $dumpCommand .= ' ' . OsUtil::escapePosixShellArg('--exclude-table=' . $table); } + if ($output->isVeryVerbose()) { + $dumpCommand .= ' --verbose'; + } break; default: @@ -210,6 +213,9 @@ return OsUtil::escapePosixShellArg($table); }, $includedTables)); } + if ($output->isVeryVerbose()) { + $dumpCommand .= ' --verbose'; + } break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/platformsh-cli-3.40.15/src/Local/DependencyInstaller.php new/platformsh-cli-3.40.16/src/Local/DependencyInstaller.php --- old/platformsh-cli-3.40.15/src/Local/DependencyInstaller.php 2019-05-09 13:52:23.000000000 +0200 +++ new/platformsh-cli-3.40.16/src/Local/DependencyInstaller.php 2019-05-18 21:59:27.000000000 +0200 @@ -108,7 +108,7 @@ protected function getManager($name) { // Python has 'python', 'python2', and 'python3'. - if (strpos('python', $name) === 0) { + if (strpos($name, 'python') === 0) { return new DependencyManager\Pip($this->shell); } ++++++ 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 2019-05-09 15:00:28.774224777 +0200 +++ new/vendor/autoload.php 2019-05-19 02:24:11.342336538 +0200 @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit74752611ded6dfbfbc892ec3eb8a6e41::getLoader(); +return ComposerAutoloaderInitdb2f46bb33df99748cd6cbfa2964d8e6::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 2019-05-09 15:00:28.774224777 +0200 +++ new/vendor/composer/autoload_real.php 2019-05-19 02:24:11.342336538 +0200 @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit74752611ded6dfbfbc892ec3eb8a6e41 +class ComposerAutoloaderInitdb2f46bb33df99748cd6cbfa2964d8e6 { private static $loader; @@ -19,15 +19,15 @@ return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit74752611ded6dfbfbc892ec3eb8a6e41', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInitdb2f46bb33df99748cd6cbfa2964d8e6', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInit74752611ded6dfbfbc892ec3eb8a6e41', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInitdb2f46bb33df99748cd6cbfa2964d8e6', '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\ComposerStaticInit74752611ded6dfbfbc892ec3eb8a6e41::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInitdb2f46bb33df99748cd6cbfa2964d8e6::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\ComposerStaticInit74752611ded6dfbfbc892ec3eb8a6e41::$files; + $includeFiles = Composer\Autoload\ComposerStaticInitdb2f46bb33df99748cd6cbfa2964d8e6::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire74752611ded6dfbfbc892ec3eb8a6e41($fileIdentifier, $file); + composerRequiredb2f46bb33df99748cd6cbfa2964d8e6($fileIdentifier, $file); } return $loader; } } -function composerRequire74752611ded6dfbfbc892ec3eb8a6e41($fileIdentifier, $file) +function composerRequiredb2f46bb33df99748cd6cbfa2964d8e6($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 2019-05-09 15:00:28.774224777 +0200 +++ new/vendor/composer/autoload_static.php 2019-05-19 02:24:11.342336538 +0200 @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit74752611ded6dfbfbc892ec3eb8a6e41 +class ComposerStaticInitdb2f46bb33df99748cd6cbfa2964d8e6 { public static $files = array ( '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', @@ -201,9 +201,9 @@ public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit74752611ded6dfbfbc892ec3eb8a6e41::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit74752611ded6dfbfbc892ec3eb8a6e41::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit74752611ded6dfbfbc892ec3eb8a6e41::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInitdb2f46bb33df99748cd6cbfa2964d8e6::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInitdb2f46bb33df99748cd6cbfa2964d8e6::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInitdb2f46bb33df99748cd6cbfa2964d8e6::$classMap; }, null, ClassLoader::class); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/composer/installed.json new/vendor/composer/installed.json --- old/vendor/composer/installed.json 2019-05-09 15:00:28.342220872 +0200 +++ new/vendor/composer/installed.json 2019-05-19 02:24:10.934333441 +0200 @@ -732,17 +732,17 @@ }, { "name": "platformsh/client", - "version": "v0.24.0", - "version_normalized": "0.24.0.0", + "version": "v0.24.1", + "version_normalized": "0.24.1.0", "source": { "type": "git", "url": "https://github.com/platformsh/platformsh-client-php.git", - "reference": "7905b8e84be3994714d765842c99f25397a225c9" + "reference": "f17027d031bf8a05dddf6dd133d835e055837f93" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/platformsh/platformsh-client-php/zipball/7905b8...", - "reference": "7905b8e84be3994714d765842c99f25397a225c9", + "url": "https://api.github.com/repos/platformsh/platformsh-client-php/zipball/f17027...", + "reference": "f17027d031bf8a05dddf6dd133d835e055837f93", "shasum": "" }, "require": { @@ -755,7 +755,7 @@ "require-dev": { "phpunit/phpunit": "~4.5" }, - "time": "2019-04-26T11:57:59+00:00", + "time": "2019-05-12T13:50:12+00:00", "type": "library", "extra": { "patches": { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/platformsh/client/src/PlatformClient.php new/vendor/platformsh/client/src/PlatformClient.php --- old/vendor/platformsh/client/src/PlatformClient.php 2019-04-26 13:57:59.000000000 +0200 +++ new/vendor/platformsh/client/src/PlatformClient.php 2019-05-12 15:50:12.000000000 +0200 @@ -283,14 +283,15 @@ /** * Estimate the cost of a subscription. * - * @param string $plan The plan (see Subscription::$availablePlans). - * @param int $storage The allowed storage per environment (in GiB). - * @param int $environments The number of environments. - * @param int $users The number of users. + * @param string $plan The plan machine name. + * @param int $storage The allowed storage per environment (GiB). + * @param int $environments The number of environments. + * @param int $users The number of users. + * @param string|null $countryCode A two-letter country code. * * @return array An array containing at least 'total' (a formatted price). */ - public function getSubscriptionEstimate($plan, $storage, $environments, $users) + public function getSubscriptionEstimate($plan, $storage, $environments, $users, $countryCode = null) { $options = []; $options['query'] = [ @@ -299,10 +300,13 @@ 'environments' => $environments, 'user_licenses' => $users, ]; + if ($countryCode !== null) { + $options['query']['country_code'] = $countryCode; + } try { $response = $this->connector ->getClient() - ->get($this->accountsEndpoint . 'estimate', $options); + ->get($this->accountsEndpoint . 'subscriptions/estimate', $options); } catch (BadResponseException $e) { throw ApiResponseException::create($e->getRequest(), $e->getResponse(), $e->getPrevious()); }
participants (1)
-
root