John,

I'd recommend basing your script on the git pre-receive hook at
https://github.com/reviewboard/rbtools/blob/master/contrib/tools/git-hook-check-approval

Basically, in your pre-commit hook, parse the commit message to find a
review request link, and then use that to check the approval API to see if
that review request has been approved.

If you do implement this, we'd be happy to accept it and ship it in the
contrib/ directory of rbtools.

-David

On Mon, Mar 28, 2016 at 2:55 AM john levin <smart.le...@gmail.com> wrote:

> Hi,
>
> Could someone let me know how to integrate ReviewBoard with SVN using
> pre-commit. I googled and got some info that API's can be useful but i dont
> know how to use those API's.
>
> Any Documentations on this ?
>
> /BR
> John
>
> --
> 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 reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
-David

-- 
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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to