[openib-general] cannot clone librdmacm

Sasha Khapyorsky sashak at voltaire.com
Wed Nov 29 13:43:02 PST 2006


On 15:18 Wed 29 Nov     , Steve Wise wrote:
> 
> On Wed, 2006-11-29 at 22:39 +0200, Sasha Khapyorsky wrote:
> > On 13:52 Wed 29 Nov     , Steve Wise wrote:
> > > Should I be able to clone librdmacm at this point?
> > > 
> > > 
> > > # git clone http://staging.openfabrics.org/pub/scm/~shefty/librdmacm.git librdmacm
> > > Cannot get remote repository information.
> > > Perhaps git-update-server-info needs to be run there?
> > > #
> > 
> > ~shefty/ will be resolved to your ~/public_html directory (by apache).
> > So place there symbolic link to your tree and:
> > 
> >  git clone http://staging.openfabrics.org/~shefty/librdmacm.git librdmacm
> > 
> > Sasha
> 
> 
> For libamso, this works: 
> 
> git clone http://staging.openfabrics.org/pub/scm/~swise/libamso.git libamso

Really? Hmm, Apache does the work :). Cool.

> But this fails for librdmacm:
> 
> git clone http://staging.openfabrics.org/pub/scm/~shefty/librdmacm.git librdmacm
> 
> And I don't have a ~swise/public_html directory at all. So I'm a bit
> confused by your reply...

Now I'm too. Maybe Apache doesn't resolve such URI /pub/scm/~swise as
user's public_html directory, but only such ones /~swise . So this
doesn't work (as expected):

 git clone http://staging.openfabrics.org/~swise/libamso.git

> 
> Maybe Sean needs to run git-update-server-info in his tree? 

Yes, for http:// it is needed (and there is no info/refs now).

Sean, you can do

  chmod 755 hooks/post-update

This hook runs git-server-update-info after each push.

Sasha




More information about the general mailing list