For interactive users, it would be very help to see a summary of what will happen before running a `drush updatedb`. User would review and then click y to proceed. The ouput would be like the D7 updates page, which uses reflection to show the doxygen for each pending update function. See update_script_selection_form() at http://cvs.drupal.org/viewvc.py/drupal/drupal/update.php?view=markup

CommentFileSizeAuthor
#2 updatedb.patch2.01 KBmoshe weitzman

Comments

moshe weitzman’s picture

Title: Add an information step to update command » Add an information step to updatedb command
Assigned: Unassigned » adrian
Status: Active » Needs review

Here is the patch for 6.x. I tried to be as unintrusive as possible. Non interactive users of this command can pass -y to skip the confirmation. I will patch 5 and 7 once we agree on this.

Assigning to Adrian for review.

moshe weitzman’s picture

StatusFileSize
new2.01 KB
moshe weitzman’s picture

Priority: Normal » Critical
moshe weitzman’s picture

Status: Needs review » Fixed

Decided to commit this.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.