From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Hommey Subject: Re: Problem with git fetch over http:// Date: Fri, 25 Apr 2008 23:34:11 +0200 Organization: glandium.org Message-ID: <20080425213411.GA25964@glandium.org> References: <63F7B390-32D1-458A-8ED9-D5AC62F46745@newartisans.com> <7v3ap9pr07.fsf@gitster.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: John Wiegley , git@vger.kernel.org To: Junio C Hamano X-From: git-owner@vger.kernel.org Fri Apr 25 23:35:39 2008 connect(): Connection refused Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1JpVZx-0004gI-0h for gcvg-git-2@gmane.org; Fri, 25 Apr 2008 23:35:37 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760697AbYDYVet (ORCPT ); Fri, 25 Apr 2008 17:34:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762239AbYDYVet (ORCPT ); Fri, 25 Apr 2008 17:34:49 -0400 Received: from vuizook.err.no ([194.24.252.247]:51877 "EHLO vuizook.err.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760447AbYDYVet (ORCPT ); Fri, 25 Apr 2008 17:34:49 -0400 Received: from cha92-13-88-165-248-19.fbx.proxad.net ([88.165.248.19] helo=jigen) by vuizook.err.no with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.67) (envelope-from ) id 1JpVYs-0004da-TH; Fri, 25 Apr 2008 23:34:37 +0200 Received: from mh by jigen with local (Exim 4.69) (envelope-from ) id 1JpVYZ-0006lp-DC; Fri, 25 Apr 2008 23:34:11 +0200 Content-Disposition: inline In-Reply-To: <7v3ap9pr07.fsf@gitster.siamese.dyndns.org> X-GPG-Fingerprint: A479 A824 265C B2A5 FC54 8D1E DE4B DA2C 54FD 2A58 User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Spam-Status: (score 0.1): No, score=0.1 required=5.0 tests=RDNS_DYNAMIC autolearn=disabled version=3.2.3 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Fri, Apr 25, 2008 at 02:24:24PM -0700, Junio C Hamano wrote: > John Wiegley writes: > > > Hello, I'm using the Builtbot to pull sources from a Git repository, > > and have found that the Buildbot's Git step always uses git-fetch -- a > > detail of Buildbot which I currently have little control over. > > > > This is no problem if the git:// protocol is used, but using fetch > > with http:// doesn't work. This has been mentioned elsewhere: > > > > http://lists.berlios.de/pipermail/bitbake-dev/2007-November/000765.html > > > > Here's a quick example of what I mean: > > > > cd /tmp ; mkdir foo ; cd foo ; git init > > > > git fetch git://newartisans.com/ledger.git # works fine > > > > cd /tmp ; rm -fr foo ; mkdir foo ; cd foo ; git init > > > > git fetch http://newartisans.com/git/ledger.git # fails > > Is this related to this independent observation? > > $ wget http://newartisans.com/git/ledger.git > --14:23:54-- http://newartisans.com/git/ledger.git > => `ledger.git' > Resolving newartisans.com... 208.70.150.153 > Connecting to newartisans.com|208.70.150.153|:80... connected. > HTTP request sent, awaiting response... 301 Moved Permanently > Location: http://git.newartisans.com//ledger.git [following] > --14:23:55-- http://git.newartisans.com//ledger.git > => `ledger.git' > Resolving git.newartisans.com... 208.70.150.153 > Connecting to git.newartisans.com|208.70.150.153|:80... connected. > HTTP request sent, awaiting response... 301 Moved Permanently > Location: http://git.newartisans.com/ledger.git/ [following] > --14:23:55-- http://git.newartisans.com/ledger.git/ > => `index.html' > Connecting to git.newartisans.com|208.70.150.153|:80... connected. > HTTP request sent, awaiting response... 403 Forbidden > 14:23:55 ERROR 403: Forbidden. Probably, but even then, it also doesn't have a HEAD. Mike