programmatically add new repositories?

22 views
Skip to first unread message

Paul Mansfield

unread,
Jun 13, 2019, 10:19:02 AM6/13/19
to Review Board Community
Hi,
We want to switch from using pull requests with git (AWS CodeCommit) to using reviewboard (but still with AWS CC)

I can programmatically generate a list of repositories using the aws python library - we have over 30 - it's just a few lines of python.

Is there an API for adding repositories to our reviewboard server? We are happy to buy a PowerPack if necessary to make this easier.

thanks
Paul

Christian Hammond

unread,
Jun 13, 2019, 4:12:20 PM6/13/19
to revie...@googlegroups.com
Hi Paul,

We have an older API for creating repositories, but it's due for an overhaul and doesn't currently support creating repositories against CodeCommit. However, full repository creation can be scripted with Python directly on the Review Board server, so that's something that we can help go over, providing sample code and go over how to run it against your Review Board configuration.

Any communication with AWS CodeCommit will require a Power Pack license, so you'll definitely need that (the Git protocol is too limited so we have to talk directly to the APIs for Git hosting services instead).

Christian

--
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 "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/8b052aa7-db6b-44cf-8a69-72027953a92a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

Paul Mansfield

unread,
Jun 14, 2019, 5:55:41 AM6/14/19
to Review Board Community
Hi,
thanks for coming back to me.
if you have sample code for getting a list of repositories and creating them, that would be most excellent. I have python scripts which scan our AWS/CC repositories and when new ones appear, add them to our Concourse CI system, or Sphinx autodoc etc, so being able to plug into reviewboard would be ideal.

we're in the process of working out exactly what we need for our PPack licence, hopefully I should have authorisation to buy it soon.

thanks
Paul
Reply all
Reply to author
Forward
0 new messages