Re: Accessing over bzr+ssh giving errors

2009-04-13 Thread Ritesh Nadhani

Hello

On Fri, Apr 10, 2009 at 7:28 PM, plumpy plu...@gmail.com wrote:

 I'm working on some of our bzr tools right now. I can try to look at
 it early next week, but unless it's relatively straightforward, I
 doubt I'll get around to fixing it. Honestly, I'm a little unsure why
 it wouldn't work, since we're just using bzrlib, presumably accessing
 it the exact same way bzr does. Are you sure you can access the
 repository over ssh from the apache user? Can you 'su' to the apache
 user and try?

It was indeed a security issue.

I looked around the thing using code at:

http://bazaar-vcs.org/Integrating_with_Bazaar

and I could not connect myself.

So I guess its all good as of now :) Maybe a better error report might help!


 The code you're interested in is in scmtools/bzr.py. Feel free to
 email me if you have questions. Even if I can't answer them, I can
 probably ask my co-worker who wrote a bunch of it.

 On Apr 10, 4:49 pm, Ritesh Nadhani rite...@gmail.com wrote:
 Hmm.

 I thought so.

 I work with Python though mostly along the lines of wxPython and
 Twisted but if given a correct poke in my head, I might be able to
 look into the problem.

 Any pointers where I should start?

 Right now we all have SSH keys in our homedirectory so doing
 bzr+ssh:// uses that and does not ask for password. I believe when we
 are doing from the web, it is foo baring on authentication. Maybe,
 adding the SSH key to apache user will work.

 No worries as I am just testing right now and in the end RB will be
 installed in the same machine as the repo so it will have direct
 access.



 On Fri, Apr 10, 2009 at 2:42 PM, Christian Hammond chip...@chipx86.com 
 wrote:
  It's likely that it just doesn't support this. Someone may have to write 
  the
  support.

  Bazaar support was written and used by contributors, but we (the lead
  developers) have no experience with it, so it's hard to really help here. 
  Is
  any Bazaar contributor able to answer this?

  Christian

  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.review-board.org
  VMware, Inc. -http://www.vmware.com

  On Thu, Apr 9, 2009 at 12:53 PM, Ritesh Nadhani rite...@gmail.com wrote:

  Hello

  So this is in continuation of my previous messages.

  Just for testing, I checked out a local copy of the repo by doing:

  cd ~/Codes
  bzr co bzr+ssh://hostname/bzr/repo1 repo1

  and then in the settings, I set the repo path to be:

  /home/rnadhani/Codes/repo1

  and its working now.

  So I guess RB is not able to access it over SSH. How can I use this
  option?

  --
  Ritesh
 http://www.riteshn.com

 --
 Riteshhttp://www.riteshn.com
 




-- 
Ritesh
http://www.riteshn.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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: Accessing over bzr+ssh giving errors

2009-04-10 Thread Christian Hammond
It's likely that it just doesn't support this. Someone may have to write the
support.

Bazaar support was written and used by contributors, but we (the lead
developers) have no experience with it, so it's hard to really help here. Is
any Bazaar contributor able to answer this?

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com


On Thu, Apr 9, 2009 at 12:53 PM, Ritesh Nadhani rite...@gmail.com wrote:


 Hello

 So this is in continuation of my previous messages.

 Just for testing, I checked out a local copy of the repo by doing:

 cd ~/Codes
 bzr co bzr+ssh://hostname/bzr/repo1 repo1

 and then in the settings, I set the repo path to be:

 /home/rnadhani/Codes/repo1

 and its working now.

 So I guess RB is not able to access it over SSH. How can I use this option?

 --
 Ritesh
 http://www.riteshn.com

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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: Accessing over bzr+ssh giving errors

2009-04-10 Thread Ritesh Nadhani

Hmm.

I thought so.

I work with Python though mostly along the lines of wxPython and
Twisted but if given a correct poke in my head, I might be able to
look into the problem.

Any pointers where I should start?

Right now we all have SSH keys in our homedirectory so doing
bzr+ssh:// uses that and does not ask for password. I believe when we
are doing from the web, it is foo baring on authentication. Maybe,
adding the SSH key to apache user will work.

No worries as I am just testing right now and in the end RB will be
installed in the same machine as the repo so it will have direct
access.

On Fri, Apr 10, 2009 at 2:42 PM, Christian Hammond chip...@chipx86.com wrote:
 It's likely that it just doesn't support this. Someone may have to write the
 support.

 Bazaar support was written and used by contributors, but we (the lead
 developers) have no experience with it, so it's hard to really help here. Is
 any Bazaar contributor able to answer this?

 Christian

 --
 Christian Hammond - chip...@chipx86.com
 Review Board - http://www.review-board.org
 VMware, Inc. - http://www.vmware.com


 On Thu, Apr 9, 2009 at 12:53 PM, Ritesh Nadhani rite...@gmail.com wrote:

 Hello

 So this is in continuation of my previous messages.

 Just for testing, I checked out a local copy of the repo by doing:

 cd ~/Codes
 bzr co bzr+ssh://hostname/bzr/repo1 repo1

 and then in the settings, I set the repo path to be:

 /home/rnadhani/Codes/repo1

 and its working now.

 So I guess RB is not able to access it over SSH. How can I use this
 option?

 --
 Ritesh
 http://www.riteshn.com




 




-- 
Ritesh
http://www.riteshn.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---



Accessing over bzr+ssh giving errors

2009-04-09 Thread Ritesh Nadhani

Hello

So this is in continuation of my previous messages.

Just for testing, I checked out a local copy of the repo by doing:

cd ~/Codes
bzr co bzr+ssh://hostname/bzr/repo1 repo1

and then in the settings, I set the repo path to be:

/home/rnadhani/Codes/repo1

and its working now.

So I guess RB is not able to access it over SSH. How can I use this option?

-- 
Ritesh
http://www.riteshn.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---