Hello community,

here is the log from the commit of package platformsh-cli for openSUSE:Factory 
checked in at 2019-05-02 19:20:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/platformsh-cli (Old)
 and      /work/SRC/openSUSE:Factory/.platformsh-cli.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "platformsh-cli"

Thu May  2 19:20:18 2019 rev:70 rq:699937 version:3.40.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/platformsh-cli/platformsh-cli.changes    
2019-04-23 14:36:36.981495307 +0200
+++ /work/SRC/openSUSE:Factory/.platformsh-cli.new.5148/platformsh-cli.changes  
2019-05-02 19:20:36.273773628 +0200
@@ -1,0 +2,10 @@
+Wed May 01 21:06:35 UTC 2019 - [email protected]
+
+- Update to version 3.40.14:
+  * Release v3.40.14
+  * Update dependencies
+  * Fix Git tree caching (for repo:ls command)
+  * Clarify method name [skip changelog]
+  * Handle "python2" dependencies (as well as "python" and "python3")
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ platformsh-cli.spec ++++++
--- /var/tmp/diff_new_pack.zeczRx/_old  2019-05-02 19:20:37.073775091 +0200
+++ /var/tmp/diff_new_pack.zeczRx/_new  2019-05-02 19:20:37.073775091 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           platformsh-cli
-Version:        3.40.13
+Version:        3.40.14
 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.zeczRx/_old  2019-05-02 19:20:37.097775135 +0200
+++ /var/tmp/diff_new_pack.zeczRx/_new  2019-05-02 19:20:37.101775143 +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.13</param>
+    <param name="revision">refs/tags/v3.40.14</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.zeczRx/_old  2019-05-02 19:20:37.117775172 +0200
+++ /var/tmp/diff_new_pack.zeczRx/_new  2019-05-02 19:20:37.117775172 +0200
@@ -1,6 +1,6 @@
 <servicedata>
   <service name="tar_scm">
     <param name="url">git://github.com/platformsh/platformsh-cli.git</param>
-    <param 
name="changesrevision">516bf7552a7439cb99b96044a2dcfe360fef3981</param>
+    <param 
name="changesrevision">0657016ac22f13835f618d02249348e5a301a6db</param>
   </service>
 </servicedata>

++++++ licenses.txt ++++++
--- /var/tmp/diff_new_pack.zeczRx/_old  2019-05-02 19:20:37.149775231 +0200
+++ /var/tmp/diff_new_pack.zeczRx/_new  2019-05-02 19:20:37.149775231 +0200
@@ -17,20 +17,20 @@
 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.23.6  MIT           
+platformsh/client                   v0.24.0  MIT           
 platformsh/console-form             v0.0.23  MIT           
 psr/container                       1.0.0    MIT           
 psr/log                             1.1.0    MIT           
 react/promise                       v2.7.1   MIT           
 stecman/symfony-console-completion  0.8.0    MIT           
-symfony/config                      v3.4.23  MIT           
-symfony/console                     v3.4.23  MIT           
-symfony/debug                       v3.4.23  MIT           
-symfony/dependency-injection        v3.4.23  MIT           
-symfony/event-dispatcher            v3.4.23  MIT           
-symfony/filesystem                  v3.4.23  MIT           
-symfony/finder                      v3.4.23  MIT           
+symfony/config                      v3.4.26  MIT           
+symfony/console                     v3.4.26  MIT           
+symfony/debug                       v3.4.26  MIT           
+symfony/dependency-injection        v3.4.26  MIT           
+symfony/event-dispatcher            v3.4.26  MIT           
+symfony/filesystem                  v3.4.26  MIT           
+symfony/finder                      v3.4.26  MIT           
 symfony/polyfill-ctype              v1.11.0  MIT           
 symfony/polyfill-mbstring           v1.11.0  MIT           
-symfony/process                     v3.4.23  MIT           
-symfony/yaml                        v3.4.23  MIT           
+symfony/process                     v3.4.26  MIT           
+symfony/yaml                        v3.4.26  MIT           

