[pnfs] Newbie Question

Tom Tucker tom at opengridcomputing.com
Mon May 14 23:29:47 EDT 2007


A couple things that might be missing:

- Make sure your home directory is readable by other up to your
  exports directory. I just checked and I can't read it...

- Iyer's directory needs to be added to the git-daemon whitelist and the
daemon needs to be SIGHUP'd.

That's all that comes to mind...


On 5/14/07 10:09 PM, "J. Bruce Fields" <bfields at fieldses.org> wrote:

> On Mon, May 14, 2007 at 04:09:04PM -0700, Iyer, Rahul wrote:
>> I don't currently have a public one, but having one at linux-nfs.org
>> might be helpful. Do you have a doc about how I can go about doing that?
> 
> http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#setting-up-a-
> public-repository
> 
> has some basics.  Supposing you have a repository in ~/linux:
> 
> # make a bare repository:
> git clone --bare ~/linux linux.git
> # copy it to linux-nfs.org, however's easiest:
> scp -r linux.git linux-nfs.org:
> # put it in ~/exports on linux-nfs.org, make it exportable.
> ssh linux-nfs.org
> mkdir exports
> mv linux.git exports/
> cd exports/linux.git
> touch git-daemon-export-ok
> exit
> # test: you should get a list of branches:
> git ls-remote git://linux-nfs.org/~iyer/linux.git
> 
> OK, you could just do a clone at that last step, but the ls-remote is
> a faster test.
> 
> Tom Tucker went through this just a few days ago so may remember some
> step I've left out....
> 
> --b.




More information about the pNFS mailing list