We don't have a full guide up anywhere, but you can get started by looking
at the source code for our existing repository integrations. We call these
In there you'll see git.py, cvs.py, etc. Each will define a class that
implements a handful of functions (see core.py for the base class).
At a minimum, you'll need to implement:
You'll need to package this as a Python package with an Entrypoint (a
mechanism for registration for hooks into code) to register this SCMTool.
See the "reviewboard.scmtools" part in
Most source code management services don't provide diffs that contain
enough information to properly identify a file. There is *no* standard for
this in diffs. You will more than likely need to write a subclass of
DiffParser to fetch whatever information may be in those diffs, assuming
the native diffs contain sufficient information (a file path and a
revision). If they don't, you'll also need to write a generator for diff
files. You can write this as a plugin to RBTools.
If your system is custom-built in-house, there are some things we can
suggest for the diffs. I'd also be interested in hearing more about it (is
this a product you're developing, or intended solely for in-house work?).
The reviewboard-dev list would be a good place for further discussion on
this, as there are other developers who pay attention to that list who can
also provide assistance.
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>
On Wed, Jun 29, 2016 at 10:52 AM, lams lam <savio...@gmail.com> wrote:
> Hi All,
> Is there an API/documenation to integrate review board with additional
> source code repositories? We have an in-house built version control system
> and would like to use review board with it. Appreciate any information on
> 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.