Hi,

You can use a pre-commit hook for the Subversion repository to enforce
changes to be reviewed before they're allowed in. There's no official one
yet, but we're planning to ship some new hooks as part of the next release
of RBTools.

Basically, you'd write a pre-commit hook that grabs the review request ID
from a commit message, looks up the review request from the API, and checks
the "approved" field for the review request. If it's approved, let it in.
Otherwise, block the commit and display the failure from the
"approval_failure" field.

Planning to make hooks a lot easier to set up and configure in RBTools
0.7.10.

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Mon, Feb 13, 2017 at 9:53 AM, Dhruv Paranjape <[email protected]>
wrote:

> So I am setting up review board for myself and my team. We work with a
> self hosted svn repository. Earlier I have worked with gerrit and git. I
> loved how gerrit allowed control over the repository and all commits had to
> be reviewed, but yet so easy to merge. Was wondering if you guys could help
> me setup something similar with review board + svn.
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to