Reviewboard and Gitlab

36 views
Skip to first unread message

Koushik Roy

unread,
Jun 25, 2019, 10:03:41 AM6/25/19
to Review Board Community

Trying to setup and use -
  - Reviewboard 3.0.6 + Gitlab 11.10.0-ee

We expect that thousands of developers would use this setup and create thousands of projects(or repo, in Gitlab terminology).

According to my understanding of Reviewboard setup, each of these thousands of projects need to be added in Reviewboard
as a unique repository. This is absolutely not a sustainable approach.

How can I add ONE (or JUST a FEW) Gitlab repositories in Reviewboard and make thousands of developers with thousands
of projects use Gitab+Reviewboard?

I appreciate any help.
Thank you.

Koushik Roy

Paul Mansfield

unread,
Jun 26, 2019, 5:07:20 AM6/26/19
to Review Board Community
I'd use the gitlab API to get a list of repositories


and get a list of repositories in RB and compare and create as required

Christian Hammond

unread,
Jun 26, 2019, 7:29:57 AM6/26/19
to revie...@googlegroups.com
This for now is the way to do it. There are technical reasons why we need one repository entry per actual repository, and there’s just no way to have a single entry act as a proxy for multiple ones.

Once we wrap up RB4 (soon! Finishing the last big project in it), we’re aiming to redo repository creation for RB5. One major goal is to allow for looking up available repositories (listing all owned by a user/org, or searching) and adding all at once. Just check the boxes and click Add.

On top of this, we’re planning to allow webhooks to be configured on services that offer this to notify us when new repositories owned by a user/org are created on the service, so we can auto-add them.

That’s still down the road, but it’s the equivalent of what Paul mentioned.

Now, I’d recommend doing the creation via the Python modules in Review Board. The API support for creating service-backed repositories isn’t fully there. They work great for simple standalone repositories, but are still missing some things needed to create ones backed by services like GitLab. Using Review Board’s Repository class in Python (via a script or extension) will be easier.

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/7721373d-5128-45b1-be18-e39799b1ad6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

Koushik Roy

unread,
Jun 26, 2019, 9:50:00 AM6/26/19
to Review Board Community
Paul, Christian,

  Thanks very much for giving the useful insight. I will look forward to these enhancements.

Koushik


On Wednesday, June 26, 2019 at 7:29:57 AM UTC-4, Christian Hammond wrote:
This for now is the way to do it. There are technical reasons why we need one repository entry per actual repository, and there’s just no way to have a single entry act as a proxy for multiple ones.

Once we wrap up RB4 (soon! Finishing the last big project in it), we’re aiming to redo repository creation for RB5. One major goal is to allow for looking up available repositories (listing all owned by a user/org, or searching) and adding all at once. Just check the boxes and click Add.

On top of this, we’re planning to allow webhooks to be configured on services that offer this to notify us when new repositories owned by a user/org are created on the service, so we can auto-add them.

That’s still down the road, but it’s the equivalent of what Paul mentioned.

Now, I’d recommend doing the creation via the Python modules in Review Board. The API support for creating service-backed repositories isn’t fully there. They work great for simple standalone repositories, but are still missing some things needed to create ones backed by services like GitLab. Using Review Board’s Repository class in Python (via a script or extension) will be easier.

Christian

On Wed, Jun 26, 2019 at 02:07 Paul Mansfield <paul.m...@agileanalog.com> wrote:
I'd use the gitlab API to get a list of repositories


and get a list of repositories in RB and compare and create as required

--
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 revie...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages