Hello community, here is the log from the commit of package platformsh-cli for openSUSE:Factory checked in at 2019-07-02 15:18:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/platformsh-cli (Old) and /work/SRC/openSUSE:Factory/.platformsh-cli.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "platformsh-cli" Tue Jul 2 15:18:11 2019 rev:75 rq:712275 version:3.43.2 Changes: -------- --- /work/SRC/openSUSE:Factory/platformsh-cli/platformsh-cli.changes 2019-06-14 20:42:31.090380869 +0200 +++ /work/SRC/openSUSE:Factory/.platformsh-cli.new.4615/platformsh-cli.changes 2019-07-02 15:18:12.838721695 +0200 @@ -1,0 +2,47 @@ +Thu Jun 27 15:54:02 UTC 2019 - jimmy@boombatower.com + +- Update to version 3.43.2: + * Release v3.43.2 + * Note --max is not recommended + * Installer: version constraints via --min and --max + * Allow plans not to have prices in create command + * Sync manifest.json with master branch + * Do not error for empty JSON object/array in decode command + * Output nothing instead of "null" for null properties + +------------------------------------------------------------------- +Wed Jun 26 00:46:32 UTC 2019 - jimmy@boombatower.com + +- Update to version 3.43.1: + * Release v3.43.1 + * Fix db:size miscalculation for older mysql databases + +------------------------------------------------------------------- +Tue Jun 25 04:03:25 UTC 2019 - jimmy@boombatower.com + +- Update to version 3.43.0: + * Release v3.43.0 + * Add decode command to README.md + * Rename variable:decode to decode + * Review fixes + * Add variable:decode command + * Support local variable in environment:relationships (relationships) command + * Property defaults + * Adapt route:list command + * Support reading routes from the local environment in route:get command + * Add --id and --primary options to route:get command + * Move test files so they don't interfere + * Add Platform.sh build files + * The --cleanup command can now ask the user if it should do a cleanup, and actually do it + * MariaDB 10.0 does not support my stuff :(, so adding extra check + * adding --cleanup option to check if InnoDB tables can be optimized + * Use bytes as the base to work on. Improve PGSQL correctness as well. + * rounding up forcing because php is weird + * rounding up is probably slightly better + * removing switch(true) + * Adding -B bytes option like mount:size + * Using the builting symfony formatMemory thing (even though it's worse) + * Made a mistake there + * Splitting up the code in functions, adding check that will estimate the Mysql disk size more closely + +------------------------------------------------------------------- Old: ---- platformsh-cli-3.42.2.tar.xz New: ---- platformsh-cli-3.43.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ platformsh-cli.spec ++++++ --- /var/tmp/diff_new_pack.E2yY6V/_old 2019-07-02 15:18:14.010723808 +0200 +++ /var/tmp/diff_new_pack.E2yY6V/_new 2019-07-02 15:18:14.014723816 +0200 @@ -17,7 +17,7 @@ Name: platformsh-cli -Version: 3.42.2 +Version: 3.43.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.E2yY6V/_old 2019-07-02 15:18:14.050723880 +0200 +++ /var/tmp/diff_new_pack.E2yY6V/_new 2019-07-02 15:18:14.054723888 +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.42.2</param> + <param name="revision">refs/tags/v3.43.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.E2yY6V/_old 2019-07-02 15:18:14.074723924 +0200 +++ /var/tmp/diff_new_pack.E2yY6V/_new 2019-07-02 15:18:14.078723931 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/platformsh/platformsh-cli.git</param> - <param name="changesrevision">354cffafe574e6441be6abebfe6cc8c8790ce644</param> + <param name="changesrevision">a59718a8f1fda77feae7c0dbada291e6fbbddadd</param> </service> </servicedata> ++++++ licenses.txt ++++++ --- /var/tmp/diff_new_pack.E2yY6V/_old 2019-07-02 15:18:14.138724039 +0200 +++ /var/tmp/diff_new_pack.E2yY6V/_new 2019-07-02 15:18:14.138724039 +0200 @@ -16,7 +16,7 @@ padraic/phar-updater v1.0.6 BSD-3-Clause paragonie/random_compat v2.0.18 MIT pjcdawkins/guzzle-oauth2-plugin v2.2.0 MIT -platformsh/client v0.26.0 MIT +platformsh/client v0.27.0 MIT platformsh/console-form v0.0.23 MIT psr/container 1.0.0 MIT psr/log 1.1.0 MIT ++++++ platformsh-cli-3.42.2.tar.xz -> platformsh-cli-3.43.2.tar.xz ++++++ ++++ 2318 lines of diff (skipped) ++++++ 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-06-13 23:55:44.193025898 +0200 +++ new/vendor/autoload.php 2019-06-27 17:54:04.766201922 +0200 @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit4f274f505b89a436d5920fb8d75795a1::getLoader(); +return ComposerAutoloaderInita72cbe0112d2c74e2290941511fcd78f::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-06-13 23:55:44.193025898 +0200 +++ new/vendor/composer/autoload_real.php 2019-06-27 17:54:04.766201922 +0200 @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit4f274f505b89a436d5920fb8d75795a1 +class ComposerAutoloaderInita72cbe0112d2c74e2290941511fcd78f { private static $loader; @@ -19,15 +19,15 @@ return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit4f274f505b89a436d5920fb8d75795a1', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInita72cbe0112d2c74e2290941511fcd78f', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInit4f274f505b89a436d5920fb8d75795a1', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInita72cbe0112d2c74e2290941511fcd78f', '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\ComposerStaticInit4f274f505b89a436d5920fb8d75795a1::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInita72cbe0112d2c74e2290941511fcd78f::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\ComposerStaticInit4f274f505b89a436d5920fb8d75795a1::$files; + $includeFiles = Composer\Autoload\ComposerStaticInita72cbe0112d2c74e2290941511fcd78f::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire4f274f505b89a436d5920fb8d75795a1($fileIdentifier, $file); + composerRequirea72cbe0112d2c74e2290941511fcd78f($fileIdentifier, $file); } return $loader; } } -function composerRequire4f274f505b89a436d5920fb8d75795a1($fileIdentifier, $file) +function composerRequirea72cbe0112d2c74e2290941511fcd78f($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-06-13 23:55:44.193025898 +0200 +++ new/vendor/composer/autoload_static.php 2019-06-27 17:54:04.766201922 +0200 @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit4f274f505b89a436d5920fb8d75795a1 +class ComposerStaticInita72cbe0112d2c74e2290941511fcd78f { public static $files = array ( '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', @@ -193,9 +193,9 @@ public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit4f274f505b89a436d5920fb8d75795a1::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit4f274f505b89a436d5920fb8d75795a1::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit4f274f505b89a436d5920fb8d75795a1::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInita72cbe0112d2c74e2290941511fcd78f::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInita72cbe0112d2c74e2290941511fcd78f::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInita72cbe0112d2c74e2290941511fcd78f::$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-06-13 23:55:43.761022022 +0200 +++ new/vendor/composer/installed.json 2019-06-27 17:54:04.290197471 +0200 @@ -680,17 +680,17 @@ }, { "name": "platformsh/client", - "version": "v0.26.0", - "version_normalized": "0.26.0.0", + "version": "v0.27.0", + "version_normalized": "0.27.0.0", "source": { "type": "git", "url": "https://github.com/platformsh/platformsh-client-php.git", - "reference": "b6cb469386ab5e986ba729c0355aaa388597364d" + "reference": "317b4db1bddc86dfa63376fc92bd9c98cab78c38" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/platformsh/platformsh-client-php/zipball/b6cb46...", - "reference": "b6cb469386ab5e986ba729c0355aaa388597364d", + "url": "https://api.github.com/repos/platformsh/platformsh-client-php/zipball/317b4d...", + "reference": "317b4db1bddc86dfa63376fc92bd9c98cab78c38", "shasum": "" }, "require": { @@ -704,7 +704,7 @@ "require-dev": { "phpunit/phpunit": "~4.5" }, - "time": "2019-06-04T13:40:55+00:00", + "time": "2019-06-12T08:13:33+00:00", "type": "library", "installation-source": "dist", "autoload": { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/platformsh/client/src/DataStructure/ReadOnlyStructureTrait.php new/vendor/platformsh/client/src/DataStructure/ReadOnlyStructureTrait.php --- old/vendor/platformsh/client/src/DataStructure/ReadOnlyStructureTrait.php 2019-06-04 15:40:55.000000000 +0200 +++ new/vendor/platformsh/client/src/DataStructure/ReadOnlyStructureTrait.php 2019-06-12 10:13:33.000000000 +0200 @@ -37,6 +37,17 @@ } /** + * Magic isset() support. + * + * @param string $name + * + * @return bool + */ + public function __isset($name) { + return isset($this->data[$name]); + } + + /** * Magic setter. * * @param string $name diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/platformsh/client/src/Session/Storage/File.php new/vendor/platformsh/client/src/Session/Storage/File.php --- old/vendor/platformsh/client/src/Session/Storage/File.php 2019-06-04 15:40:55.000000000 +0200 +++ new/vendor/platformsh/client/src/Session/Storage/File.php 2019-06-12 10:13:33.000000000 +0200 @@ -31,9 +31,12 @@ { // Default to ~/.platformsh/.session, but if it's not writable, fall // back to the temporary directory. - $default = $this->getHomeDirectory() . '/.platformsh/.session'; - if ($this->canWrite($default)) { - return $default; + $home = $this->getHomeDirectory(); + if ($home !== null) { + $default = rtrim($home, '/') . '/.platformsh/.session'; + if ($this->canWrite($default)) { + return $default; + } } $temp = sys_get_temp_dir() . '/.platformsh-client/.session'; if ($this->canWrite($temp)) { @@ -70,7 +73,7 @@ /** * Finds the user's home directory. * - * @return string + * @return string|null */ protected function getHomeDirectory() { @@ -79,7 +82,7 @@ $home = $userProfile; } if (!$home || !is_dir($home)) { - throw new \RuntimeException('Could not determine home directory'); + return null; } return $home;