On Mon, Jul 30, 2012 at 4:33 PM, Rich Kucera <[email protected]>wrote:

> Background:
> We're trying to adopt git,  enterprise inhouse,   with gitorious stack
> from bitnami (saved a lot of work...).
> ssh works fine,   git protocol does not due to firewall and that's ok (I
> proved it works on my laptop).
> Because of some internal partitioning,   we can't ssh in both directions.
> This is OK,  because I can still push the repositories in one direction
> for deployments.  That's the last option.
> Well rsync push was the last option tried,  but git is now perceived as
> "partially working".
>
> Problem:
> HTTP protocol does not work in any case.   It says "you appear to have
> cloned an empty repository"
> when I know there is stuff in the repository.   If I had http,  then
> presumably there'd be a pull option for deployment
> in addition to the single push option I have left.
>

Rich,
Did you set up modxsendfile on the server and point this to the correct
location? Gitorious assumes this Apache module is installed and configured
so it intercepts headers like "X-Sendfile: " pointing to the path where the
git repository resides on disk.

There's a page on the wiki outlining this and other components in Gitorious
here:
https://gitorious.org/gitorious/pages/GitoriousComponents#HTTP+cloning++

 _Marius


>
> I set up my alias in /etc/hosts,  and run this:
>
> $ git clone http://git.my.real.server.org/repoorg/repoorg.git test9876
> Initialized empty Git repository in /opt/tmp/test9876/.git/
> warning: You appear to have cloned an empty repository.
>
> Have fiddled around with this and explored the source a bit,  googled,
>  nothing.  Is this a common problem?
>
> Thanks!
> Rich
> p.s.
> I am considering running TeamForge in a virtualbox to see how it feels in
> comparison,  but would like to stick with
> gitorious if I could understand it (though I am not a Rails developer have
> got the rails training and the tshirt).
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
>



-- 
Marius Mårnes Mathiesen
Gitorious
Tel.: (+47) 92 60 95 38.

http://gitorious.com/

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to