Hello community, here is the log from the commit of package drush for openSUSE:Factory checked in at 2017-10-05 11:59:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/drush (Old) and /work/SRC/openSUSE:Factory/.drush.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "drush" Thu Oct 5 11:59:30 2017 rev:3 rq:531013 version:8.1.14 Changes: -------- --- /work/SRC/openSUSE:Factory/drush/drush.changes 2017-08-28 15:16:51.187357477 +0200 +++ /work/SRC/openSUSE:Factory/.drush.new/drush.changes 2017-10-05 12:03:00.284980557 +0200 @@ -1,0 +2,17 @@ +Tue Oct 03 21:04:14 UTC 2017 - jimmy@boombatower.com + +- Update to version 8.1.14: + * Back to dev. + * Update install docs for planned deprecation of http://files.drush.org/drush.phar. + * Fix serving existing files with encoded characters like `%20` + * Update Psysh to version 0.8.11 + * Ensure "sql-cli" command sets an error on non-zero child process exit status. (#2925) + * Revert "Update Psysh to version 0.8.11" + * Update psysh to 0.8.11 + * Work on #2912 - More robust path handling in FileCache. + * Revert "Work on #2912 - More robust path handling in FileCache." + * Work on #2912 - More robust path handling in FileCache. + * Fixes #2767: Do not attempt to access the cached Drush commandfile services unless they exist in the container. This converts a crashing scenario into one where commands are merely missing. A 'drush cr' should bring back the missing commands. + * prep for release. + +------------------------------------------------------------------- Old: ---- drush-8.1.13.tar.xz New: ---- drush-8.1.14.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ drush.spec ++++++ --- /var/tmp/diff_new_pack.8NHzX6/_old 2017-10-05 12:03:02.772630574 +0200 +++ /var/tmp/diff_new_pack.8NHzX6/_new 2017-10-05 12:03:02.772630574 +0200 @@ -17,7 +17,7 @@ Name: drush -Version: 8.1.13 +Version: 8.1.14 Release: 0 Summary: Command line shell and scripting interface for Drupal # See licenses.txt for dependency licenses. ++++++ _service ++++++ --- /var/tmp/diff_new_pack.8NHzX6/_old 2017-10-05 12:03:02.808625510 +0200 +++ /var/tmp/diff_new_pack.8NHzX6/_new 2017-10-05 12:03:02.808625510 +0200 @@ -1,7 +1,7 @@ <services> <service name="tar_scm" mode="disabled"> <param name="versionformat">@PARENT_TAG@</param> - <param name="revision">refs/tags/8.1.13</param> + <param name="revision">refs/tags/8.1.14</param> <param name="url">git://github.com/drush-ops/drush.git</param> <param name="scm">git</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.8NHzX6/_old 2017-10-05 12:03:02.836621572 +0200 +++ /var/tmp/diff_new_pack.8NHzX6/_new 2017-10-05 12:03:02.836621572 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/drush-ops/drush.git</param> - <param name="changesrevision">f93fc2bed05ba58cf65fb65f799429bf6354b205</param> + <param name="changesrevision">b1f1e421185da5468eedfd25eeb5b51e705d3cef</param> </service> </servicedata> ++++++ drush-8.1.13.tar.xz -> drush-8.1.14.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.13/commands/runserver/d7-rs-router.php new/drush-8.1.14/commands/runserver/d7-rs-router.php --- old/drush-8.1.13/commands/runserver/d7-rs-router.php 2017-08-22 19:28:25.000000000 +0200 +++ new/drush-8.1.14/commands/runserver/d7-rs-router.php 2017-10-03 18:20:45.000000000 +0200 @@ -46,7 +46,7 @@ } $url = parse_url($_SERVER["REQUEST_URI"]); -if (file_exists('.' . $url['path'])) { +if (file_exists('.' . urldecode($url['path']))) { // Serve the requested resource as-is. return FALSE; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.13/commands/runserver/d8-rs-router.php new/drush-8.1.14/commands/runserver/d8-rs-router.php --- old/drush-8.1.13/commands/runserver/d8-rs-router.php 2017-08-22 19:28:25.000000000 +0200 +++ new/drush-8.1.14/commands/runserver/d8-rs-router.php 2017-10-03 18:20:45.000000000 +0200 @@ -46,7 +46,7 @@ } $url = parse_url($_SERVER["REQUEST_URI"]); -if (file_exists('.' . $url['path'])) { +if (file_exists('.' . urldecode($url['path']))) { // Serve the requested resource as-is. return FALSE; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.13/commands/sql/sql.drush.inc new/drush-8.1.14/commands/sql/sql.drush.inc --- old/drush-8.1.13/commands/sql/sql.drush.inc 2017-08-22 19:28:25.000000000 +0200 +++ new/drush-8.1.14/commands/sql/sql.drush.inc 2017-10-03 18:20:45.000000000 +0200 @@ -444,7 +444,11 @@ function drush_sql_cli() { drush_sql_bootstrap_further(); $sql = drush_sql_get_class(); - return !(bool)drush_shell_proc_open($sql->connect()); + $result = !drush_shell_proc_open($sql->connect()); + if (!$result) { + drush_set_error('DRUSH_SQL_CLI_ERROR', dt('SQL client error occurred.')); + } + return $result; } /** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.13/composer.lock new/drush-8.1.14/composer.lock --- old/drush-8.1.13/composer.lock 2017-08-22 19:28:25.000000000 +0200 +++ new/drush-8.1.14/composer.lock 2017-10-03 18:20:45.000000000 +0200 @@ -4,7 +4,6 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "b11f17ceeea1d5ea00c9978089edd2dd", "content-hash": "78cd17858c047b08f7a77f5b188755cf", "packages": [ { @@ -57,7 +56,7 @@ } ], "description": "Initialize Symfony Console commands from annotated command class methods.", - "time": "2016-12-16 01:23:33" + "time": "2016-12-16T01:23:33+00:00" }, { "name": "consolidation/output-formatters", @@ -106,7 +105,7 @@ } ], "description": "Format text by applying transformations provided by plug-in formatters.", - "time": "2016-11-23 23:10:13" + "time": "2016-11-23T23:10:13+00:00" }, { "name": "dnoegel/php-xdg-base-dir", @@ -139,7 +138,7 @@ "MIT" ], "description": "implementation of xdg base directory specification for php", - "time": "2014-10-24 07:27:01" + "time": "2014-10-24T07:27:01+00:00" }, { "name": "jakub-onderka/php-console-color", @@ -182,7 +181,7 @@ "homepage": "http://www.acci.cz" } ], - "time": "2014-04-08 15:00:19" + "time": "2014-04-08T15:00:19+00:00" }, { "name": "jakub-onderka/php-console-highlighter", @@ -226,7 +225,7 @@ "homepage": "http://www.acci.cz/" } ], - "time": "2015-04-20 18:58:01" + "time": "2015-04-20T18:58:01+00:00" }, { "name": "nikic/php-parser", @@ -277,7 +276,7 @@ "parser", "php" ], - "time": "2016-09-16 12:04:44" + "time": "2016-09-16T12:04:44+00:00" }, { "name": "pear/console_table", @@ -332,7 +331,7 @@ "keywords": [ "console" ], - "time": "2016-01-21 16:14:31" + "time": "2016-01-21T16:14:31+00:00" }, { "name": "phpdocumentor/reflection-docblock", @@ -381,7 +380,7 @@ "email": "mike.vanriel@naenius.com" } ], - "time": "2015-02-03 12:10:50" + "time": "2015-02-03T12:10:50+00:00" }, { "name": "psr/log", @@ -428,20 +427,20 @@ "psr", "psr-3" ], - "time": "2016-10-10 12:19:37" + "time": "2016-10-10T12:19:37+00:00" }, { "name": "psy/psysh", - "version": "v0.8.0", + "version": "v0.8.11", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "4a8860e13aa68a4bbf2476c014f8a1f14f1bf991" + "reference": "b193cd020e8c6b66cea6457826ae005e94e6d2c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/4a8860e13aa68a4bbf2476c...", - "reference": "4a8860e13aa68a4bbf2476c014f8a1f14f1bf991", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/b193cd020e8c6b66cea6457...", + "reference": "b193cd020e8c6b66cea6457826ae005e94e6d2c0", "shasum": "" }, "require": { @@ -501,7 +500,7 @@ "interactive", "shell" ], - "time": "2016-12-07 17:15:07" + "time": "2017-07-29T19:30:02+00:00" }, { "name": "symfony/console", @@ -562,7 +561,7 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2016-12-06 11:59:35" + "time": "2016-12-06T11:59:35+00:00" }, { "name": "symfony/debug", @@ -619,7 +618,7 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2016-11-15 12:53:17" + "time": "2016-11-15T12:53:17+00:00" }, { "name": "symfony/event-dispatcher", @@ -679,7 +678,7 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2016-10-13 01:43:15" + "time": "2016-10-13T01:43:15+00:00" }, { "name": "symfony/finder", @@ -728,7 +727,7 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2016-12-13 09:38:12" + "time": "2016-12-13T09:38:12+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -787,7 +786,7 @@ "portable", "shim" ], - "time": "2016-11-14 01:06:16" + "time": "2016-11-14T01:06:16+00:00" }, { "name": "symfony/var-dumper", @@ -850,7 +849,7 @@ "debug", "dump" ], - "time": "2016-12-06 16:05:07" + "time": "2016-12-06T16:05:07+00:00" }, { "name": "symfony/yaml", @@ -899,7 +898,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2016-11-14 16:15:57" + "time": "2016-11-14T16:15:57+00:00" }, { "name": "victorjonsson/markdowndocs", @@ -940,7 +939,7 @@ ], "description": "Command line tool for generating markdown-formatted class documentation", "homepage": "https://github.com/victorjonsson/PHP-Markdown-Documentation-Generator", - "time": "2016-02-11 22:12:12" + "time": "2016-02-11T22:12:12+00:00" }, { "name": "webmozart/assert", @@ -990,7 +989,7 @@ "check", "validate" ], - "time": "2016-11-23 20:04:58" + "time": "2016-11-23T20:04:58+00:00" }, { "name": "webmozart/path-util", @@ -1036,7 +1035,7 @@ } ], "description": "A robust cross-platform utility for normalizing, comparing and modifying file paths.", - "time": "2015-12-17 08:42:14" + "time": "2015-12-17T08:42:14+00:00" } ], "packages-dev": [ @@ -1092,7 +1091,7 @@ "constructor", "instantiate" ], - "time": "2015-06-14 21:17:01" + "time": "2015-06-14T21:17:01+00:00" }, { "name": "phpspec/prophecy", @@ -1155,7 +1154,7 @@ "spy", "stub" ], - "time": "2016-11-21 14:58:47" + "time": "2016-11-21T14:58:47+00:00" }, { "name": "phpunit/php-code-coverage", @@ -1217,7 +1216,7 @@ "testing", "xunit" ], - "time": "2015-10-06 15:47:00" + "time": "2015-10-06T15:47:00+00:00" }, { "name": "phpunit/php-file-iterator", @@ -1264,7 +1263,7 @@ "filesystem", "iterator" ], - "time": "2016-10-03 07:40:28" + "time": "2016-10-03T07:40:28+00:00" }, { "name": "phpunit/php-text-template", @@ -1305,7 +1304,7 @@ "keywords": [ "template" ], - "time": "2015-06-21 13:50:34" + "time": "2015-06-21T13:50:34+00:00" }, { "name": "phpunit/php-timer", @@ -1349,7 +1348,7 @@ "keywords": [ "timer" ], - "time": "2016-05-12 18:03:57" + "time": "2016-05-12T18:03:57+00:00" }, { "name": "phpunit/php-token-stream", @@ -1398,7 +1397,7 @@ "keywords": [ "tokenizer" ], - "time": "2016-11-15 14:06:22" + "time": "2016-11-15T14:06:22+00:00" }, { "name": "phpunit/phpunit", @@ -1470,7 +1469,7 @@ "testing", "xunit" ], - "time": "2016-12-09 02:45:31" + "time": "2016-12-09T02:45:31+00:00" }, { "name": "phpunit/phpunit-mock-objects", @@ -1526,7 +1525,7 @@ "mock", "xunit" ], - "time": "2015-10-02 06:51:40" + "time": "2015-10-02T06:51:40+00:00" }, { "name": "sebastian/comparator", @@ -1590,7 +1589,7 @@ "compare", "equality" ], - "time": "2016-11-19 09:18:40" + "time": "2016-11-19T09:18:40+00:00" }, { "name": "sebastian/diff", @@ -1642,7 +1641,7 @@ "keywords": [ "diff" ], - "time": "2015-12-08 07:14:41" + "time": "2015-12-08T07:14:41+00:00" }, { "name": "sebastian/environment", @@ -1692,7 +1691,7 @@ "environment", "hhvm" ], - "time": "2016-08-18 05:49:44" + "time": "2016-08-18T05:49:44+00:00" }, { "name": "sebastian/exporter", @@ -1759,7 +1758,7 @@ "export", "exporter" ], - "time": "2016-06-17 09:04:28" + "time": "2016-06-17T09:04:28+00:00" }, { "name": "sebastian/global-state", @@ -1810,7 +1809,7 @@ "keywords": [ "global state" ], - "time": "2015-10-12 03:26:01" + "time": "2015-10-12T03:26:01+00:00" }, { "name": "sebastian/recursion-context", @@ -1863,7 +1862,7 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2015-11-11 19:50:13" + "time": "2015-11-11T19:50:13+00:00" }, { "name": "sebastian/version", @@ -1898,7 +1897,7 @@ ], "description": "Library that helps with managing the version number of Git-hosted PHP projects", "homepage": "https://github.com/sebastianbergmann/version", - "time": "2015-06-21 13:59:46" + "time": "2015-06-21T13:59:46+00:00" }, { "name": "symfony/process", @@ -1947,7 +1946,7 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2016-11-21 09:47:03" + "time": "2016-11-21T09:47:03+00:00" } ], "aliases": [], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.13/docs/install.md new/drush-8.1.14/docs/install.md --- old/drush-8.1.13/docs/install.md 2017-08-22 19:28:25.000000000 +0200 +++ new/drush-8.1.14/docs/install.md 2017-10-03 18:20:45.000000000 +0200 @@ -1,9 +1,7 @@ Install/Upgrade a global Drush --------------- ```bash -# Download latest stable release using the code below or browse to github.com/drush-ops/drush/releases. -wget http://files.drush.org/drush.phar -# Or use our upcoming release: wget http://files.drush.org/drush-unstable.phar +# Browse to https://github.com/drush-ops/drush/releases and download the drush.phar attached to the latest 8.x release. # Test your install. php drush.phar core-status diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.13/drush.info new/drush-8.1.14/drush.info --- old/drush-8.1.13/drush.info 2017-08-22 19:28:25.000000000 +0200 +++ new/drush-8.1.14/drush.info 2017-10-03 18:20:45.000000000 +0200 @@ -1 +1 @@ -drush_version=8.1.13 +drush_version=8.1.14 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.13/lib/Drush/Boot/DrupalBoot8.php new/drush-8.1.14/lib/Drush/Boot/DrupalBoot8.php --- old/drush-8.1.13/lib/Drush/Boot/DrupalBoot8.php 2017-08-22 19:28:25.000000000 +0200 +++ new/drush-8.1.14/lib/Drush/Boot/DrupalBoot8.php 2017-10-03 18:20:45.000000000 +0200 @@ -160,19 +160,23 @@ // The upshot is that the list of console commands is not available // until after $kernel->boot() is called. $container = \Drupal::getContainer(); - $serviceCommandlist = $container->get('drush.service.consolecommands'); - foreach ($serviceCommandlist->getCommandList() as $command) { - if (!$this->commandIgnored($command, $ignored_modules)) { - drush_log(dt('Add a command: !name', ['!name' => $command->getName()]), LogLevel::DEBUG); - annotationcommand_adapter_cache_module_console_commands($command); + if ($container->has('drush.service.consolecommands')) { + $serviceCommandlist = $container->get('drush.service.consolecommands'); + foreach ($serviceCommandlist->getCommandList() as $command) { + if (!$this->commandIgnored($command, $ignored_modules)) { + drush_log(dt('Add a command: !name', ['!name' => $command->getName()]), LogLevel::DEBUG); + annotationcommand_adapter_cache_module_console_commands($command); + } } } // Do the same thing with the annotation commands. - $serviceCommandlist = $container->get('drush.service.consolidationcommands'); - foreach ($serviceCommandlist->getCommandList() as $commandhandler) { - if (!$this->commandIgnored($commandhandler, $ignored_modules)) { - drush_log(dt('Add a commandhandler: !name', ['!name' => get_class($commandhandler)]), LogLevel::DEBUG); - annotationcommand_adapter_cache_module_service_commands($commandhandler); + if ($container->has('drush.service.consolidationcommands')) { + $serviceCommandlist = $container->get('drush.service.consolidationcommands'); + foreach ($serviceCommandlist->getCommandList() as $commandhandler) { + if (!$this->commandIgnored($commandhandler, $ignored_modules)) { + drush_log(dt('Add a commandhandler: !name', ['!name' => get_class($commandhandler)]), LogLevel::DEBUG); + annotationcommand_adapter_cache_module_service_commands($commandhandler); + } } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.13/lib/Drush/Cache/FileCache.php new/drush-8.1.14/lib/Drush/Cache/FileCache.php --- old/drush-8.1.13/lib/Drush/Cache/FileCache.php 2017-08-22 19:28:25.000000000 +0200 +++ new/drush-8.1.14/lib/Drush/Cache/FileCache.php 2017-10-03 18:20:45.000000000 +0200 @@ -151,6 +151,6 @@ * The full path to the cache file. */ protected function getFilePath($cid) { - return $this->directory . '/' . str_replace(array(':'), '.', $cid) . self::EXTENSION; + return $this->directory . '/' . str_replace(array(':', '\\', '/'), '.', $cid) . self::EXTENSION; } } ++++++ drush-vendor.tar.xz ++++++ ++++ 9086 lines of diff (skipped) ++++++ licenses.txt ++++++ --- /var/tmp/diff_new_pack.8NHzX6/_old 2017-10-05 12:03:03.588515789 +0200 +++ /var/tmp/diff_new_pack.8NHzX6/_new 2017-10-05 12:03:03.588515789 +0200 @@ -13,7 +13,7 @@ pear/console_table v1.3.0 BSD-2-Clause phpdocumentor/reflection-docblock 2.0.4 MIT psr/log 1.0.2 MIT -psy/psysh v0.8.0 MIT +psy/psysh v0.8.11 MIT symfony/console v2.8.15 MIT symfony/debug v2.8.15 MIT symfony/event-dispatcher v2.8.15 MIT