I'd suggest making use of the "approval" state. This is available through
the API, and can be checked by a pre-commit hook. An example hook for git
can be found at
By default, a review request is "approved" if there's at least one "Ship
It" and no open issues. That logic can be changed by creating an extension
that uses the ReviewRequestApprovalHook:
If you choose to do it through some other mechanism, I'd highly recommend
making use of the API rather than trying to query the database directly.
On Thu, Feb 18, 2016 at 2:23 AM john levin <smart.le...@gmail.com> wrote:
> I'm pretty new to ReviewBoard. The Motive of us to Create a Pre-commit
> hook and block users whose review havent approved.
> So is this possible to connect ReviewBoard DB in backend ? So that we can
> give query and make a check in pre-commit hooks.
> Or any other way to achieve this ?
> Supercharge your Review Board with Power Pack:
> Want us to host Review Board for you? Check out RBCommons:
> 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.
Supercharge your Review Board with Power Pack:
Want us to host Review Board for you? Check out RBCommons:
Happy user? Let us know! https://www.reviewboard.org/users/
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.