Problem/Motivation
As we will add a feature to delete all revisions of a specific node prior to a selected one in #3072960: Port node_revision_bulk_delete to D8 and merge to node_revision_delete will be great to have a drush command to have the same feature from the command line.
Proposed resolution
Create a new drush command to delete all revisions of a specific node prior to a selected one.
Maybe we need to create some child issues to split the tasks as we maybe will need some validation for this command.
Remaining tasks
Define the drush command structure.
Update the README.txt file with the new command.
Update the Project Page with the drush command.
User interface changes
None.
API changes
A new drush command will be available.
Data model changes
None.
Release notes snippet
A release note must be published explaining how to use the drush command.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | node_revision_delete-drush_command-3073007-5-8.x.patch | 3.73 KB | robert ngo |
| #4 | node_revision_delete-drush_command-3073007-4-8.x.patch | 3.74 KB | robert ngo |
Comments
Comment #2
adriancidComment #3
robert ngoComment #4
robert ngoAdd drush command to delete revisions prior to a revision.
Usage:
drush nrd-dpr 1 3Comment #5
robert ngoComment #6
robert ngoUpdated patch to fix some English typos.
Comment #10
adriancid