Hi Chris, Thanks for the detailed information, we will give it a try.
Our system is solely for in-house usage and won't be available for use externally. Thanks. On Thursday, June 30, 2016 at 1:37:45 PM UTC-7, Christian Hammond wrote: > > Hi, > > 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 > SCMTools. > > > https://github.com/reviewboard/reviewboard/tree/release-2.5.x/reviewboard/scmtools > > 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: > > * get_file() > * file_exists() > * parse_diff_revision() > * get_fields() > > 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 > https://github.com/reviewboard/reviewboard/blob/release-2.5.x/setup.py > > 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. > > Christian > > -- > Christian Hammond > 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 <savi...@gmail.com > <javascript:>> 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 >> this. >> >> >> Thanks. >> >> -- >> 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...@googlegroups.com <javascript:>. >> 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.