Code Monkey home page Code Monkey logo

drupal-auto-update's People

Contributors

populist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

drupal-auto-update's Issues

Drush fails when trying to update contrib modules

Drush fails when trying to update contrib modules:

Message in Slack:
Drupal contrib has *updates available* for the following modules: Command, pm-updatestatus, needs, a, higher, bootstrap, level, to, run, -, you, [error], to, run, this, command., The, drush, command, 'pm-updatestatus', could, not, be, executed., [error], Could, not, find, a, Drupal, settings.php, file, at, [error], sites/default/settings.php.

Circle CI during drupal-auto-update.sh:

Command pm-updatestatus needs a higher bootstrap level to run - you      [error]
will need to invoke drush from a more functional Drupal environment
to run this command.
The drush command 'pm-updatestatus' could not be executed.               [error]
Could not find a Drupal settings.php file at                             [error]
sites/default/settings.php.
 [notice] Command: auto-drupes.update-dr -- drush pm-updatestatus [Exit: 1]
 [error]   
 [notice] Command: auto-drupes.update-dr -- drush pm-updatestatus [Exit: 1]
 [error]   

Updating Drupal modules on the update-dr multidev...
Command pm-updatecode needs a higher bootstrap level to run - you        [error]
will need to invoke drush from a more functional Drupal environment
to run this command.
The drush command 'pm-updatecode' could not be executed.                 [error]
Could not find a Drupal settings.php file at                             [error]
sites/default/settings.php.
 [notice] Command: auto-drupes.update-dr -- drush pm-updatecode [Exit: 1]
 [error]   

Unreliable pm-updatestatus result

I'm finding the following line of code is returning a false positive result when module names are long. See the screenshot. Would another result format work better? of possibly using the --pipe option instead?

PLUGIN_UPDATES="$(terminus drush $SITE_UUID.$TERMINUS_ENV -- pm-updatestatus --format=list | grep -v ok)"

image

BTW, thanks for this. There is real value in the concept.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.