Content Moderation Revision Delete allows administrators to prune draft revisions from nodes in order to prevent very large databases. It is similar to the Node Revisions Delete module, but it is intended to be used on sites using Content Moderation. It has the following differences from Node Revision Delete:
- Builds its query based on the content_moderation_state_field_revision table (no joins) instead of the node_field_revision table with joins;
- It handles multilingual sites;
- It removes all revisions EXCEPT published, the getLatestTranslationAffectedRevisionId and any forward revisions;
- It only works on published nodes, assuming non-published nodes may be in a workflow still and diffs of the previous revisions may be required.
Project link
https://www.drupal.org/project/cm_revision_delete
Git instructions
git clone --branch '1.0.x' https://git.drupalcode.org/project/cm_revision_delete.git
Comments
Comment #2
smulvih2Keeping this in Needs Work as Readme file is needed before review.
Comment #3
smulvih2Added Readme file, ready for review.
Comment #4
avpadernoComment #5
avpadernoThank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Comment #6
smulvih2@apaderno thank you very much for the resource links! Will review these shortly this week and look at joining the IRC chat as well.