From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2418 invoked by alias); 30 May 2014 14:38:15 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 2397 invoked by uid 89); 30 May 2014 14:38:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: usevmg21.ericsson.net Received: from usevmg21.ericsson.net (HELO usevmg21.ericsson.net) (198.24.6.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 30 May 2014 14:38:13 +0000 Received: from EUSAAHC001.ericsson.se (Unknown_Domain [147.117.188.75]) by usevmg21.ericsson.net (Symantec Mail Security) with SMTP id ED.E9.11744.23548835; Fri, 30 May 2014 10:45:39 +0200 (CEST) Received: from [142.133.110.254] (147.117.188.8) by smtps-am.internal.ericsson.com (147.117.188.75) with Microsoft SMTP Server (TLS) id 14.3.174.1; Fri, 30 May 2014 10:38:10 -0400 Message-ID: <538897D1.1070602@ericsson.com> Date: Fri, 30 May 2014 14:48:00 -0000 From: Simon Marchi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Samuel Bronson CC: , Subject: Re: git clone through http References: <53876894.5020103@ericsson.com> <87ha48dp55.fsf@naesten.mooo.com> In-Reply-To: <87ha48dp55.fsf@naesten.mooo.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00092.txt.bz2 On Thu 29 May 2014 09:35:50 PM EDT, Samuel Bronson wrote: > Simon Marchi writes: > >> Hello, >> >> 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 >> http://sourceware.org/git/binutils-gdb.git/objects/pack/pack-40a278cd270f8215e6b993869d659b2aff311eb8.idx > [...] > > 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.) > > or > > 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 ?