Can't get Gitorious to generate Tarballs, or do http cloning

98 views
Skip to first unread message

Kelketek

unread,
Mar 9, 2012, 11:12:14 PM3/9/12
to gito...@googlegroups.com
Hello there!

I use Gitorious for a few projects now and I really like it. But I have never been able to get tarballing to work. I haven't ever gotten http cloning to work either.

I know that Gitorious is sending the command to do the tarballing, strace shows me that:

[pid 29187] write(16, "{\"output_path\":\"/var/git/tarballs/97h84rcnp4iun49597-5.tar.gz\",\"commit_sha\":\"4kcn499c4r9un\",\"work_path\":\"/var/git/tarballs-work/4rfidn44p948orj4rocn4.tar.gz\",\"format\":\"tar.gz\",\"full_repository_path\":\"/var/git/repositories/b97/4ricun4rcorci4urcn47.git\",\"name\":\"mustar-mustar\"}", 445) = 445

But no tarball ever shows up. Note, I mangled the above paths, since those random numbers might exist for some degree of security, for all I know, so the bits with random numbers/letters really have other random numbers/letters.

It doesn't seem to ever pick up the task and do it. It can pull in SSH keys just fine, and set them up, and create repos without issue. But this eludes it, and I'm having a hard time figuring out where to look to fix it. I know some things have been said about X-Sendfile, but I don't think that has to do with it, since the file has to exist before it can be sent, and I don't see the tarball anywhere.

As for HTTP cloning, that's less pressing, but it would be nice to have. I know that it seems to want to prepend the git. subdomain on my domain, which I prefer it not do, and it doesn't work even with the git prefix. In fact it seems to send me right back to my normal domain.

Any ideas would be appreciated. Thanks in advance!

Marius Mårnes Mathiesen

unread,
Mar 30, 2012, 8:53:03 AM3/30/12
to gito...@googlegroups.com
Kelketek,
Sounds like a X-Sendfile issue to me, the wiki has some info on setting that up: https://gitorious.org/gitorious/pages/GitoriousComponents

Cheers,
- Marius


--
To post to this group, send email to gito...@googlegroups.com
To unsubscribe from this group, send email to
gitorious+...@googlegroups.com



--
Marius Mårnes Mathiesen
Rubyist, Shortcut AS
Tel.: (+47) 92 60 95 38.

http://shortcut.no

Kelketek Titikilik Rritaa

unread,
Mar 30, 2012, 9:03:17 AM3/30/12
to gito...@googlegroups.com

Well, that puts me in a bit of a pickle. I'm not using Apache-- I'm using Cherokee. Now, Cherokee supports X-Sendfile, but not when acting as a reverse proxy configuration (Gitorious is running on Webrick, and requests to the virtual server get forwarded to the port it's running on).

It is, however, trivial to have Cherokee use FastCGI. Is there a way to get Gitorious working on FastCGI instead of Webrick?

Marius Mårnes Mathiesen

unread,
Apr 3, 2012, 5:24:31 AM4/3/12
to gito...@googlegroups.com
On Fri, Mar 30, 2012 at 3:03 PM, Kelketek Titikilik Rritaa <kelk...@gmail.com> wrote:

Well, that puts me in a bit of a pickle. I'm not using Apache-- I'm using Cherokee. Now, Cherokee supports X-Sendfile, but not when acting as a reverse proxy configuration (Gitorious is running on Webrick, and requests to the virtual server get forwarded to the port it's running on).

It is, however, trivial to have Cherokee use FastCGI. Is there a way to get Gitorious working on FastCGI instead of Webrick?

Hmm, most people use something like Phusion Passenger (modrails.com) these days when under Apache, I haven't used FastCGI since the dark ages. Webrick really isn't meant for production setups.

I don't really know Cherokee, but maybe someone else on the list does?

- Marius
Reply all
Reply to author
Forward
0 new messages