Re: Project Hosting with git ?
- From
- Grégoire Barbier <devel@gbarbier.org>
- Date
- Jan 12, 2008, 17:41 UTC
- Message-ID
- <4788FBDE.6090903@gbarbier.org>
- In-Reply-To
- <9b3e2dc20801120845n15d59fe6q178ba257c12a28e0@mail.gmail.com>
Stephen Sinclair a écrit :
> However, git works fine over http. I have a project on SF which I was > using with subversion, but I recently switched the project over to > git.
I disagree: git does not work "fine" over http, it only works fine for fetch/pull. At less with last versions, push over http/webdav does not work (and by the way corrupts the remote repository, by changing the HEAD sha without uploading related objects). I initiated a thread about that on the list a few weeks ago, with subject "git over webdav: what can I do for improving http-push ?". However I did not (yet?) post a patch.
> I simply posted a bare git repo on the project website, and bang it's > "hosted" on sourceforge. In order to automate things a bit, I set up > a local repo which, when I push to it, runs git-update-server-info and > then uses rsync to upload the repo changes to the SF web server.
I agree with this: if you push locally and then upload, it works fine. With rsync, ftp, sftp or whatever you want.
-- Grégoire Barbier - gb à gbarbier.org - +33 6 21 35 73 49