++++++ platformsh-cli-3.40.13.tar.xz -> platformsh-cli-3.40.14.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/platformsh-cli-3.40.13/composer.json 
new/platformsh-cli-3.40.14/composer.json
--- old/platformsh-cli-3.40.13/composer.json    2019-04-18 16:26:33.000000000 
+0200
+++ new/platformsh-cli-3.40.14/composer.json    2019-04-30 18:03:39.000000000 
+0200
@@ -8,7 +8,7 @@
         "guzzlehttp/guzzle": "^5.3",
         "guzzlehttp/ringphp": "^1.1",
         "platformsh/console-form": ">=0.0.22 <2.0",
-        "platformsh/client": ">=0.23.6 <2.0",
+        "platformsh/client": ">=0.24.0 <2.0",
         "symfony/console": "^3.0 >=3.2",
         "symfony/yaml": "^3.0 || ^2.6",
         "symfony/finder": "^3.0",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/platformsh-cli-3.40.13/composer.lock 
new/platformsh-cli-3.40.14/composer.lock
--- old/platformsh-cli-3.40.13/composer.lock    2019-04-18 16:26:33.000000000 
+0200
+++ new/platformsh-cli-3.40.14/composer.lock    2019-04-30 18:03:39.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": "5c15a7f67e58e2b0737f93b00554c69f",
+    "content-hash": "ff150a4f33c6f02f96851418ab04c85f",
     "packages": [
         {
             "name": "cocur/slugify",
@@ -95,7 +95,7 @@
             "extra": {
                 "patches_applied": {
                     "Make it possible to get the access token without 
triggering a refresh": 
"https://github.com/pjcdawkins/guzzle-oauth2-plugin/commit/d2d720015813185d1ad4fa12884cab9bac6a8b25.patch";,
-                    "Support a token save callback": 
"https://github.com/pjcdawkins/guzzle-oauth2-plugin/commit/c2006642c2cbbf4a5d468f4bda79adb5792b79e0.patch";
+                    "Support a token save callback": 
"https://github.com/commerceguys/guzzle-oauth2-plugin/compare/master...pjcdawkins:token-save-callback.patch";
                 }
             },
             "autoload": {
@@ -713,16 +713,16 @@
         },
         {
             "name": "platformsh/client",
-            "version": "v0.23.6",
+            "version": "v0.24.0",
             "source": {
                 "type": "git",
                 "url": 
"https://github.com/platformsh/platformsh-client-php.git";,
-                "reference": "d9d23c19e084e03ba9424bf0e1d77c84c1fa8843"
+                "reference": "7905b8e84be3994714d765842c99f25397a225c9"
             },
             "dist": {
                 "type": "zip",
-                "url": 
"https://api.github.com/repos/platformsh/platformsh-client-php/zipball/d9d23c19e084e03ba9424bf0e1d77c84c1fa8843";,
-                "reference": "d9d23c19e084e03ba9424bf0e1d77c84c1fa8843",
+                "url": 
"https://api.github.com/repos/platformsh/platformsh-client-php/zipball/7905b8e84be3994714d765842c99f25397a225c9";,
+                "reference": "7905b8e84be3994714d765842c99f25397a225c9",
                 "shasum": ""
             },
             "require": {
@@ -759,7 +759,7 @@
                 }
             ],
             "description": "Platform.sh API client",
-            "time": "2019-04-18T00:48:10+00:00"
+            "time": "2019-04-26T11:57:59+00:00"
         },
         {
             "name": "platformsh/console-form",
@@ -989,7 +989,7 @@
         },
         {
             "name": "symfony/config",
-            "version": "v3.4.23",
+            "version": "v3.4.26",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/config.git";,
@@ -1053,16 +1053,16 @@
         },
         {
             "name": "symfony/console",
-            "version": "v3.4.23",
+            "version": "v3.4.26",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/console.git";,
-                "reference": "71ce77f37af0c5ffb9590e43cc4f70e426945c5e"
+                "reference": "15a9104356436cb26e08adab97706654799d31d8"
             },
             "dist": {
                 "type": "zip",
-                "url": 
"https://api.github.com/repos/symfony/console/zipball/71ce77f37af0c5ffb9590e43cc4f70e426945c5e";,
-                "reference": "71ce77f37af0c5ffb9590e43cc4f70e426945c5e",
+                "url": 
"https://api.github.com/repos/symfony/console/zipball/15a9104356436cb26e08adab97706654799d31d8";,
+                "reference": "15a9104356436cb26e08adab97706654799d31d8",
                 "shasum": ""
             },
             "require": {
@@ -1121,20 +1121,20 @@
             ],
             "description": "Symfony Console Component",
             "homepage": "https://symfony.com";,
-            "time": "2019-02-23T15:06:07+00:00"
+            "time": "2019-04-08T09:29:13+00:00"
         },
         {
             "name": "symfony/debug",
-            "version": "v3.4.23",
+            "version": "v3.4.26",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/debug.git";,
-                "reference": "8d8a9e877b3fcdc50ddecf8dcea146059753f782"
+                "reference": "681afbb26488903c5ac15e63734f1d8ac430c9b9"
             },
             "dist": {
                 "type": "zip",
-                "url": 
"https://api.github.com/repos/symfony/debug/zipball/8d8a9e877b3fcdc50ddecf8dcea146059753f782";,
-                "reference": "8d8a9e877b3fcdc50ddecf8dcea146059753f782",
+                "url": 
"https://api.github.com/repos/symfony/debug/zipball/681afbb26488903c5ac15e63734f1d8ac430c9b9";,
+                "reference": "681afbb26488903c5ac15e63734f1d8ac430c9b9",
                 "shasum": ""
             },
             "require": {
@@ -1177,20 +1177,20 @@
             ],
             "description": "Symfony Debug Component",
             "homepage": "https://symfony.com";,
