This is the mail archive of the
mailing list for the GDB project.
Re: git clone through http
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: Samuel Bronson <naesten at gmail dot com>
- Cc: <gdb at sourceware dot org>, <overseers at sourceware dot org>
- Date: Fri, 30 May 2014 10:38:09 -0400
- Subject: Re: git clone through http
- Authentication-results: sourceware.org; auth=none
- References: <53876894 dot 5020103 at ericsson dot com> <87ha48dp55 dot fsf at naesten dot mooo dot com>
On Thu 29 May 2014 09:35:50 PM EDT, Samuel Bronson wrote:
> Simon Marchi <email@example.com> writes:
>> Cloning the binutils-gdb repository using the http address
>> (http://sourceware.org/git/binutils-gdb.git) doesn't seem to work.
>> $ git clone http://sourceware.org/git/binutils-gdb.git
>> Cloning into 'binutils-gdb'...
>> error: Unable to get pack index
> Such messages indicate that, in order for http access to work, someone
> either needs to:
> 1. Rename/copy the file "hooks/post-update.sample" in the repository
> to "hooks/post-update" to allow use of the "dumb" git protocol.
> (In case the file is missing, or for the lazy but still curious, I
> have also appended a copy to this message.)
> 2. Somehow set up a "smart" web-based git server. This seems to
> involve git-http-backend(1); for Apache, there are directions at
> (and earlier parts of that page).
> Choice 2 is clearly more complicated and more httpd-specific, but also
> more efficient in most cases.
I suppose this is something that the overseers would have to look at ?