Re: git clone through http

Simon Marchi <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.