-            "time": "2019-02-24T15:45:11+00:00"
+            "time": "2019-04-11T09:48:14+00:00"
         },
         {
             "name": "symfony/dependency-injection",
-            "version": "v3.4.23",
+            "version": "v3.4.26",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/dependency-injection.git";,
-                "reference": "c3dd7b7ea8cd8ec12304a5e222d7dc01cac8fa11"
+                "reference": "dee85a9148399cdb2731603802842bcfd8afe5ab"
             },
             "dist": {
                 "type": "zip",
-                "url": 
"https://api.github.com/repos/symfony/dependency-injection/zipball/c3dd7b7ea8cd8ec12304a5e222d7dc01cac8fa11";,
-                "reference": "c3dd7b7ea8cd8ec12304a5e222d7dc01cac8fa11",
+                "url": 
"https://api.github.com/repos/symfony/dependency-injection/zipball/dee85a9148399cdb2731603802842bcfd8afe5ab";,
+                "reference": "dee85a9148399cdb2731603802842bcfd8afe5ab",
                 "shasum": ""
             },
             "require": {
@@ -1248,20 +1248,20 @@
             ],
             "description": "Symfony DependencyInjection Component",
             "homepage": "https://symfony.com";,
-            "time": "2019-02-23T15:06:07+00:00"
+            "time": "2019-04-16T11:13:42+00:00"
         },
         {
             "name": "symfony/event-dispatcher",
-            "version": "v3.4.23",
+            "version": "v3.4.26",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/event-dispatcher.git";,
-                "reference": "ec625e2fff7f584eeb91754821807317b2e79236"
+                "reference": "a088aafcefb4eef2520a290ed82e4374092a6dff"
             },
             "dist": {
                 "type": "zip",
-                "url": 
"https://api.github.com/repos/symfony/event-dispatcher/zipball/ec625e2fff7f584eeb91754821807317b2e79236";,
-                "reference": "ec625e2fff7f584eeb91754821807317b2e79236",
+                "url": 
"https://api.github.com/repos/symfony/event-dispatcher/zipball/a088aafcefb4eef2520a290ed82e4374092a6dff";,
+                "reference": "a088aafcefb4eef2520a290ed82e4374092a6dff",
                 "shasum": ""
             },
             "require": {
@@ -1311,11 +1311,11 @@
             ],
             "description": "Symfony EventDispatcher Component",
             "homepage": "https://symfony.com";,
