On Sun, May 29, 2011 at 9:59 AM, Madhurranjan Mohaan <
[email protected]> wrote:

> Hi ,
>
> I have a gitorious installation that works with ssh but there is
> requirement to get it working with http/https. I got the "git clone"
>  working with http but not git push. I then came upon smart http and have
> been trying to use that to get the git push to work but it hasn't . I have
> been looking at various links but none of that has worked. My git.conf in
> conf.d has the following configuration :
>

Ranjan,
I'm afraid there are two things that makes it non-trivial to get the Apache
git module working with Gitorious:
- Gitorious keeps a mapping between external URLs and locations on the file
system. The URL /project/repo.git will map to a different location on the
file system (like /ffc/dd1/aaaa.git), and you'll need to fetch the actual
file system path from Gitorious to make this work
- Access control: to determine whether a user is allowed to push to a given
URL you'll need to query Gitorious' database

We plan to support http push in the future, but this isn't ready yet.

Cheers,
- Marius

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

Reply via email to