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

smulvih2 created an issue. See original summary.

smulvih2’s picture

Keeping this in Needs Work as Readme file is needed before review.

smulvih2’s picture

Status: Needs work » Needs review

Added Readme file, ready for review.

avpaderno’s picture

Issue summary: View changes
avpaderno’s picture

Assigned: Unassigned » avpaderno
Status: Needs review » Fixed

Thank 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.

smulvih2’s picture

@apaderno thank you very much for the resource links! Will review these shortly this week and look at joining the IRC chat as well.

Status: Fixed » Closed (fixed)

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