Re: Git repository setting

2012-07-02 Thread Michael Fang
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
Path: ssh://g...@bitbucket.org/USERNAME/PROJECT.git
Mirror Path: g...@bitbucket.org:USERNAME/PROJECT.git
Raw file URL 
mask: 
https://api.bitbucket.org/1.0/repositories/USERNAME/PROJECT/raw/revision/filename

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?


On Sunday, July 1, 2012 11:57:49 AM UTC-7, Christian Hammond wrote:

 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 - chip...@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 airfang...@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+unsubscr...@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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Git repository setting

2012-07-02 Thread Michael Fang
Good to know. For now I guess we can live with automatic syncing.

Thanks Chris!

On Sunday, July 1, 2012 11:16:03 PM UTC-7, Christian Hammond wrote:

 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 - chip...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Sun, Jul 1, 2012 at 11:12 PM, Michael Fang airfang...@gmail.comwrote:

 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
 Path: ssh://g...@bitbucket.org/USERNAME/PROJECT.git
 Mirror Path: g...@bitbucket.org:USERNAME/PROJECT.git
 Raw file URL mask: 
 https://api.bitbucket.org/1.0/repositories/USERNAME/PROJECT/raw/
 revision/filename

 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?


 On Sunday, July 1, 2012 11:57:49 AM UTC-7, Christian Hammond wrote:

 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 - chip...@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 airfang...@gmail.comwrote:

 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-clonehttp://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/http://www.reviewboard.org/donate/
 Happy user? Let us know at 
 http://www.reviewboard.org/**users/http://www.reviewboard.org/users/
 -~--~~~~--**~~--~--~---
 To unsubscribe from this group, send email to reviewboard+unsubscribe@*
 *googlegroups.com reviewboard%2bunsubscr...@googlegroups.com
 For more options, visit this group at http://groups.google.com/**
 group/reviewboard?hl=enhttp://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+unsubscr...@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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Git repository setting

2012-07-01 Thread Michael Fang
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en