LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Problem with accessing stable git over http
@ 2008-03-26 10:35 Richard MUSIL
2008-04-04 5:07 ` Willy Tarreau
0 siblings, 1 reply; 8+ messages in thread
From: Richard MUSIL @ 2008-03-26 10:35 UTC (permalink / raw)
To: linux-kernel; +Cc: Greg KH
For some reason I cannot access stable kernel git branches over http
since version 2.6.23.y.
HTTP access is working for 2.6.22.y
(http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.22.y.git)
- I can fetch from it. It is also working for Linus' dev branch
(http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git)
which I clone.
But for stable 2.6.23.y and 2.6.24.y, when I try fetch, I get in particular:
HTTP GET
http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.24.y.git/info/refs
HTTP/1.1
HTTP HTTP/1.1 404 Not Found (text/html)
I am behind proxy and firewall and I cannot use git protocol.
Does anyone know, what might be a problem? It kind of makes the sources
unreachable for me :(.
Thanks,
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem with accessing stable git over http
2008-03-26 10:35 Problem with accessing stable git over http Richard MUSIL
@ 2008-04-04 5:07 ` Willy Tarreau
2008-04-04 8:29 ` Richard MUSIL
0 siblings, 1 reply; 8+ messages in thread
From: Willy Tarreau @ 2008-04-04 5:07 UTC (permalink / raw)
To: Richard MUSIL; +Cc: linux-kernel, Greg KH
On Wed, Mar 26, 2008 at 11:35:16AM +0100, Richard MUSIL wrote:
> For some reason I cannot access stable kernel git branches over http
> since version 2.6.23.y.
>
> HTTP access is working for 2.6.22.y
> (http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.22.y.git)
> - I can fetch from it. It is also working for Linus' dev branch
> (http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git)
> which I clone.
> But for stable 2.6.23.y and 2.6.24.y, when I try fetch, I get in particular:
>
> HTTP GET
> http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.24.y.git/info/refs
> HTTP/1.1
> HTTP HTTP/1.1 404 Not Found (text/html)
>
> I am behind proxy and firewall and I cannot use git protocol.
>
> Does anyone know, what might be a problem? It kind of makes the sources
> unreachable for me :(.
what version of git are you using ? Those files indeed do not exist in
either repository, so it would be good to find why git tries to fetch
them.
> Thanks,
> Richard
regards,
Willy
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem with accessing stable git over http
2008-04-04 5:07 ` Willy Tarreau
@ 2008-04-04 8:29 ` Richard MUSIL
2008-04-15 12:54 ` Richard MUSIL
0 siblings, 1 reply; 8+ messages in thread
From: Richard MUSIL @ 2008-04-04 8:29 UTC (permalink / raw)
To: Willy Tarreau; +Cc: linux-kernel, Greg KH
On 4.4.2008 7:07, Willy Tarreau wrote:
> On Wed, Mar 26, 2008 at 11:35:16AM +0100, Richard MUSIL wrote:
>> For some reason I cannot access stable kernel git branches over http
>> since version 2.6.23.y.
>>
>> HTTP access is working for 2.6.22.y
>> (http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.22.y.git)
>> - I can fetch from it. It is also working for Linus' dev branch
>> (http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git)
>> which I clone.
>> But for stable 2.6.23.y and 2.6.24.y, when I try fetch, I get in particular:
>>
>> HTTP GET
>> http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.24.y.git/info/refs
>> HTTP/1.1
>> HTTP HTTP/1.1 404 Not Found (text/html)
>>
>> I am behind proxy and firewall and I cannot use git protocol.
>>
>> Does anyone know, what might be a problem? It kind of makes the sources
>> unreachable for me :(.
>
> what version of git are you using ? Those files indeed do not exist in
> either repository, so it would be good to find why git tries to fetch
> them.
I am usually using latest version compiled on gentoo from ~x86
(currently it is 1.5.4.5).
Interestingly those files exist for linux-2.6.22.y, i.e. accessing
http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.22.y.git/info/refs
gives something and that is probably why I can fetch from 2.6.22.y branch.
Why git tries to access it is something beyond my understanding, I guess
it is the way http access works.
But I wonder, why the similar file is not present on 2.6.23.y and
2.6.24.y branch. My git config for project looks like this:
> [core]
> repositoryformatversion = 0
> filemode = true
> bare = false
> logallrefupdates = true
> [remote "origin"]
> url = http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> fetch = +refs/heads/*:refs/remotes/origin/*
> [branch "master"]
> remote = origin
> merge = refs/heads/master
> [remote "linux-2.6.22.y"]
> url = http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.22.y.git
> fetch = +refs/heads/*:refs/remotes/linux-2.6.22.y/*
> [remote "linux-2.6.24.y"]
> url = http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.24.y.git
> fetch = +refs/heads/*:refs/remotes/linux-2.6.24.y/*
So there is clearly discrepancy between those two on the server, but
whether this is a bug or intentional I do not know.
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem with accessing stable git over http
2008-04-04 8:29 ` Richard MUSIL
@ 2008-04-15 12:54 ` Richard MUSIL
2008-04-17 21:28 ` Greg KH
0 siblings, 1 reply; 8+ messages in thread
From: Richard MUSIL @ 2008-04-15 12:54 UTC (permalink / raw)
To: Richard Musil, Greg KH; +Cc: Willy Tarreau, linux-kernel
Just to give an update on the topic. I tried to clone stable 2.6.24.y
branch and got a bit more info then on fetch:
> rmusil@prglx09 ~ $ git clone http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.24.y.git linux-2.6.24.y
> Initialized empty Git repository in /home/rmusil/linux-2.6.24.y/.git/
> Cannot get remote repository information.
> Perhaps git-update-server-info needs to be run there?
> rmusil@prglx09 ~ $
This is from machine which is behind proxy, but I tried it from another
one, which has direct access and got exactly the same output.
Is it possible that perhaps git-update-server-info should be run there?
Who is responsible for the repository maintenance?
So far it looks like the http access is simply not set up on the repo,
even though it is advertised on project web page.
Greg, could you help me with this?
Richard
On 4.4.2008 10:29, Richard Musil wrote:
> On 4.4.2008 7:07, Willy Tarreau wrote:
>> On Wed, Mar 26, 2008 at 11:35:16AM +0100, Richard MUSIL wrote:
>>> For some reason I cannot access stable kernel git branches over http
>>> since version 2.6.23.y.
>>>
>>> HTTP access is working for 2.6.22.y
>>> (http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.22.y.git)
>>> - I can fetch from it. It is also working for Linus' dev branch
>>> (http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git)
>>> which I clone.
>>> But for stable 2.6.23.y and 2.6.24.y, when I try fetch, I get in particular:
>>>
>>> HTTP GET
>>> http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.24.y.git/info/refs
>>> HTTP/1.1
>>> HTTP HTTP/1.1 404 Not Found (text/html)
>>>
>>> I am behind proxy and firewall and I cannot use git protocol.
>>>
>>> Does anyone know, what might be a problem? It kind of makes the sources
>>> unreachable for me :(.
>> what version of git are you using ? Those files indeed do not exist in
>> either repository, so it would be good to find why git tries to fetch
>> them.
>
> I am usually using latest version compiled on gentoo from ~x86
> (currently it is 1.5.4.5).
>
> Interestingly those files exist for linux-2.6.22.y, i.e. accessing
> http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.22.y.git/info/refs
> gives something and that is probably why I can fetch from 2.6.22.y branch.
>
> Why git tries to access it is something beyond my understanding, I guess
> it is the way http access works.
>
> But I wonder, why the similar file is not present on 2.6.23.y and
> 2.6.24.y branch. My git config for project looks like this:
>
>> [core]
>> repositoryformatversion = 0
>> filemode = true
>> bare = false
>> logallrefupdates = true
>> [remote "origin"]
>> url = http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
>> fetch = +refs/heads/*:refs/remotes/origin/*
>> [branch "master"]
>> remote = origin
>> merge = refs/heads/master
>> [remote "linux-2.6.22.y"]
>> url = http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.22.y.git
>> fetch = +refs/heads/*:refs/remotes/linux-2.6.22.y/*
>> [remote "linux-2.6.24.y"]
>> url = http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.24.y.git
>> fetch = +refs/heads/*:refs/remotes/linux-2.6.24.y/*
>
> So there is clearly discrepancy between those two on the server, but
> whether this is a bug or intentional I do not know.
>
> Richard
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem with accessing stable git over http
2008-04-15 12:54 ` Richard MUSIL
@ 2008-04-17 21:28 ` Greg KH
2008-04-18 7:18 ` Richard MUSIL
2008-05-27 10:11 ` Richard MUSIL
0 siblings, 2 replies; 8+ messages in thread
From: Greg KH @ 2008-04-17 21:28 UTC (permalink / raw)
To: Richard MUSIL; +Cc: Willy Tarreau, linux-kernel
On Tue, Apr 15, 2008 at 02:54:38PM +0200, Richard MUSIL wrote:
> Just to give an update on the topic. I tried to clone stable 2.6.24.y
> branch and got a bit more info then on fetch:
>
> > rmusil@prglx09 ~ $ git clone http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.24.y.git linux-2.6.24.y
> > Initialized empty Git repository in /home/rmusil/linux-2.6.24.y/.git/
> > Cannot get remote repository information.
> > Perhaps git-update-server-info needs to be run there?
> > rmusil@prglx09 ~ $
>
> This is from machine which is behind proxy, but I tried it from another
> one, which has direct access and got exactly the same output.
> Is it possible that perhaps git-update-server-info should be run there?
> Who is responsible for the repository maintenance?
> So far it looks like the http access is simply not set up on the repo,
> even though it is advertised on project web page.
>
> Greg, could you help me with this?
I've now run git-update-server-info on that repo, let me know if that
solves the problem or not.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem with accessing stable git over http
2008-04-17 21:28 ` Greg KH
@ 2008-04-18 7:18 ` Richard MUSIL
2008-05-27 10:11 ` Richard MUSIL
1 sibling, 0 replies; 8+ messages in thread
From: Richard MUSIL @ 2008-04-18 7:18 UTC (permalink / raw)
To: Greg KH; +Cc: Willy Tarreau, linux-kernel
On 17.4.2008 23:28, Greg KH wrote:
> On Tue, Apr 15, 2008 at 02:54:38PM +0200, Richard MUSIL wrote:
>> Just to give an update on the topic. I tried to clone stable 2.6.24.y
>> branch and got a bit more info then on fetch:
>>
>>> rmusil@prglx09 ~ $ git clone http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.24.y.git linux-2.6.24.y
>>> Initialized empty Git repository in /home/rmusil/linux-2.6.24.y/.git/
>>> Cannot get remote repository information.
>>> Perhaps git-update-server-info needs to be run there?
>>> rmusil@prglx09 ~ $
>> This is from machine which is behind proxy, but I tried it from another
>> one, which has direct access and got exactly the same output.
>> Is it possible that perhaps git-update-server-info should be run there?
>> Who is responsible for the repository maintenance?
>> So far it looks like the http access is simply not set up on the repo,
>> even though it is advertised on project web page.
>>
>> Greg, could you help me with this?
>
> I've now run git-update-server-info on that repo, let me know if that
> solves the problem or not.
Thanks, this seems has solved the problem. Now, I can fetch from stable
branch over http without any problems.
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem with accessing stable git over http
2008-04-17 21:28 ` Greg KH
2008-04-18 7:18 ` Richard MUSIL
@ 2008-05-27 10:11 ` Richard MUSIL
2008-05-27 16:54 ` Greg KH
1 sibling, 1 reply; 8+ messages in thread
From: Richard MUSIL @ 2008-05-27 10:11 UTC (permalink / raw)
To: Greg KH; +Cc: linux-kernel
Hello Greg,
it seems git-update-server-info should be run regularly, because it
looks like right now I am stuck at v2.6.24.4 and I cannot get anything
from 2.6.25.y stable branch - the time you probably run it.
Could you please fix it?
Richard
On 17.4.2008 23:28, Greg KH wrote:
> On Tue, Apr 15, 2008 at 02:54:38PM +0200, Richard MUSIL wrote:
>> Just to give an update on the topic. I tried to clone stable 2.6.24.y
>> branch and got a bit more info then on fetch:
>>
>>> rmusil@prglx09 ~ $ git clone http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.24.y.git linux-2.6.24.y
>>> Initialized empty Git repository in /home/rmusil/linux-2.6.24.y/.git/
>>> Cannot get remote repository information.
>>> Perhaps git-update-server-info needs to be run there?
>>> rmusil@prglx09 ~ $
>> This is from machine which is behind proxy, but I tried it from another
>> one, which has direct access and got exactly the same output.
>> Is it possible that perhaps git-update-server-info should be run there?
>> Who is responsible for the repository maintenance?
>> So far it looks like the http access is simply not set up on the repo,
>> even though it is advertised on project web page.
>>
>> Greg, could you help me with this?
>
> I've now run git-update-server-info on that repo, let me know if that
> solves the problem or not.
>
> thanks,
>
> greg k-h
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem with accessing stable git over http
2008-05-27 10:11 ` Richard MUSIL
@ 2008-05-27 16:54 ` Greg KH
0 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2008-05-27 16:54 UTC (permalink / raw)
To: Richard MUSIL; +Cc: linux-kernel
On Tue, May 27, 2008 at 12:11:54PM +0200, Richard MUSIL wrote:
> Hello Greg,
>
> it seems git-update-server-info should be run regularly, because it
> looks like right now I am stuck at v2.6.24.4 and I cannot get anything
> from 2.6.25.y stable branch - the time you probably run it.
> Could you please fix it?
It should now work, sorry about this.
greg k-h
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-05-27 16:56 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-26 10:35 Problem with accessing stable git over http Richard MUSIL
2008-04-04 5:07 ` Willy Tarreau
2008-04-04 8:29 ` Richard MUSIL
2008-04-15 12:54 ` Richard MUSIL
2008-04-17 21:28 ` Greg KH
2008-04-18 7:18 ` Richard MUSIL
2008-05-27 10:11 ` Richard MUSIL
2008-05-27 16:54 ` Greg KH
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 NNTP newsgroup(s).