-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drush deregister improvements #4272
Conversation
@@ -123,6 +123,11 @@ dkan:harvest:deregister | |||
**Arguments** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's define this a little more on line 121.
Deregister a harvest. This action removes the harvest plan from the system, but will leave the datasets in place. This is good if you are using harvest to migrate content and you do not plan on using the harvest feature to update the datasets.
If you want to remove the harvest plan AND the datasets associated with it, use the --revert
option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also update the dkan:harvest:revert description
Revert a harvest, i.e. remove harvested entities and unpublish orhpaned keywords, themes, and distributions. The harvest plan will remain and can be run again to generate the datasets after any issues have been resolved.
Fixes [issue#]
Describe your changes
Modifies
drush dkan:harvest:deregister
:-y
,--yes
, or--no-interaction
.--revert
. This will revert all datasets in the harvest before deregistering, and is the equivalent ofdrush dkan:harvest:revert ID && drush dkan:harvest:deregister ID
QA Steps
Checklist before requesting review
If any of these are left unchecked, please provide an explanation