This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: git clone through http
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: <pinskia at gmail dot com>, "Frank Ch. Eigler" <fche at elastic dot org>, Samuel Bronson <naesten at gmail dot com>, "gdb at sourceware dot org" <gdb at sourceware dot org>, "overseers at sourceware dot org" <overseers at sourceware dot org>, Marc Khouzam <marc dot khouzam at ericsson dot com>
- Date: Fri, 30 May 2014 12:48:25 -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> <538897D1 dot 1070602 at ericsson dot com> <20140530145045 dot GD13644 at elastic dot org> <20140530145958 dot GH4265 at adacore dot com> <E59706EF8DB1D147B15BECA3322E4BDC1C6554FB at eusaamb103 dot ericsson dot se> <17250C21-1ACC-40E0-BD31-A64C9CC9720F at gmail dot com> <5388A475 dot 3040401 at ericsson dot com> <20140530154446 dot GK4265 at adacore dot com>
On Fri 30 May 2014 11:44:46 AM EDT, Joel Brobecker wrote:
>> I am not sure I understand. Making a local mirror is basically cloning
>> the repository, which we can't do with the current limitations.
>
> I am guessing you would be creating a local mirror using tools
> outside of your framework, and then use that local mirror from
> your framework?
>
> Regardless, it sounds like http-based cloning and update is actually
> working, as someone else said, so perhaps it was just a glitch?
Still doesn't work for me, although it's not always the hash that fail. Also,
I get some connection time out sometimes.
>From work computer (through mean corporate proxy):
$ git clone http://sourceware.org/git/binutils-gdb.git lalala
Cloning into 'lalala'...
error: Unable to get pack index http://sourceware.org/git/binutils-gdb.git/objects/pack/pack-40a278cd270f8215e6b993869d659b2aff311eb8.idx
error: Unable to find b585a9fad59f9d0c07681778b97d36b67bd9748d under http://sourceware.org/git/binutils-gdb.git
Cannot obtain needed object b585a9fad59f9d0c07681778b97d36b67bd9748d
while processing commit 522c09bf63a4b235e6fde07a5e389f2a533cfe0f.
error: Fetch failed.
>From university server I somehow still have access to:
$ git clone http://sourceware.org/git/binutils-gdb.git lalala
Cloning into 'lalala'...
error: Unable to get pack file http://sourceware.org/git/binutils-gdb.git/objects/pack/pack-1175e0f6cbb493af3d9ead3010ac0f4caaf3f6f0.pack
Failed to connect to sourceware.org port 80: Connection timed out
error: Unable to find 904361fcd43fa933b5f7f2a9d32bfc8eb2b07e7d under http://sourceware.org/git/binutils-gdb.git
Cannot obtain needed blob 904361fcd43fa933b5f7f2a9d32bfc8eb2b07e7d
while processing commit c4086213966a0465f7600f8bf652e3692e9ff92e.
error: Fetch failed.
>From home:
$ 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-16b3a2186e2cf0ac2fd7beb4480c50d23080cc32.idx
error: Unable to get pack index http://sourceware.org/git/binutils-gdb.git/objects/pack/pack-d5403beeca91e793aa19e4e6725b86b0cd0382bd.idx
error: Unable to find d3e2080fb50a3c637779ba660b92281e7aef32ef under http://sourceware.org/git/binutils-gdb.git
Cannot obtain needed blob d3e2080fb50a3c637779ba660b92281e7aef32ef
while processing commit f86ff23fd44ed9131ffb165fa9dc733b90f0931c.
error: Fetch failed.