* Re: git clone through http
[not found] ` <87ha48dp55.fsf@naesten.mooo.com>
@ 2014-05-30 14:38 ` Simon Marchi
2014-05-30 14:48 ` Joel Brobecker
2014-05-30 14:50 ` Frank Ch. Eigler
0 siblings, 2 replies; 10+ messages in thread
From: Simon Marchi @ 2014-05-30 14:38 UTC (permalink / raw)
To: Samuel Bronson; +Cc: gdb, overseers
On Thu 29 May 2014 09:35:50 PM EDT, Samuel Bronson wrote:
> Simon Marchi <simon.marchi@ericsson.com> 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
> <http://sethrobertson.github.io/HowToPutGitOnTheWeb/GitOnTheWeb.html#aro>
> (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 ?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: git clone through http
2014-05-30 14:38 ` git clone through http Simon Marchi
@ 2014-05-30 14:48 ` Joel Brobecker
2014-05-30 14:50 ` Frank Ch. Eigler
1 sibling, 0 replies; 10+ messages in thread
From: Joel Brobecker @ 2014-05-30 14:48 UTC (permalink / raw)
To: Simon Marchi; +Cc: Samuel Bronson, gdb, overseers
> I suppose this is something that the overseers would have to look at ?
Is there an advantage of adding "http" support, since already have
access via the "git" protocol? The latter is what we document on
the GDB web pages.
--
Joel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: git clone through http
2014-05-30 14:38 ` git clone through http Simon Marchi
2014-05-30 14:48 ` Joel Brobecker
@ 2014-05-30 14:50 ` Frank Ch. Eigler
2014-05-30 15:00 ` Joel Brobecker
1 sibling, 1 reply; 10+ messages in thread
From: Frank Ch. Eigler @ 2014-05-30 14:50 UTC (permalink / raw)
To: Simon Marchi; +Cc: Samuel Bronson, gdb, overseers
Hi -
On Fri, May 30, 2014 at 10:38:09AM -0400, Simon Marchi wrote:
> >> [...]
> >> $ git clone http://sourceware.org/git/binutils-gdb.git
> >> Cloning into 'binutils-gdb'...
> >> error: Unable to get pack index
FWIW, it's working for me, just very slowly (as is normal for
dumb-http: transport), and possibly made worse by httpd/firewall
load-limiting in effect.
> > 1. Rename/copy the file "hooks/post-update.sample" in the repository
> > to "hooks/post-update" to allow use of the "dumb" git protocol.
This is already done.
> > 2. Somehow set up a "smart" web-based git server. [...]
> > Choice 2 is clearly more complicated and more httpd-specific, but also
> > more efficient in most cases.
We'll consider it, though an even easier thing we could do is stop
promoting the http:// git URL.
> > --
> > Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
(Wow, I haven't seen that in 20+ years!)
- FChE
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: git clone through http
2014-05-30 14:50 ` Frank Ch. Eigler
@ 2014-05-30 15:00 ` Joel Brobecker
2014-05-30 15:10 ` Marc Khouzam
0 siblings, 1 reply; 10+ messages in thread
From: Joel Brobecker @ 2014-05-30 15:00 UTC (permalink / raw)
To: Frank Ch. Eigler; +Cc: Simon Marchi, Samuel Bronson, gdb, overseers
> > > 2. Somehow set up a "smart" web-based git server. [...]
> > > Choice 2 is clearly more complicated and more httpd-specific, but also
> > > more efficient in most cases.
>
> We'll consider it, though an even easier thing we could do is stop
> promoting the http:// git URL.
If we do, it would be interesting to know where that is. I double-checked
GDB's website, and it only references the "git" protocol.
--
Joel
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: git clone through http
2014-05-30 15:00 ` Joel Brobecker
@ 2014-05-30 15:10 ` Marc Khouzam
2014-05-30 15:21 ` pinskia
0 siblings, 1 reply; 10+ messages in thread
From: Marc Khouzam @ 2014-05-30 15:10 UTC (permalink / raw)
To: 'Joel Brobecker', 'Frank Ch. Eigler'
Cc: Simon Marchi, 'Samuel Bronson',
'gdb@sourceware.org', 'overseers@sourceware.org'
> -----Original Message-----
> From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On
> Behalf Of Joel Brobecker
> Sent: Friday, May 30, 2014 11:00 AM
> To: Frank Ch. Eigler
> Cc: Simon Marchi; Samuel Bronson; gdb@sourceware.org;
> overseers@sourceware.org
> Subject: Re: git clone through http
>
> > > > 2. Somehow set up a "smart" web-based git server. [...] Choice 2
> > > > is clearly more complicated and more httpd-specific, but also more
> > > > efficient in most cases.
> >
> > We'll consider it, though an even easier thing we could do is stop
> > promoting the http:// git URL.
>
> If we do, it would be interesting to know where that is. I double-checked
> GDB's website, and it only references the "git" protocol.
I am trying to use the http access to the GDB git repo because I want to run
automated tests using the master branch using a Jenkins infrastructure.
That Jenkins machine has to go through a proxy to access the internet and the
proxy does not trigger when using the git protocol. So I was hoping to fall back
on the http protocol.
We've faced similar issues for eclipse projects and having an http access to
the repos has proven useful.
I found the reference to that http access here at the top of the page of the git repo:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git
Thanks
Marc
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: git clone through http
2014-05-30 15:10 ` Marc Khouzam
@ 2014-05-30 15:21 ` pinskia
2014-05-30 15:32 ` Simon Marchi
0 siblings, 1 reply; 10+ messages in thread
From: pinskia @ 2014-05-30 15:21 UTC (permalink / raw)
To: Marc Khouzam
Cc: Joel Brobecker, Frank Ch. Eigler, Simon Marchi, Samuel Bronson,
gdb, overseers
On May 30, 2014, at 8:10 AM, Marc Khouzam <marc.khouzam@ericsson.com> wrote:
>> -----Original Message-----
>> From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On
>> Behalf Of Joel Brobecker
>> Sent: Friday, May 30, 2014 11:00 AM
>> To: Frank Ch. Eigler
>> Cc: Simon Marchi; Samuel Bronson; gdb@sourceware.org;
>> overseers@sourceware.org
>> Subject: Re: git clone through http
>>
>>>>> 2. Somehow set up a "smart" web-based git server. [...] Choice 2
>>>>> is clearly more complicated and more httpd-specific, but also more
>>>>> efficient in most cases.
>>>
>>> We'll consider it, though an even easier thing we could do is stop
>>> promoting the http:// git URL.
>>
>> If we do, it would be interesting to know where that is. I double-checked
>> GDB's website, and it only references the "git" protocol.
>
> I am trying to use the http access to the GDB git repo because I want to run
> automated tests using the master branch using a Jenkins infrastructure.
> That Jenkins machine has to go through a proxy to access the internet and the
> proxy does not trigger when using the git protocol. So I was hoping to fall back
> on the http protocol.
What about doing a local mirror?
Thanks,
Andrew
>
> We've faced similar issues for eclipse projects and having an http access to
> the repos has proven useful.
>
> I found the reference to that http access here at the top of the page of the git repo:
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git
>
> Thanks
>
> Marc
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: git clone through http
2014-05-30 15:21 ` pinskia
@ 2014-05-30 15:32 ` Simon Marchi
2014-05-30 15:44 ` Joel Brobecker
0 siblings, 1 reply; 10+ messages in thread
From: Simon Marchi @ 2014-05-30 15:32 UTC (permalink / raw)
To: pinskia
Cc: Joel Brobecker, Frank Ch. Eigler, Samuel Bronson, gdb, overseers,
Marc Khouzam
> What about doing a local mirror?
I am not sure I understand. Making a local mirror is basically cloning
the repository, which we can't do with the current limitations.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: git clone through http
2014-05-30 15:32 ` Simon Marchi
@ 2014-05-30 15:44 ` Joel Brobecker
2014-05-30 16:48 ` Simon Marchi
0 siblings, 1 reply; 10+ messages in thread
From: Joel Brobecker @ 2014-05-30 15:44 UTC (permalink / raw)
To: Simon Marchi
Cc: pinskia, Frank Ch. Eigler, Samuel Bronson, gdb, overseers, Marc Khouzam
> 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?
--
Joel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: git clone through http
2014-05-30 15:44 ` Joel Brobecker
@ 2014-05-30 16:48 ` Simon Marchi
2014-05-30 16:53 ` Marc Khouzam
0 siblings, 1 reply; 10+ messages in thread
From: Simon Marchi @ 2014-05-30 16:48 UTC (permalink / raw)
To: Joel Brobecker
Cc: pinskia, Frank Ch. Eigler, Samuel Bronson, gdb, overseers, Marc Khouzam
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.
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: git clone through http
2014-05-30 16:48 ` Simon Marchi
@ 2014-05-30 16:53 ` Marc Khouzam
0 siblings, 0 replies; 10+ messages in thread
From: Marc Khouzam @ 2014-05-30 16:53 UTC (permalink / raw)
To: Simon Marchi, Joel Brobecker
Cc: pinskia, Frank Ch. Eigler, Samuel Bronson, gdb, overseers
> -----Original Message-----
> From: Simon Marchi
> Sent: Friday, May 30, 2014 12:48 PM
> To: Joel Brobecker
> Cc: pinskia@gmail.com; Frank Ch. Eigler; Samuel Bronson;
> gdb@sourceware.org; overseers@sourceware.org; Marc Khouzam
> Subject: Re: git clone through http
>
> 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.
I'm also getting similar errors.
I believe it worked at the beginning of the week, and I got the repo cloned by
my Jenkins job. Not long after (the same afternoon or the day after) it didn't
work anymore.
Thanks for the help
Marc
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2014-05-30 16:53 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <53876894.5020103@ericsson.com>
[not found] ` <87ha48dp55.fsf@naesten.mooo.com>
2014-05-30 14:38 ` git clone through http Simon Marchi
2014-05-30 14:48 ` Joel Brobecker
2014-05-30 14:50 ` Frank Ch. Eigler
2014-05-30 15:00 ` Joel Brobecker
2014-05-30 15:10 ` Marc Khouzam
2014-05-30 15:21 ` pinskia
2014-05-30 15:32 ` Simon Marchi
2014-05-30 15:44 ` Joel Brobecker
2014-05-30 16:48 ` Simon Marchi
2014-05-30 16:53 ` Marc Khouzam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).