Hello community, here is the log from the commit of package drush for openSUSE:Factory checked in at 2017-08-28 15:15:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/drush (Old) and /work/SRC/openSUSE:Factory/.drush.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "drush" Mon Aug 28 15:15:41 2017 rev:2 rq:518607 version:8.1.13 Changes: -------- --- /work/SRC/openSUSE:Factory/drush/drush.changes 2017-08-24 18:41:26.593988759 +0200 +++ /work/SRC/openSUSE:Factory/.drush.new/drush.changes 2017-08-28 15:16:51.187357477 +0200 @@ -1,0 +2,16 @@ +Tue Aug 22 21:54:36 UTC 2017 - jimmy@boombatower.com + +- Update to version 8.1.13: + * Prep for 8.1.13-dev + * Fix #2753: Prevent loops when unable to download extensions (#2797) + * Fix #2817. bash autocomplete via .bashrc only works on the second .bashrc inclusion. + * Disable the psysh version check. + * Fixes #2831: create_function is deprecated in php 7.2; might as well use an anonymous function instead. + * Fix drush docs, link to 8.x docs from within the 8.x documentation (#2842) + * Add php lint operation via CircleCI. + * Respect disable_functions list in use_pcntl_exec check (#2857) + * fix namespace for Drush command sql-query with option "--db-prefix" in use (#2882) + * Just assert that disabled module's command can't be run. The actual error is not important, and seems to be variable based on phases of the moon. + * Prep for 8.1.13. + +------------------------------------------------------------------- Old: ---- drush-8.1.12.tar.xz New: ---- drush-8.1.13.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ drush.spec ++++++ --- /var/tmp/diff_new_pack.21i4Xp/_old 2017-08-28 15:16:53.367051197 +0200 +++ /var/tmp/diff_new_pack.21i4Xp/_new 2017-08-28 15:16:53.379049511 +0200 @@ -17,7 +17,7 @@ Name: drush -Version: 8.1.12 +Version: 8.1.13 Release: 0 Summary: Command line shell and scripting interface for Drupal # See licenses.txt for dependency licenses. @@ -51,7 +51,7 @@ %setup -q -a 1 %build -find . -name ".travis.yml" -exec rm -rf {} \; +find . -name ".travis.yml" -delete cp %{SOURCE12} licenses.txt %install ++++++ _service ++++++ --- /var/tmp/diff_new_pack.21i4Xp/_old 2017-08-28 15:16:53.591019726 +0200 +++ /var/tmp/diff_new_pack.21i4Xp/_new 2017-08-28 15:16:53.591019726 +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.12</param> + <param name="revision">refs/tags/8.1.13</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.21i4Xp/_old 2017-08-28 15:16:53.627014668 +0200 +++ /var/tmp/diff_new_pack.21i4Xp/_new 2017-08-28 15:16:53.627014668 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/drush-ops/drush.git</param> - <param name="changesrevision">a1d3ab0f1d9ce01556d70015906caaed723f7ba7</param> + <param name="changesrevision">f93fc2bed05ba58cf65fb65f799429bf6354b205</param> </service> </servicedata> ++++++ drush-8.1.12.tar.xz -> drush-8.1.13.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.12/circle.yml new/drush-8.1.13/circle.yml --- old/drush-8.1.12/circle.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/drush-8.1.13/circle.yml 2017-08-22 19:28:25.000000000 +0200 @@ -0,0 +1,15 @@ +machine: + timezone: + America/Chicago + php: + version: 7.0.11 + +dependencies: + cache_directories: + - ~/.composer/cache + override: + - composer install --prefer-dist --no-interaction + +test: + override: + - composer lint diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.12/commands/core/cli.drush.inc new/drush-8.1.13/commands/core/cli.drush.inc --- old/drush-8.1.12/commands/core/cli.drush.inc 2017-06-06 00:51:34.000000000 +0200 +++ new/drush-8.1.13/commands/core/cli.drush.inc 2017-08-22 19:28:25.000000000 +0200 @@ -5,6 +5,7 @@ use Drush\Psysh\DrushHelpCommand; use Drush\Psysh\DrushCommand; use Drush\Psysh\Shell; +use Psy\VersionUpdater\Checker; /** * Implements hook_drush_command(). @@ -41,6 +42,9 @@ // Set the Drush specific history file path. $configuration->setHistoryFile(drush_history_path_cli()); + // Disable checking for updates. Our dependencies are managed with Composer. + $configuration->setUpdateCheck(Checker::NEVER); + $shell = new Shell($configuration); if ($drupal_major_version >= 8) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.12/commands/core/init.drush.inc new/drush-8.1.13/commands/core/init.drush.inc --- old/drush-8.1.12/commands/core/init.drush.inc 2017-06-06 00:51:34.000000000 +0200 +++ new/drush-8.1.13/commands/core/init.drush.inc 2017-08-22 19:28:25.000000000 +0200 @@ -61,6 +61,16 @@ drush_log(dt("Copied example Drush configuration file to !path", array('!path' => $drush_config_file)), LogLevel::OK); } + // If Drush is not in the $PATH, then figure out which + // path to add so that Drush can be found globally. + $add_path = drush_get_option('add-path', NULL); + if ((!drush_which("drush") || $add_path) && ($add_path !== FALSE)) { + $drush_path = drush_find_path_to_drush($home); + $drush_path = preg_replace("%^" . preg_quote($home) . "/%", '$HOME/', $drush_path); + + $bashrc_additions["%$drush_path%"] = "\n# Path to Drush, added by 'drush init'.\nexport PATH=\"\$PATH:$drush_path\"\n\n"; + } + // If there is no ~/.drush/drush.bashrc file, then copy // the example bashrc file there if (!is_file($drush_bashrc)) { @@ -91,16 +101,6 @@ // ~/.bashrc or ~/.bash_profile $bashrc = drush_init_find_bashrc($home); - // If Drush is not in the $PATH, then figure out which - // path to add so that Drush can be found globally. - $add_path = drush_get_option('add-path', NULL); - if ((!drush_which("drush") || $add_path) && ($add_path !== FALSE)) { - $drush_path = drush_find_path_to_drush($home); - $drush_path = preg_replace("%^" . preg_quote($home) . "/%", '$HOME/', $drush_path); - - $bashrc_additions["%$drush_path%"] = "\n# Path to Drush, added by 'drush init'.\nexport PATH=\"\$PATH:$drush_path\"\n\n"; - } - // Modify the user's bashrc file, adding our customizations. $bashrc_contents = ""; if (file_exists($bashrc)) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.12/commands/pm/pm.drush.inc new/drush-8.1.13/commands/pm/pm.drush.inc --- old/drush-8.1.12/commands/pm/pm.drush.inc 2017-06-06 00:51:34.000000000 +0200 +++ new/drush-8.1.13/commands/pm/pm.drush.inc 2017-08-22 19:28:25.000000000 +0200 @@ -982,6 +982,7 @@ $extension_info = drush_get_extensions(); $recheck = TRUE; + $last_download = NULL; while ($recheck) { $recheck = FALSE; @@ -1005,6 +1006,11 @@ } } if (!empty($found)) { + // Prevent from looping if last download failed. + if ($found === $last_download) { + drush_log(dt("Unable to download some or all of the extensions."), LogLevel::WARNING); + break; + } drush_log(dt("The following projects provide some or all of the extensions not found:\n@list", array('@list' => implode("\n", $found))), LogLevel::OK); if (drush_get_option('resolve-dependencies')) { drush_log(dt("They are being downloaded."), LogLevel::OK); @@ -1053,12 +1059,18 @@ $unmet_project_list = array_merge($unmet_project_list, $unmet_projects); $msgs[] = dt("!module requires !unmet-projects", array('!unmet-projects' => implode(', ', $unmet_projects), '!module' => $module)); } + $found = array_merge($download, $unmet_project_list); + // Prevent from looping if last download failed. + if ($found === $last_download) { + drush_log(dt("Unable to download some or all of the extensions."), LogLevel::WARNING); + break; + } drush_log(dt("The following projects have unmet dependencies:\n!list", array('!list' => implode("\n", $msgs))), LogLevel::OK); if (drush_get_option('resolve-dependencies')) { drush_log(dt("They are being downloaded."), LogLevel::OK); } if (drush_get_option('resolve-dependencies') || drush_confirm(dt("Would you like to download them?"))) { - $download = array_merge($download, $unmet_project_list); + $download = $found; } } } @@ -1077,6 +1089,7 @@ system_list_reset(); } $extension_info = drush_get_extensions(); + $last_download = $download; $recheck = TRUE; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.12/composer.json new/drush-8.1.13/composer.json --- old/drush-8.1.12/composer.json 2017-06-06 00:51:34.000000000 +0200 +++ new/drush-8.1.13/composer.json 2017-08-22 19:28:25.000000000 +0200 @@ -66,6 +66,11 @@ "Unish": "tests/" } }, + "scripts": { + "lint": [ + "find includes -name '*.inc' -print0 | xargs -0 -n1 php -l" + ] + }, "extra": { "branch-alias": { "dev-master": "8.0.x-dev" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.12/docs/examples.md new/drush-8.1.13/docs/examples.md --- old/drush-8.1.12/docs/examples.md 2017-06-06 00:51:34.000000000 +0200 +++ new/drush-8.1.13/docs/examples.md 2017-08-22 19:28:25.000000000 +0200 @@ -1,18 +1,18 @@ The _examples_ folder contains example files which you may copy and edit as needed. Read the documentation right in the file. If you see an opportunity to improve the file, please submit a pull request. -* [drush.wrapper](https://raw.githubusercontent.com/drush-ops/drush/master/examples/drush.wrap...). A handy launcher script which calls the Drush located in vendor/bin/drush and can add options like --local, --root, etc. -* [example.aliases.drushrc.php](https://raw.githubusercontent.com/drush-ops/drush/master/examples/example.al...). Example site alias definitions. -* [example.bashrc](https://raw.githubusercontent.com/drush-ops/drush/master/examples/example.ba...). Enhance your shell with lots of Drush niceties including bash completion. -* [example.drush.ini](https://raw.githubusercontent.com/drush-ops/drush/master/examples/example.dr...). Configure your PHP just for Drush requests. -* [example.drushrc.php](https://raw.githubusercontent.com/drush-ops/drush/master/examples/example.dr...). A Drush configuration file. -* [example.make](https://raw.githubusercontent.com/drush-ops/drush/master/examples/example.ma...). An ini style make file. -* [example.make.yml](https://raw.githubusercontent.com/drush-ops/drush/master/examples/example.ma...). A YML make file. -* [example.prompt.sh](https://raw.githubusercontent.com/drush-ops/drush/master/examples/example.pr...). Displays Git repository and Drush alias status in your prompt. -* [git-bisect.example.sh](https://raw.githubusercontent.com/drush-ops/drush/master/examples/git-bisect...). Spelunking through Drush's git history with bisect. -* [helloworld.script](https://raw.githubusercontent.com/drush-ops/drush/master/examples/helloworld...). An example Drush script. -* [pm_update.drush.inc](https://raw.githubusercontent.com/drush-ops/drush/master/examples/pm_update....). Restore sqlsrv driver after core update. -* [policy.drush.inc](https://raw.githubusercontent.com/drush-ops/drush/master/examples/policy.dru...). A policy file can disallow prohibited commands/options etc. -* [sandwich.drush.inc](https://raw.githubusercontent.com/drush-ops/drush/master/examples/sandwich.d...). A fun example command inspired by a famous XKCD comic. -* [sync_via_http.drush.inc](https://raw.githubusercontent.com/drush-ops/drush/master/examples/sync_via_h...). sql-sync modification that transfers via http instead of rsync. -* [sync_enable.drush.inc](https://raw.githubusercontent.com/drush-ops/drush/master/examples/sync_enabl...). Automatically enable modules after a sql-sync. -* [xkcd.drush.inc](https://raw.githubusercontent.com/drush-ops/drush/master/examples/xkcd.drush...). A fun example command that browses XKCD comics. +* [drush.wrapper](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/drush.wrapper). A handy launcher script which calls the Drush located in vendor/bin/drush and can add options like --local, --root, etc. +* [example.aliases.drushrc.php](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/example.alias...). Example site alias definitions. +* [example.bashrc](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/example.bashr...). Enhance your shell with lots of Drush niceties including bash completion. +* [example.drush.ini](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/example.drush...). Configure your PHP just for Drush requests. +* [example.drushrc.php](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/example.drush...). A Drush configuration file. +* [example.make](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/example.make). An ini style make file. +* [example.make.yml](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/example.make....). A YML make file. +* [example.prompt.sh](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/example.promp...). Displays Git repository and Drush alias status in your prompt. +* [git-bisect.example.sh](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/git-bisect.ex...). Spelunking through Drush's git history with bisect. +* [helloworld.script](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/helloworld.sc...). An example Drush script. +* [pm_update.drush.inc](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/pm_update.dru...). Restore sqlsrv driver after core update. +* [policy.drush.inc](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/policy.drush....). A policy file can disallow prohibited commands/options etc. +* [sandwich.drush.inc](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/sandwich.drus...). A fun example command inspired by a famous XKCD comic. +* [sync_via_http.drush.inc](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/sync_via_http...). sql-sync modification that transfers via http instead of rsync. +* [sync_enable.drush.inc](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/sync_enable.d...). Automatically enable modules after a sql-sync. +* [xkcd.drush.inc](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/xkcd.drush.in...). A fun example command that browses XKCD comics. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.12/docs/index.md new/drush-8.1.13/docs/index.md --- old/drush-8.1.12/docs/index.md 2017-06-06 00:51:34.000000000 +0200 +++ new/drush-8.1.13/docs/index.md 2017-08-22 19:28:25.000000000 +0200 @@ -4,14 +4,14 @@ Resources ----------- -* [Install documentation](http://docs.drush.org/en/master/install/) +* [Install documentation](http://docs.drush.org/en/8.x/install/) * [General documentation](http://docs.drush.org) * [API Documentation](http://api.drush.org) * [Drush Commands](http://drushcommands.com) * Subscribe [this atom feed](https://github.com/drush-ops/drush/releases.atom) to receive notification on new releases. Also, [Version eye](https://www.versioneye.com/). * [Drush packages available via Composer](http://packages.drush.org) * [A list of modules that include Drush integration](https://www.drupal.org/project/project_module?f[2]=im_vid_3%3A4654&solrsort=ds_project_latest_release+desc) -* Drush comes with a [full test suite](https://github.com/drush-ops/drush/blob/master/tests/README.md) powered by [PHPUnit](https://github.com/sebastianbergmann/phpunit). Each commit gets tested by the awesome [Travis.ci continuous integration service](https://travis-ci.org/drush-ops/drush). +* Drush comes with a [full test suite](https://github.com/drush-ops/drush/blob/8.x/tests/README.md) powered by [PHPUnit](https://github.com/sebastianbergmann/phpunit). Each commit gets tested by the awesome [Travis.ci continuous integration service](https://travis-ci.org/drush-ops/drush). Support ----------- @@ -36,7 +36,7 @@ ##### Does Drush have unit tests? -Drush has an excellent suite of unit tests. See [tests/README.md](https://github.com/drush-ops/drush/blob/master/tests/README.md) for more information. +Drush has an excellent suite of unit tests. See [tests/README.md](https://github.com/drush-ops/drush/blob/8.x/tests/README.md) for more information. Credits diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.12/docs/install-alternative.md new/drush-8.1.13/docs/install-alternative.md --- old/drush-8.1.12/docs/install-alternative.md 2017-06-06 00:51:34.000000000 +0200 +++ new/drush-8.1.13/docs/install-alternative.md 2017-08-22 19:28:25.000000000 +0200 @@ -14,8 +14,8 @@ # Install a specific version of Drush, e.g. Drush 7.1.0 composer global require drush/drush:7.1.0 - # Install master branch as a git clone. Great for contributing back to Drush project. - composer global require drush/drush:dev-master --prefer-source + # Install 8.x branch as a git clone. Great for contributing back to Drush project. + composer global require drush/drush:8.x-dev --prefer-source * Alternate way to install for all users via Composer: @@ -30,5 +30,5 @@ * [Acquia Dev Desktop](https://www.acquia.com/downloads) is excellent, and includes Drush. See the terminal icon after setting up a web site. * Or consider running Linux/OSX via Virtualbox. [Drupal VM](http://www.drupalvm.com/) and [Vlad](https://github.com/hashbangcode/vlad) are popular.* These Windows packages include Drush and its dependencies (including MSys). * [7.0.0 (stable)](https://github.com/drush-ops/drush/releases/download/7.0.0/windows-7.0.0.zip). * [6.6.0](https://github.com/drush-ops/drush/releases/download/6.6.0/windows-6.6.0.zip). * [6.0](https://github.com/drush-ops/drush/releases/download/6.0.0/Drush-6.0-2013-08...). -* Or install LAMP on your own, and run Drush via [Git's shell](https://git-for-windows.github.io/), in order to insure that [all depedencies](https://github.com/acquia/DevDesktopCommon/tree/master/bintools-win/msys/bin) are available. -* When creating site aliases for Windows remote machines, pay particular attention to information presented in the example.aliases.drushrc.php file, especially when setting values for 'remote-host' and 'os', as these are very important when running Drush rsync and Drush sql-sync commands. \ No newline at end of file +* Or install LAMP on your own, and run Drush via [Git's shell](https://git-for-windows.github.io/), in order to insure that [all depedencies](https://github.com/acquia/DevDesktopCommon/tree/8.x/bintools-win/msys/bin) are available. +* When creating site aliases for Windows remote machines, pay particular attention to information presented in the example.aliases.drushrc.php file, especially when setting values for 'remote-host' and 'os', as these are very important when running Drush rsync and Drush sql-sync commands. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.12/docs/install.md new/drush-8.1.13/docs/install.md --- old/drush-8.1.12/docs/install.md 2017-06-06 00:51:34.000000000 +0200 +++ new/drush-8.1.13/docs/install.md 2017-08-22 19:28:25.000000000 +0200 @@ -17,10 +17,10 @@ ``` * MAMP users, and anyone wishing to launch a non-default PHP, needs to [edit ~/.bashrc so that the right PHP is in your $PATH](http://stackoverflow.com/questions/4145667/how-to-override-the-path-of-php-t...). -* We have documented [alternative ways to install](http://docs.drush.org/en/master/install-alternative/), including [Windows](http://docs.drush.org/en/master/install-alternative/#windows). +* We have documented [alternative ways to install](http://docs.drush.org/en/8.x/install-alternative/), including [Windows](http://docs.drush.org/en/8.x/install-alternative/#windows). * If you need to pass custom php.ini values, run `php -d foo=bar drush.phar --php-options=foo=bar` -* Your shell now has [useful bash aliases and tab completion for command names, site aliases, options, and arguments](https://raw.githubusercontent.com/drush-ops/drush/master/examples/example.ba...). -* A [drushrc.php](https://raw.githubusercontent.com/drush-ops/drush/master/examples/example.dr...) has been copied to ~/.drush above. Customize it to save typing and standardize options for commands. +* Your shell now has [useful bash aliases and tab completion for command names, site aliases, options, and arguments](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/example.bashr...). +* A [drushrc.php](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/example.drush...) has been copied to ~/.drush above. Customize it to save typing and standardize options for commands. * Upgrade using this same procedure. Install a site-local Drush @@ -28,7 +28,7 @@ In addition to the global Drush, it is recommended that Drupal 8 sites be [built using Composer, with Drush listed as a dependency](https://github.com/drupal-composer/drupal-project). 1. When you run `drush`, the global Drush is called first and then hands execution to the site-local Drush. This gives you the convenience of running `drush` without specifying the full path to the executable, without sacrificing the safety provided by a site-local Drush. -2. Optional: Copy the [examples/drush.wrapper](https://github.com/drush-ops/drush/blob/master/examples/drush.wrapper) file to your project root and modify to taste. This is a handy launcher script; add --local here to turn off all global configuration locations, and maintain consistency over configuration/aliases/commandfiles for your team. +2. Optional: Copy the [examples/drush.wrapper](https://github.com/drush-ops/drush/blob/8.x/examples/drush.wrapper) file to your project root and modify to taste. This is a handy launcher script; add --local here to turn off all global configuration locations, and maintain consistency over configuration/aliases/commandfiles for your team. 3. Note that if you have multiple Drupal sites on your system, it is possible to use a different version of Drush with each one. Drupal Compatibility diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.12/docs/usage.md new/drush-8.1.13/docs/usage.md --- old/drush-8.1.12/docs/usage.md 2017-06-06 00:51:34.000000000 +0200 +++ new/drush-8.1.13/docs/usage.md 2017-08-22 19:28:25.000000000 +0200 @@ -46,5 +46,5 @@ $ drush sql-sync --structure-tables-key=custom @live @dev ``` -See [example.aliases.drushrc.php](https://raw.githubusercontent.com/drush-ops/drush/master/examples/example.al...) for more information. +See [example.aliases.drushrc.php](https://raw.githubusercontent.com/drush-ops/drush/8.x/examples/example.alias...) for more information. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.12/drush.info new/drush-8.1.13/drush.info --- old/drush-8.1.12/drush.info 2017-06-06 00:51:34.000000000 +0200 +++ new/drush-8.1.13/drush.info 2017-08-22 19:28:25.000000000 +0200 @@ -1 +1 @@ -drush_version=8.1.12 +drush_version=8.1.13 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.12/includes/drush.inc new/drush-8.1.13/includes/drush.inc --- old/drush-8.1.12/includes/drush.inc 2017-06-06 00:51:34.000000000 +0200 +++ new/drush-8.1.13/includes/drush.inc 2017-08-22 19:28:25.000000000 +0200 @@ -1028,9 +1028,19 @@ // Remove the header line. array_shift($output); // Remove the prefix verb from each line. - $output = array_map(create_function('$str', 'return substr($str, strpos($str, ":") + 3 + ' . strlen($destination) . ');'), $output); + $output = array_map( + function ($str) use ($destination) { + return substr($str, strpos($str, ":") + 3 + strlen($destination)); + }, + $output + ); // Remove any remaining blank lines. - $return = array_filter($output, create_function('$str', 'return $str != "";')); + $return = array_filter( + $output, + function ($str) { + return $str != ""; + } + ); } } // Otherwise we have a possibly-compressed Tar file. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.12/includes/startup.inc new/drush-8.1.13/includes/startup.inc --- old/drush-8.1.12/includes/startup.inc 2017-06-06 00:51:34.000000000 +0200 +++ new/drush-8.1.13/includes/startup.inc 2017-08-22 19:28:25.000000000 +0200 @@ -383,7 +383,7 @@ } // Always use pcntl_exec if it exists. - $use_pcntl_exec = function_exists("pcntl_exec"); + $use_pcntl_exec = function_exists("pcntl_exec") && (strpos(ini_get('disable_functions'), 'pcntl_exec') === FALSE); // If we have posix_getppid, then pass in the shell pid so // that 'site-set' et. al. can work correctly. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.12/lib/Drush/Sql/SqlBase.php new/drush-8.1.13/lib/Drush/Sql/SqlBase.php --- old/drush-8.1.12/lib/Drush/Sql/SqlBase.php 2017-06-06 00:51:34.000000000 +0200 +++ new/drush-8.1.13/lib/Drush/Sql/SqlBase.php 2017-08-22 19:28:25.000000000 +0200 @@ -2,6 +2,7 @@ namespace Drush\Sql; +use Drupal\Core\Database\Database; use Drush\Log\LogLevel; use Webmozart\PathUtil\Path; @@ -201,7 +202,7 @@ // Enable prefix processing which can be dangerous so off by default. See http://drupal.org/node/1219850. if (drush_get_option('db-prefix')) { if (drush_drupal_major_version() >= 7) { - $query = \Database::getConnection()->prefixTables($query); + $query = Database::getConnection()->prefixTables($query); } else { $query = db_prefix_tables($query); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/drush-8.1.12/tests/commandTest.php new/drush-8.1.13/tests/commandTest.php --- old/drush-8.1.12/tests/commandTest.php 2017-06-06 00:51:34.000000000 +0200 +++ new/drush-8.1.13/tests/commandTest.php 2017-08-22 19:28:25.000000000 +0200 @@ -94,8 +94,7 @@ $options += array( 'backend' => NULL, // To obtain and parse the error log. ); + // Assert that this has an error. $this->drush('devel-reinstall', array(), $options, NULL, NULL, self::EXIT_ERROR); - $parsed = $this->parse_backend_output($this->getOutput()); - $this->assertArrayHasKey("DRUSH_COMMAND_DEPENDENCY_ERROR", $parsed['error_log']); } } ++++++ drush-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 2017-06-06 21:39:01.909003762 +0200 +++ new/vendor/autoload.php 2017-08-22 23:54:50.642196860 +0200 @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit5f2cf6e36376ba78e3ca7b274afdf03b::getLoader(); +return ComposerAutoloaderInit31d66a8bf974eeb7cc69e6b8b67d940b::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 2017-06-06 21:39:01.909003762 +0200 +++ new/vendor/composer/autoload_real.php 2017-08-22 23:54:50.642196860 +0200 @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit5f2cf6e36376ba78e3ca7b274afdf03b +class ComposerAutoloaderInit31d66a8bf974eeb7cc69e6b8b67d940b { private static $loader; @@ -19,15 +19,15 @@ return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit5f2cf6e36376ba78e3ca7b274afdf03b', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit31d66a8bf974eeb7cc69e6b8b67d940b', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInit5f2cf6e36376ba78e3ca7b274afdf03b', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit31d66a8bf974eeb7cc69e6b8b67d940b', '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\ComposerStaticInit5f2cf6e36376ba78e3ca7b274afdf03b::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit31d66a8bf974eeb7cc69e6b8b67d940b::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\ComposerStaticInit5f2cf6e36376ba78e3ca7b274afdf03b::$files; + $includeFiles = Composer\Autoload\ComposerStaticInit31d66a8bf974eeb7cc69e6b8b67d940b::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire5f2cf6e36376ba78e3ca7b274afdf03b($fileIdentifier, $file); + composerRequire31d66a8bf974eeb7cc69e6b8b67d940b($fileIdentifier, $file); } return $loader; } } -function composerRequire5f2cf6e36376ba78e3ca7b274afdf03b($fileIdentifier, $file) +function composerRequire31d66a8bf974eeb7cc69e6b8b67d940b($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 2017-06-06 21:39:01.909003762 +0200 +++ new/vendor/composer/autoload_static.php 2017-08-22 23:54:50.642196860 +0200 @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit5f2cf6e36376ba78e3ca7b274afdf03b +class ComposerStaticInit31d66a8bf974eeb7cc69e6b8b67d940b { public static $files = array ( '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', @@ -157,10 +157,10 @@ public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit5f2cf6e36376ba78e3ca7b274afdf03b::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit5f2cf6e36376ba78e3ca7b274afdf03b::$prefixDirsPsr4; - $loader->prefixesPsr0 = ComposerStaticInit5f2cf6e36376ba78e3ca7b274afdf03b::$prefixesPsr0; - $loader->classMap = ComposerStaticInit5f2cf6e36376ba78e3ca7b274afdf03b::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit31d66a8bf974eeb7cc69e6b8b67d940b::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit31d66a8bf974eeb7cc69e6b8b67d940b::$prefixDirsPsr4; + $loader->prefixesPsr0 = ComposerStaticInit31d66a8bf974eeb7cc69e6b8b67d940b::$prefixesPsr0; + $loader->classMap = ComposerStaticInit31d66a8bf974eeb7cc69e6b8b67d940b::$classMap; }, null, ClassLoader::class); }