Re: Git repository setting

536 views
Skip to first unread message

Christian Hammond

unread,
Jul 1, 2012, 2:57:49 PM7/1/12
to revie...@googlegroups.com
Hi Michael,

RB doesn't manage the clone at all. You'd need a script to keep it up-to-date.

What we strongly recommend is to use something like cgit/gitweb on the server with the Git repository, and use that for access. Sounds like that's a problem with Heroku though? Can you go into more detail about that?

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Sun, Jul 1, 2012 at 4:02 AM, Michael Fang <airfa...@gmail.com> wrote:
Hi RB devs, thanks for such a cool tool.

I am trying to set up a custom git repo (since my app was hosted on Heroku, it doesn't seem to have web access for remote files). I guess my only bet is to use the "local clone" approach described here? http://www.reviewboard.org/docs/manual/dev/admin/configuration/repositories/#local-clone

If I understand the doc correctly, am I responsible for keeping the local clone on the RB server in sync, or RB will automatically pull the latest version of the files via mirror path whenever a review request is posted?

Thanks!

--
Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to reviewboard...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en

Michael Fang

unread,
Jul 2, 2012, 2:12:09 AM7/2/12
to revie...@googlegroups.com
Hey Chris,

Thanks for replying. I understand now (at least we have a last resort). Our code is also hosted on Bitbucket using git, but I noticed that RB doesn't support git for Bitbucket (the dropdown menu has only mercurial), so I also tried to set it up manually:

Hosting service: None
Repository type: Git
Mirror Path: g...@bitbucket.org:USERNAME/PROJECT.git

When I click save, RB asks me to either upload a ssh key or generate one, I tried upload a public key that worked for me but RB says "Error uploading SSH key: this SSH key is not a valid RSA or DSS key". If I use the generated one, when I click save RB would say "Unable to authenticate against this repository using one of the supported authentication types (publickey)"

Is there anything thing wrong with my settings?

To unsubscribe from this group, send email to reviewboard+unsubscribe@googlegroups.com

Christian Hammond

unread,
Jul 2, 2012, 2:16:03 AM7/2/12
to revie...@googlegroups.com
You'd need to upload the private key to Review Board. Review Board needs a key it can use to authenticate with other services, and a public key is no more useful to it than it would be for you if you were to try to SSH into another box.

It's important to know that BitBucket's Git support in their API is broken, and useless to us. Unfortunately, until they fix that, it's impossible to use a third-party service to integrate with BitBucket to fetch files with the revision information contained in a diff.

I've been in contact with BitBucket, and they're aware of the problem, but there's no ETA on it, unfortunately.


Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


To unsubscribe from this group, send email to reviewboard...@googlegroups.com

Michael Fang

unread,
Jul 2, 2012, 3:13:05 AM7/2/12
to revie...@googlegroups.com
Good to know. For now I guess we can live with automatic syncing.

Thanks Chris!

David Trowbridge

unread,
May 20, 2013, 2:14:10 AM5/20/13
to reviewboard, Christian Hammond
Unfortunately not. We've repeatedly asked BitBucket if they can implement the relatively trivial API that ReviewBoard needs, and as of yet they haven't.

-David


On Sun, May 19, 2013 at 11:07 PM, Yang Fan <bunny...@gmail.com> wrote:
Hi Christian,

I noticed this issue was discovered last year. 
Have you solved the bitbucket git integration issue?

Thank you!
Yang.

On Sunday, July 1, 2012 11:16:03 PM UTC-7, Christian Hammond wrote:
To unsubscribe from this group, send email to reviewboard...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en

--
Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to reviewboard...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en

--
Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to reviewboard...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
---
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.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

at...@clearpathrobotics.com

unread,
May 13, 2014, 9:32:56 AM5/13/14
to revie...@googlegroups.com, Christian Hammond
Hi Christian / David,

Could you please confirm if this issue with Review Board / BitBucket Git intergration has now been addressed?

I am inferring that this is the case, due to this post


But I want to be sure.

Thanks

David Trowbridge

unread,
May 13, 2014, 5:01:02 PM5/13/14
to reviewboard, Christian Hammond
Git on BitBucket is supported as of Review Board 1.7.13, but you *must* use rbtools to create and post your changes (as opposed to `git diff`).

-David


--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---

Happy user? Let us know at http://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.
For more options, visit https://groups.google.com/d/optout.

Chaitanya vulli

unread,
Nov 10, 2016, 2:17:14 AM11/10/16
to reviewboard, chi...@chipx86.com, David Trowbridge ,Michael Fang
Hi David,

I am using RB version Review board 1.7.6. I want to integrate my Bitbucket Git repository with reviewboard. I could not see GIT in the repository type dropdown list. It is only contains Mercurial for BitBucket Host service. Please help me, if I miss any configuration

Thank you 

Regards,
Chaitanya

Barret Rennie

unread,
Nov 10, 2016, 2:19:57 AM11/10/16
to revie...@googlegroups.com
Hi Chaitanya,

You will have to upgrade to at least 1.7.13 from 1.7.6.

Regards,
Barret
--
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/
Reply all
Reply to author
Forward
0 new messages