-            "time": "2019-02-23T15:06:07+00:00"
+            "time": "2019-04-02T08:51:52+00:00"
         },
         {
             "name": "symfony/filesystem",
-            "version": "v3.4.23",
+            "version": "v3.4.26",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/filesystem.git";,
@@ -1365,16 +1365,16 @@
         },
         {
             "name": "symfony/finder",
-            "version": "v3.4.23",
+            "version": "v3.4.26",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/finder.git";,
-                "reference": "fcdde4aa38f48190ce70d782c166f23930084f9b"
+                "reference": "61af5ce0b34b942d414fe8f1b11950d0e9a90e98"
             },
             "dist": {
                 "type": "zip",
-                "url": 
"https://api.github.com/repos/symfony/finder/zipball/fcdde4aa38f48190ce70d782c166f23930084f9b";,
-                "reference": "fcdde4aa38f48190ce70d782c166f23930084f9b",
+                "url": 
"https://api.github.com/repos/symfony/finder/zipball/61af5ce0b34b942d414fe8f1b11950d0e9a90e98";,
+                "reference": "61af5ce0b34b942d414fe8f1b11950d0e9a90e98",
                 "shasum": ""
             },
             "require": {
@@ -1410,7 +1410,7 @@
             ],
             "description": "Symfony Finder Component",
             "homepage": "https://symfony.com";,
-            "time": "2019-02-22T14:44:53+00:00"
+            "time": "2019-04-02T19:54:57+00:00"
         },
         {
             "name": "symfony/polyfill-ctype",
@@ -1531,16 +1531,16 @@
         },
         {
             "name": "symfony/process",
-            "version": "v3.4.23",
+            "version": "v3.4.26",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/process.git";,
-                "reference": "009f8dda80930e89e8344a4e310b08f9ff07dd2e"
+                "reference": "a9c4dfbf653023b668c282e4e02609d131f4057a"
             },
             "dist": {
                 "type": "zip",
-                "url": 
"https://api.github.com/repos/symfony/process/zipball/009f8dda80930e89e8344a4e310b08f9ff07dd2e";,
-                "reference": "009f8dda80930e89e8344a4e310b08f9ff07dd2e",
+                "url": 
"https://api.github.com/repos/symfony/process/zipball/a9c4dfbf653023b668c282e4e02609d131f4057a";,
+                "reference": "a9c4dfbf653023b668c282e4e02609d131f4057a",
                 "shasum": ""
             },
             "require": {
@@ -1576,20 +1576,20 @@
             ],
             "description": "Symfony Process Component",
             "homepage": "https://symfony.com";,
-            "time": "2019-01-16T13:27:11+00:00"
+            "time": "2019-04-08T16:15:54+00:00"
         },
         {
             "name": "symfony/yaml",
-            "version": "v3.4.23",
+            "version": "v3.4.26",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/yaml.git";,
-                "reference": "57f1ce82c997f5a8701b89ef970e36bb657fd09c"
+                "reference": "212a27b731e5bfb735679d1ffaac82bd6a1dc996"
             },
             "dist": {
                 "type": "zip",
-                "url": 
"https://api.github.com/repos/symfony/yaml/zipball/57f1ce82c997f5a8701b89ef970e36bb657fd09c";,
-                "reference": "57f1ce82c997f5a8701b89ef970e36bb657fd09c",
+                "url": 
"https://api.github.com/repos/symfony/yaml/zipball/212a27b731e5bfb735679d1ffaac82bd6a1dc996";,
+                "reference": "212a27b731e5bfb735679d1ffaac82bd6a1dc996",
                 "shasum": ""
             },
             "require": {
@@ -1635,7 +1635,7 @@
             ],
             "description": "Symfony Yaml Component",
             "homepage": "https://symfony.com";,
