2082: Submit/Discard/Delete hooks

benjamin********@gmai***** (Google Code) (Is this you? Claim this profile.)
It would be *very* nice if there was a way to specify an arbitrary system command that is ran when a review request is submitted, discarded, or deleted (preferably with the ability to specify different commands for each action).

Use case:  ReviewBoard as a "gatekeeper" for QA promotion.

Consider a commonly used distributed SCM QA workflow. You have a "dev" and "QA" branch or repo for each of your projects.  Users clone/pull from dev, push to QA, and changes that pass QA are pushed/merged back into dev.  This way, teams are always developing against code that has passed some basic QA.

Now imagine that your QA branch has a commit hook which automatically generates a review request on behalf of the committing user.  The above feature request could make it really easy to roll back discarded/deleted requests, as well as to push diffs from "Submitted" requests back into the dev repo.
chipx86
#1 chipx86
This sort of ability will be covered by the extensions work going in after 1.6.
  • +Milestone-Release2.0
david
#2 david
  • +Component-Extensions
#3 lucky******@gmai***** (Google Code) (Is this you? Claim this profile.)
What is the schedule of this feature?
david
#4 david
Features like this generally get done when someone contributes a patch to do it.
#6 benjamin********@gmai***** (Google Code) (Is this you? Claim this profile.)
Wow, it's been a long time since I've looked at this.  Apologies.

Was this feature provided by the extension API somehow, or was it suggested that it should be built as an extension once that feature was released?  I'd like to work on this over the weekend, but I want to make sure I'm building it in the right place so that the patches will be accepted (or not I suppose, if it's just an extension).
david
#7 david
  • -Milestone-Release2.0
david
#8 david

This is definitely now possible by writing an extension that listens to signals.

  • -New
    +Fixed