We and our clients have faced multiple times when we wanted to delete all revisions of a node prior a specific one without setting up automated processes.
This module helps to delete all prior revisions when deleting a node revision.
We didn't want to create a whole new revision list or management panel, but in the other hand we were not able to hook properly to the revisions list page to place checkboxes or extra links. This we hooked into the revision deletion screen by adding a new checkbox.

Project page: https://drupal.org/sandbox/gaborpeter/2092807
Git clone: git clone --branch 7.x-1.x http://git.drupal.org/sandbox/gaborpeter/2092807.git

Test method:
- enable revisioning for a content type
- create 5 revisions
- go to the node's revision tab and delete a revision (which is not the last one in the list)
- you will see a new checkbox to check to delete prior revisions of the currently deleted one


PA robot’s picture

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

aramboyajyan’s picture

The module seems to be completely ready.

There were no issues reported by Coder and Pareview.sh service.

Everything works without problems. Tested on several content types ranging from custom ones with additional fields to ones generated by core modules (blog, forum, poll).

Couple of really minor details:

  • there is an unnecessary single quote right next to “Delete all X revisions [...]” in README.txt file.
  • there is an extra space before colon on line 26, file node_revision_bulk_delete.batch.inc - “[...] while processing @operation with arguments : @args”

The module is quite handy for everyone using revisioning system, so if there are enough people interested in it, you might try getting it into core one day.

iamrasec’s picture

Status: Needs review » Reviewed & tested by the community

I think this module is ready. Having no issues whatsoever during testing.

kscheirer’s picture

Title: [D7] Node revision bulk delete » [D7] Node revision bulk delete
Status: Reviewed & tested by the community » Needs work
Project page
Please take a moment to make your project page follow tips for a great project page. Your README seems pretty detailed, could you just use that?

This text is not quite clear: t('Delete all %revs_no revisions as well prior this one.'. How about "Also delete %revs_no revisions prior to this one." instead?
It might be nice if you listed the extra revision_ids/titles that were going to be deleted.

Otherwise this looks good, just setting to needs work because of the sparse project page.

Top Shelf Modules - Crafted, Curated, Contributed.

kscheirer’s picture

Status: Needs work » Fixed

Actually, your project page is ok.

Thanks for your contribution, gaborpeter!

I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.

Here are some recommended readings to help with excellent maintainership:

You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!

Thanks, 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.

Thanks to the dedicated reviewer(s) as well.

Top Shelf Modules - Crafted, Curated, Contributed.

gaborpeter’s picture

Thank you everyone for your help to review my module and for the further informations.

In the new commit I've fixed the recommendations of kscheirer and topsitemakers.
Here is a screenshot how a list have been added to display the revisions. http://bit.ly/1bSxPei

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

small grammar issue