-            "time": "2019-02-23T15:06:07+00:00"
+            "time": "2019-03-25T07:48:46+00:00"
         }
     ],
     "packages-dev": [
@@ -2023,16 +2023,16 @@
         },
         {
             "name": "drush/drush",
-            "version": "8.2.2",
+            "version": "8.2.3",
             "source": {
                 "type": "git",
                 "url": "https://github.com/drush-ops/drush.git";,
-                "reference": "96622a19d7cabcdee0b08367eb529fed42e5fd0f"
+                "reference": "bf2b2471b9410e0ff4adc23aee020ee1aff28610"
             },
             "dist": {
                 "type": "zip",
-                "url": 
"https://api.github.com/repos/drush-ops/drush/zipball/96622a19d7cabcdee0b08367eb529fed42e5fd0f";,
-                "reference": "96622a19d7cabcdee0b08367eb529fed42e5fd0f",
+                "url": 
"https://api.github.com/repos/drush-ops/drush/zipball/bf2b2471b9410e0ff4adc23aee020ee1aff28610";,
+                "reference": "bf2b2471b9410e0ff4adc23aee020ee1aff28610",
                 "shasum": ""
             },
             "require": {
@@ -2132,7 +2132,7 @@
             ],
             "description": "Drush is a command line shell and scripting 
interface for Drupal, a veritable Swiss Army knife designed to make life easier 
for those of us who spend some of our working hours hacking away at the command 
prompt.",
             "homepage": "http://www.drush.org";,
-            "time": "2019-03-26T16:04:40+00:00"
+            "time": "2019-04-03T04:20:26+00:00"
         },
         {
             "name": "jakub-onderka/php-console-color",
@@ -3362,16 +3362,16 @@
         },
         {
             "name": "symfony/var-dumper",
-            "version": "v3.4.23",
+            "version": "v3.4.26",
             "source": {
                 "type": "git",
                 "url": "https://github.com/symfony/var-dumper.git";,
-                "reference": "d34d10236300876d14291e9df85c6ef3d3bb9066"
+                "reference": "f0883812642a6d6583a9e2ae6aec4ba134436f40"
             },
             "dist": {
                 "type": "zip",
-                "url": 
"https://api.github.com/repos/symfony/var-dumper/zipball/d34d10236300876d14291e9df85c6ef3d3bb9066";,
-                "reference": "d34d10236300876d14291e9df85c6ef3d3bb9066",
+                "url": 
"https://api.github.com/repos/symfony/var-dumper/zipball/f0883812642a6d6583a9e2ae6aec4ba134436f40";,
+                "reference": "f0883812642a6d6583a9e2ae6aec4ba134436f40",
                 "shasum": ""
             },
             "require": {
@@ -3427,7 +3427,7 @@
                 "debug",
                 "dump"
             ],
-            "time": "2019-02-23T15:06:07+00:00"
+            "time": "2019-04-16T13:58:17+00:00"
         },
         {
             "name": "webflo/drupal-finder",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/platformsh-cli-3.40.13/dist/manifest.json 
new/platformsh-cli-3.40.14/dist/manifest.json
--- old/platformsh-cli-3.40.13/dist/manifest.json       2019-04-18 
16:26:33.000000000 +0200
+++ new/platformsh-cli-3.40.14/dist/manifest.json       2019-04-30 
18:03:39.000000000 +0200
@@ -1,10 +1,10 @@
 [
     {
         "name": "platform.phar",
-        "sha1": "5367ede91928da0cb9e66ce40f7b58ddc025d751",
-        "sha256": 
"731186afde2865610d99c238aad15f452617014012184d7e59e1b613f6cbb2fc",
-        "url": 
"https://github.com/platformsh/platformsh-cli/releases/download/v3.40.13/platform.phar";,
-        "version": "3.40.13",
+        "sha1": "9d7d384d0e5bc1bbcea077252d691d080373aa08",
+        "sha256": 
"56ffc63fd5b8a7f7e8ff58c9e0ee913a60b0777b5a20bc6d965d1a1ee41f04fd",
+        "url": 
"https://github.com/platformsh/platformsh-cli/releases/download/v3.40.14/platform.phar";,
+        "version": "3.40.14",
         "php": {
             "min": "5.5.9"
         },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/platformsh-cli-3.40.13/src/Local/DependencyInstaller.php 
new/platformsh-cli-3.40.14/src/Local/DependencyInstaller.php
--- old/platformsh-cli-3.40.13/src/Local/DependencyInstaller.php        
2019-04-18 16:26:33.000000000 +0200
+++ new/platformsh-cli-3.40.14/src/Local/DependencyInstaller.php        
2019-04-30 18:03:39.000000000 +0200
@@ -99,24 +99,28 @@
     }
 
     /**
+     * Finds the right dependency manager for a given stack.
+     *
      * @param string $name
      *
      * @return 
\Platformsh\Cli\Local\DependencyManager\DependencyManagerInterface
      */
     protected function getManager($name)
     {
+        // Python has 'python', 'python2', and 'python3'.
+        if (strpos('python', $name) === 0) {
+            return new DependencyManager\Pip($this->shell);
+        }
+
         $stacks = [
             'nodejs' => new DependencyManager\Npm($this->shell),
-            'python' => new DependencyManager\Pip($this->shell),
-            'python3' => new DependencyManager\Pip($this->shell),
             'ruby' => new DependencyManager\Bundler($this->shell),
             'php' => new DependencyManager\Composer($this->shell),
         ];
-
-        if (!isset($stacks[$name])) {
-            throw new \InvalidArgumentException(sprintf('Unknown dependencies 
stack: %s', $name));
+        if (isset($stacks[$name])) {
+            return $stacks[$name];
         }
 
-        return $stacks[$name];
+        throw new \InvalidArgumentException(sprintf('Unknown dependencies 
stack: %s', $name));
     }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/platformsh-cli-3.40.13/src/Service/GitDataApi.php 
new/platformsh-cli-3.40.14/src/Service/GitDataApi.php
--- old/platformsh-cli-3.40.13/src/Service/GitDataApi.php       2019-04-18 
16:26:33.000000000 +0200
+++ new/platformsh-cli-3.40.14/src/Service/GitDataApi.php       2019-04-30 
18:03:39.000000000 +0200
@@ -74,7 +74,7 @@
         $sha = preg_replace('/[\^~].*$/', '', $sha);
 
         // Get the first commit.
-        $commit = $this->doGetCommit($environment, $sha);
+        $commit = $this->getCommitByShaHash($environment, $sha);
         if (!$commit) {
             return false;
         }
@@ -83,7 +83,7 @@
         while ($commit !== false && count($parents)) {
             $parent = array_shift($parents);
             if (isset($commit->parents[$parent - 1])) {
-                $commit = $this->doGetCommit($environment, 
$commit->parents[$parent - 1]);
+                $commit = $this->getCommitByShaHash($environment, 
$commit->parents[$parent - 1]);
             } else {
                 return false;
             }
@@ -93,14 +93,14 @@
     }
 
     /**
-     * Get a commit from the API.
+     * Get a specific commit from the API.
      *
      * @param Environment $environment
      * @param string $sha The "pure" commit SHA hash.
      *
      * @return \Platformsh\Client\Model\Git\Commit|false
      */
-    private function doGetCommit(Environment $environment, $sha)
+    private function getCommitByShaHash(Environment $environment, $sha)
     {
         $cacheKey = $environment->project . ':' . $sha;
         $client = $this->api->getHttpClient();
@@ -203,7 +203,7 @@
     public function getTree(Environment $environment, $path = '.', $commitSha 
= null)
     {
         $normalizedSha = $this->normalizeSha($environment, $commitSha);
-        $cacheKey = implode(':', ['tree', $environment->project, $path, 
$commitSha]);
+        $cacheKey = implode(':', ['tree', $environment->project, $path, 
$normalizedSha]);
         $data = $this->cache->fetch($cacheKey);
         if (!is_array($data)) {
             if (!$commit = $this->getCommit($environment, $normalizedSha)) {

++++++ platformsh-cli-vendor.tar.xz ++++++
++++ 2422 lines of diff (skipped)


Reply via email to