Der, my problem was /var/git, I thought hat was a parameter to syslog because I did not read that part of the docs, now it works.<br><br><br><br><div class="gmail_quote">On Sun, Dec 21, 2008 at 11:07 AM, Chad Granum <span dir="ltr"><<a href="mailto:exodist7@gmail.com">exodist7@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Yes, I tried that initially, but I cannot get it to work,<br><br>I am running git-daemon with the following options (in the gentoo /etc/conf.d/git-daemon file):<br>
GITDAEMON_OPTS="--syslog /var/git --base-path /server/git --export-all"<br>
GIT_USER="anonymous"<br>GIT_GROUP="anonymous"<br>(And I restarted it)<br><br>When I try to use it:<br><br>exodist@abydos ~/temp $ git clone git://<a href="http://192.168.0.3/ppbuild" target="_blank">192.168.0.3/ppbuild</a><br>
Initialized empty Git repository in /home/exodist/temp/ppbuild/.git/<br>fatal: The remote end hung up unexpectedly<br>exodist@abydos ~/temp $ git clone git://<a href="http://192.168.0.3/server/git/ppbuild" target="_blank">192.168.0.3/server/git/ppbuild</a><br>
Initialized empty Git repository in /home/exodist/temp/ppbuild/.git/<br>fatal: The remote end hung up unexpectedly<br><br>On the server:<br><br>Dec 21 11:07:29 Luxor git-daemon: [6342] '/ppbuild': unable to chdir or not a git archive<br>
Dec 21 11:07:55 Luxor git-daemon: [6350] '/server/git/ppbuild/.git': repository not exported.<br><br><br>From what I can tell setting the base path, and the --export-all should be sufficient, but apparently not.<br>
<br>Because of that I ended up giving anonymous ssh access out.<br><font color="#888888"><br>-Chad</font><div><div></div><div class="Wj3C7c"><br><br><br><div class="gmail_quote">On Sun, Dec 21, 2008 at 8:36 AM, Erik Hollensbe <span dir="ltr"><<a href="mailto:erik@hollensbe.org" target="_blank">erik@hollensbe.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>On Sat, 2008-12-20 at 23:32 -0800, Chad Granum wrote:<br>
> I finally got my server up again, now I can share a git repo for PPBS.<br>
><br>
> git clone ssh://<a href="http://anonymous@open-exodus.net/server/git/PPBS" target="_blank">anonymous@open-exodus.net/server/git/PPBS</a><br>
> Password: anonymous<br>
><br>
> This is the repo I will be pushing all ym changes to in an svn central<br>
> server style.<br>
><br>
> Anonymous has no write access, you can pull or clone, but not push.<br>
><br>
> If you want to contribute let me know and I will probably give you an<br>
> account w/ write access to the repo.<br>
<br>
</div></div>You can use git-daemon to provide this functionality (and it's faster,<br>
and login free using the git:// protocol).<br>
<br>
I see you mentioning gitosis later in the thread, but as I understand<br>
that's typically more useful if you have lots of users that need to<br>
create repositories.<br>
<br>
If you want people to fork so you can easily see it and then pull from<br>
their forks easily, github is likely the simplest solution right now.<br>
You can set up git easily enough (edit your config and setup multiple<br>
url= lines in your remote) to push to both places.<br>
<font color="#888888"><br>
-Erik<br>
<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>