Hello community,

here is the log from the commit of package platformsh-cli for openSUSE:Factory 
checked in at 2019-06-14 20:42:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/platformsh-cli (Old)
 and      /work/SRC/openSUSE:Factory/.platformsh-cli.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "platformsh-cli"

Fri Jun 14 20:42:29 2019 rev:74 rq:709815 version:3.42.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/platformsh-cli/platformsh-cli.changes    
2019-06-01 09:57:35.955156908 +0200
+++ /work/SRC/openSUSE:Factory/.platformsh-cli.new.4811/platformsh-cli.changes  
2019-06-14 20:42:31.090380869 +0200
@@ -1,0 +2,29 @@
+Thu Jun 13 21:55:41 UTC 2019 - [email protected]
+
+- Update to version 3.42.2:
+  * Release v3.42.2
+  * Mark autocompletion as "skipped" rather than "failed" if stdout is not a 
tty
+  * Clarify try/finally pattern [skip changelog]
+  * Release v3.42.1
+  * Hotfix for: You have requested a non-existent service "input".
+  * Release v3.42.0
+  * ... fix item matching [skip changelog]
+  * Support updating manifest for latest item matching same major version 
[skip changelog]
+  * Make GIT_SSH argument quoting more standard
+  * Copy and source a regular file for autocompletion setup
+  * Accept wholly indented YAML files (#806)
+  * Rename LegacyEnv to BrokenEnv
+  * SSH: support legacy environments without a deployments API
+  * Add 4.1.0-dev to manifest.json
+  * Explain when no supported versions are found
+  * OOP for the installer
+  * Support installing versions with dev suffixes in installer
+  * Add beta stability flag
+  * Add source-operation:run command
+  * Warn in installer about missing pcntl and posix extensions (#803)
+  * Pass max_allowed_packet setting to mysqldump
+  * Display nothing for sensitive variable values in variable:list tsv/csv 
format
+  * Rename SshDestination to RemoteContainer; add getConfig()
+  * Require confirmation when adding a git source integration
+
+-------------------------------------------------------------------

Old:
----
  platformsh-cli-3.41.1.tar.xz

New:
----
  platformsh-cli-3.42.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ platformsh-cli.spec ++++++
--- /var/tmp/diff_new_pack.mjjNbG/_old  2019-06-14 20:42:32.030379274 +0200
+++ /var/tmp/diff_new_pack.mjjNbG/_new  2019-06-14 20:42:32.034379267 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           platformsh-cli
-Version:        3.41.1
+Version:        3.42.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.mjjNbG/_old  2019-06-14 20:42:32.070379206 +0200
+++ /var/tmp/diff_new_pack.mjjNbG/_new  2019-06-14 20:42:32.070379206 +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.41.1</param>
+    <param name="revision">refs/tags/v3.42.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.mjjNbG/_old  2019-06-14 20:42:32.090379173 +0200
+++ /var/tmp/diff_new_pack.mjjNbG/_new  2019-06-14 20:42:32.090379173 +0200
@@ -1,6 +1,6 @@
 <servicedata>
   <service name="tar_scm">
     <param name="url">git://github.com/platformsh/platformsh-cli.git</param>
-    <param 
name="changesrevision">e22256326f0aff49c7dc0e8e7c44314dae4d9354</param>
+    <param 
name="changesrevision">354cffafe574e6441be6abebfe6cc8c8790ce644</param>
   </service>
 </servicedata>

++++++ extensions.txt ++++++
--- /var/tmp/diff_new_pack.mjjNbG/_old  2019-06-14 20:42:32.122379118 +0200
+++ /var/tmp/diff_new_pack.mjjNbG/_new  2019-06-14 20:42:32.126379112 +0200
@@ -3,29 +3,29 @@
     [requires] => Array
         (
             [0] => ext-json *
-            [1] => ext-openssl *
+            [1] => ext-json *
             [2] => ext-openssl *
-            [3] => ext-pcre *
-            [4] => php >=5.2.0
+            [3] => ext-openssl *
+            [4] => ext-pcre *
             [5] => php >=5.2.0
-            [6] => php >=5.3.0
+            [6] => php >=5.2.0
             [7] => php >=5.3.0
-            [8] => php >=5.3.2
-            [9] => php >=5.3.3
+            [8] => php >=5.3.0
+            [9] => php >=5.3.2
             [10] => php >=5.3.3
             [11] => php >=5.3.3
-            [12] => php >=5.4.0
+            [12] => php >=5.3.3
             [13] => php >=5.4.0
             [14] => php >=5.4.0
             [15] => php >=5.4.0
             [16] => php >=5.4.0
-            [17] => php >=5.5.9
+            [17] => php >=5.4.0
             [18] => php >=5.5.9
             [19] => php >=5.5.9
             [20] => php >=5.5.9
-            [21] => php ^5.3 || ^7.0 || ^7.1 || ^7.2
-            [22] => php ^5.3.2 || ^7.0
-            [23] => php ^5.5.9|>=7.0.8
+            [21] => php >=5.5.9
+            [22] => php ^5.3 || ^7.0 || ^7.1 || ^7.2
+            [23] => php ^5.3.2 || ^7.0
             [24] => php ^5.5.9|>=7.0.8
             [25] => php ^5.5.9|>=7.0.8
             [26] => php ^5.5.9|>=7.0.8
@@ -34,7 +34,8 @@
             [29] => php ^5.5.9|>=7.0.8
             [30] => php ^5.5.9|>=7.0.8
             [31] => php ^5.5.9|>=7.0.8
-            [32] => php ~5.5|~7.0
+            [32] => php ^5.5.9|>=7.0.8
+            [33] => php ~5.5|~7.0
         )
 
     [suggests] => Array

++++++ licenses.txt ++++++
--- /var/tmp/diff_new_pack.mjjNbG/_old  2019-06-14 20:42:32.146379078 +0200
+++ /var/tmp/diff_new_pack.mjjNbG/_new  2019-06-14 20:42:32.146379078 +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.25.2  MIT           
+platformsh/client                   v0.26.0  MIT           
 platformsh/console-form             v0.0.23  MIT           
 psr/container                       1.0.0    MIT           
 psr/log                             1.1.0    MIT           

++++++ platformsh-cli-3.41.1.tar.xz -> platformsh-cli-3.42.2.tar.xz ++++++
++++ 2417 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-05-30 21:41:59.205424192 +0200
+++ new/vendor/autoload.php     2019-06-13 23:55:44.193025898 +0200
@@ -4,4 +4,4 @@
 
 require_once __DIR__ . '/composer/autoload_real.php';
 
-return ComposerAutoloaderInit6bf88e99c1cc4c68551f1563d840862f::getLoader();
+return ComposerAutoloaderInit4f274f505b89a436d5920fb8d75795a1::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-30 21:41:59.205424192 
+0200
+++ new/vendor/composer/autoload_real.php       2019-06-13 23:55:44.193025898 
+0200
@@ -2,7 +2,7 @@
 
 // autoload_real.php @generated by Composer
 
-class ComposerAutoloaderInit6bf88e99c1cc4c68551f1563d840862f
+class ComposerAutoloaderInit4f274f505b89a436d5920fb8d75795a1
 {
     private static $loader;
 
@@ -19,15 +19,15 @@
             return self::$loader;
         }
 
-        
spl_autoload_register(array('ComposerAutoloaderInit6bf88e99c1cc4c68551f1563d840862f',
 'loadClassLoader'), true, true);
+        
spl_autoload_register(array('ComposerAutoloaderInit4f274f505b89a436d5920fb8d75795a1',
 'loadClassLoader'), true, true);
         self::$loader = $loader = new \Composer\Autoload\ClassLoader();
-        
spl_autoload_unregister(array('ComposerAutoloaderInit6bf88e99c1cc4c68551f1563d840862f',
 'loadClassLoader'));
+        
spl_autoload_unregister(array('ComposerAutoloaderInit4f274f505b89a436d5920fb8d75795a1',
 '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\ComposerStaticInit6bf88e99c1cc4c68551f1563d840862f::getInitializer($loader));
+            
call_user_func(\Composer\Autoload\ComposerStaticInit4f274f505b89a436d5920fb8d75795a1::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\ComposerStaticInit6bf88e99c1cc4c68551f1563d840862f::$files;
+            $includeFiles = 
Composer\Autoload\ComposerStaticInit4f274f505b89a436d5920fb8d75795a1::$files;
         } else {
             $includeFiles = require __DIR__ . '/autoload_files.php';
         }
         foreach ($includeFiles as $fileIdentifier => $file) {
-            composerRequire6bf88e99c1cc4c68551f1563d840862f($fileIdentifier, 
$file);
+            composerRequire4f274f505b89a436d5920fb8d75795a1($fileIdentifier, 
$file);
         }
 
         return $loader;
     }
 }
 
-function composerRequire6bf88e99c1cc4c68551f1563d840862f($fileIdentifier, 
$file)
+function composerRequire4f274f505b89a436d5920fb8d75795a1($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-30 21:41:59.205424192 
+0200
+++ new/vendor/composer/autoload_static.php     2019-06-13 23:55:44.193025898 
+0200
@@ -4,7 +4,7 @@
 
 namespace Composer\Autoload;
 
-class ComposerStaticInit6bf88e99c1cc4c68551f1563d840862f
+class ComposerStaticInit4f274f505b89a436d5920fb8d75795a1
 {
     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 = 
ComposerStaticInit6bf88e99c1cc4c68551f1563d840862f::$prefixLengthsPsr4;
-            $loader->prefixDirsPsr4 = 
ComposerStaticInit6bf88e99c1cc4c68551f1563d840862f::$prefixDirsPsr4;
-            $loader->classMap = 
ComposerStaticInit6bf88e99c1cc4c68551f1563d840862f::$classMap;
+            $loader->prefixLengthsPsr4 = 
ComposerStaticInit4f274f505b89a436d5920fb8d75795a1::$prefixLengthsPsr4;
+            $loader->prefixDirsPsr4 = 
ComposerStaticInit4f274f505b89a436d5920fb8d75795a1::$prefixDirsPsr4;
+            $loader->classMap = 
ComposerStaticInit4f274f505b89a436d5920fb8d75795a1::$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-30 21:41:58.793420471 +0200
+++ new/vendor/composer/installed.json  2019-06-13 23:55:43.761022022 +0200
@@ -680,21 +680,22 @@
     },
     {
         "name": "platformsh/client",
-        "version": "v0.25.2",
-        "version_normalized": "0.25.2.0",
+        "version": "v0.26.0",
+        "version_normalized": "0.26.0.0",
         "source": {
             "type": "git",
             "url": "https://github.com/platformsh/platformsh-client-php.git";,
-            "reference": "8f4d305d80a6a68d6cc8c0e10cadbb063c30963a"
+            "reference": "b6cb469386ab5e986ba729c0355aaa388597364d"
         },
         "dist": {
             "type": "zip",
-            "url": 
"https://api.github.com/repos/platformsh/platformsh-client-php/zipball/8f4d305d80a6a68d6cc8c0e10cadbb063c30963a";,
-            "reference": "8f4d305d80a6a68d6cc8c0e10cadbb063c30963a",
+            "url": 
"https://api.github.com/repos/platformsh/platformsh-client-php/zipball/b6cb469386ab5e986ba729c0355aaa388597364d";,
+            "reference": "b6cb469386ab5e986ba729c0355aaa388597364d",
             "shasum": ""
         },
         "require": {
             "cocur/slugify": "^2.0 || ~1.0",
+            "ext-json": "*",
             "guzzlehttp/cache-subscriber": "~0.1",
             "guzzlehttp/guzzle": "~5.3",
             "php": ">=5.5.9",
@@ -703,7 +704,7 @@
         "require-dev": {
             "phpunit/phpunit": "~4.5"
         },
-        "time": "2019-05-29T21:09:28+00:00",
+        "time": "2019-06-04T13:40:55+00:00",
         "type": "library",
         "installation-source": "dist",
         "autoload": {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vendor/platformsh/client/composer.json 
new/vendor/platformsh/client/composer.json
--- old/vendor/platformsh/client/composer.json  2019-05-29 23:09:28.000000000 
+0200
+++ new/vendor/platformsh/client/composer.json  2019-06-04 15:40:55.000000000 
+0200
@@ -7,7 +7,8 @@
         "cocur/slugify": "^2.0 || ~1.0",
         "guzzlehttp/guzzle": "~5.3",
         "pjcdawkins/guzzle-oauth2-plugin": "^2.2",
-        "guzzlehttp/cache-subscriber": "~0.1"
+        "guzzlehttp/cache-subscriber": "~0.1",
+        "ext-json": "*"
     },
     "require-dev": {
         "phpunit/phpunit": "~4.5"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vendor/platformsh/client/composer.lock 
new/vendor/platformsh/client/composer.lock
--- old/vendor/platformsh/client/composer.lock  2019-05-29 23:09:28.000000000 
+0200
+++ new/vendor/platformsh/client/composer.lock  2019-06-04 15:40:55.000000000 
+0200
@@ -4,7 +4,7 @@
         "Read more about it at 
https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies";,
         "This file is @generated automatically"
     ],
-    "content-hash": "d41fe98db8fdcb03d08a939ddb96adee",
+    "content-hash": "03fe0925dc2cbf2ec401e9f21bba515b",
     "packages": [
         {
             "name": "cocur/slugify",
@@ -1670,7 +1670,8 @@
     "prefer-stable": false,
     "prefer-lowest": false,
     "platform": {
-        "php": ">=5.5.9"
+        "php": ">=5.5.9",
+        "ext-json": "*"
     },
     "platform-dev": [],
     "platform-overrides": {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vendor/platformsh/client/src/Connection/Connector.php 
new/vendor/platformsh/client/src/Connection/Connector.php
--- old/vendor/platformsh/client/src/Connection/Connector.php   2019-05-29 
23:09:28.000000000 +0200
+++ new/vendor/platformsh/client/src/Connection/Connector.php   2019-06-04 
15:40:55.000000000 +0200
@@ -8,7 +8,6 @@
 use GuzzleHttp\Client;
 use GuzzleHttp\ClientInterface;
 use GuzzleHttp\Collection;
-use GuzzleHttp\Event\CompleteEvent;
 use GuzzleHttp\Exception\BadResponseException;
 use GuzzleHttp\Subscriber\Cache\CacheSubscriber;
 use GuzzleHttp\Url;
@@ -76,9 +75,16 @@
         if (isset($session)) {
             $this->session = $session;
         } else {
-            // Assign file storage to the session by default.
-            $this->session = new Session();
-            $this->session->setStorage(new File());
+            if ($this->config['api_token'] && $this->config['api_token_type'] 
=== 'access') {
+                // If an access token is set directly, default to a session
+                // with no storage.
+                $this->session = new Session();
+            } else {
+                // Otherwise, assign file storage to the session by default.
+                // This reduces unnecessary access token refreshes.
+                $this->session = new Session();
+                $this->session->setStorage(new File());
+            }
         }
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vendor/platformsh/client/src/Model/Environment.php 
new/vendor/platformsh/client/src/Model/Environment.php
--- old/vendor/platformsh/client/src/Model/Environment.php      2019-05-29 
23:09:28.000000000 +0200
+++ new/vendor/platformsh/client/src/Model/Environment.php      2019-06-04 
15:40:55.000000000 +0200
@@ -638,4 +638,23 @@
 
         return $this->update(['backups' => $backups]);
     }
+
+    /**
+     * Runs a source operation.
+     *
+     * @param string $name
+     *   The operation name.
+     * @param array  $variables
+     *   Variables to define during the operation, as a nested associative
+     *   array, e.g. ['env'=>['foo'=>'bar']]
+     *
+     * @return \Platformsh\Client\Model\Result
+     */
+    public function runSourceOperation($name, array $variables = [])
+    {
+        return $this->runOperation('source-operation', 'post', [
+            'operation' => $name,
+            'variables' => (object) $variables,
+        ]);
+    }
 }


Reply via email to