Skip to contentSkip to conversation

HTTP url not working

DISCUSSION Felipe Contreras 2 participants 7 messages Oct 6, 2008 – Oct 7, 2008

lore
Share & tools
lore
#2 lore raw
Quoted 6 lines · Tony Lindgren
Quoted 5 lines · Felipe Contreras

Hi,

The http url doesn't seem to be working anymore:
http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

Quoted 7 lines
Quoted 2 lines

Can you?
mv .git/post-update{.sample,}

Hmm, I just did a git-clone over http, and it worked fine.

Kevin just told me that the new pm branched don't show up over http, but do appear over git. Trying to debug.

Looks like it's some kernel.org mirroring issue with http.

If I edit .git/config to use git protocol:

url = git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

And then pull:

$ rm .git/refs/remotes/origin/pm-*; git-pull -v
Quoted 1 line

From git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6

= [up to date] linus -> origin/linus
a58e707..62c36fd master -> origin/master

 = [up to date]      omap2-upstream -> origin/omap2-upstream
 = [up to date]      omap3-upstream -> origin/omap3-upstream
 * [new branch]      pm-0       -> origin/pm-0
 * [new branch]      pm-0.5     -> origin/pm-0.5
 * [new branch]      pm-1       -> origin/pm-1
 * [new branch]      pm-20081006 -> origin/pm-20081006

Already up-to-date.

It work fine.

But if I edit .git/config to use http protocol:

url = http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

And then pull:

$ rm .git/refs/remotes/origin/pm-*; git-pull -v
Quoted 1 line

From http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6

 = [up to date]      linus      -> origin/linus
 + 62c36fd...a58e707 master     -> origin/master  (forced update)
 * [new branch]      pm-0       -> origin/pm-0
 * [new branch]      pm-1       -> origin/pm-1

Already up-to-date.

It pulls something that's old.

Tony

#3 lore raw
Quoted 52 lines · Tony Lindgren
Quoted 6 lines · Tony Lindgren
Quoted 5 lines · Felipe Contreras

Hi,

The http url doesn't seem to be working anymore:
http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

Quoted 7 lines
Quoted 2 lines

Can you?
mv .git/post-update{.sample,}

Hmm, I just did a git-clone over http, and it worked fine.

Kevin just told me that the new pm branched don't show up over http, but do appear over git. Trying to debug.

Looks like it's some kernel.org mirroring issue with http.

If I edit .git/config to use git protocol:

url = git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

And then pull:

$ rm .git/refs/remotes/origin/pm-*; git-pull -v
From git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
 = [up to date]      linus      -> origin/linus
 a58e707..62c36fd  master     -> origin/master
 = [up to date]      omap2-upstream -> origin/omap2-upstream
 = [up to date]      omap3-upstream -> origin/omap3-upstream
 * [new branch]      pm-0       -> origin/pm-0
 * [new branch]      pm-0.5     -> origin/pm-0.5
 * [new branch]      pm-1       -> origin/pm-1
 * [new branch]      pm-20081006 -> origin/pm-20081006
Already up-to-date.

It work fine.

But if I edit .git/config to use http protocol:

url = http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

And then pull:

$ rm .git/refs/remotes/origin/pm-*; git-pull -v
From http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
 = [up to date]      linus      -> origin/linus
 + 62c36fd...a58e707 master     -> origin/master  (forced update)
 * [new branch]      pm-0       -> origin/pm-0
 * [new branch]      pm-1       -> origin/pm-1
Already up-to-date.
Quoted 1 line

It pulls something that's old.

Yes, it seems there was a git version update or something because the post-update hook is not there anymore.

You can see it here:
http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git/info/refs

The refs are pointing to old commits, and nothing will change until you run git update-server-info. If you enable the hook that will be done automatically each time the refs are updated.

Signature · 1 line
Felipe Contreras
#4 lore raw
Quoted 58 lines · Felipe Contreras
Quoted 52 lines · Tony Lindgren
Quoted 6 lines · Tony Lindgren
Quoted 5 lines · Felipe Contreras

Hi,

The http url doesn't seem to be working anymore:
http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

Quoted 7 lines
Quoted 2 lines

Can you?
mv .git/post-update{.sample,}

Hmm, I just did a git-clone over http, and it worked fine.

Kevin just told me that the new pm branched don't show up over http, but do appear over git. Trying to debug.

Looks like it's some kernel.org mirroring issue with http.

If I edit .git/config to use git protocol:

url = git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

And then pull:

$ rm .git/refs/remotes/origin/pm-*; git-pull -v
From git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
 = [up to date]      linus      -> origin/linus
 a58e707..62c36fd  master     -> origin/master
 = [up to date]      omap2-upstream -> origin/omap2-upstream
 = [up to date]      omap3-upstream -> origin/omap3-upstream
 * [new branch]      pm-0       -> origin/pm-0
 * [new branch]      pm-0.5     -> origin/pm-0.5
 * [new branch]      pm-1       -> origin/pm-1
 * [new branch]      pm-20081006 -> origin/pm-20081006
Already up-to-date.

It work fine.

But if I edit .git/config to use http protocol:

url = http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

And then pull:

$ rm .git/refs/remotes/origin/pm-*; git-pull -v
From http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
 = [up to date]      linus      -> origin/linus
 + 62c36fd...a58e707 master     -> origin/master  (forced update)
 * [new branch]      pm-0       -> origin/pm-0
 * [new branch]      pm-1       -> origin/pm-1
Already up-to-date.
Quoted 1 line

It pulls something that's old.

Yes, it seems there was a git version update or something because the post-update hook is not there anymore.

Quoted 6 lines

You can see it here:
http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git/info/refs

The refs are pointing to old commits, and nothing will change until you run git update-server-info. If you enable the hook that will be done automatically each time the refs are updated.

OK, thanks for the info.

I've renamed post-update.sample into post-update, which does exec git-update-server-info.

I've also renamed the other *.sample files to enable them.

Tony

#5 lore raw
Quoted 66 lines · Tony Lindgren
Quoted 58 lines · Felipe Contreras
Quoted 52 lines · Tony Lindgren
Quoted 6 lines · Tony Lindgren
Quoted 5 lines · Felipe Contreras

Hi,

The http url doesn't seem to be working anymore:
http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

Quoted 7 lines
Quoted 2 lines

Can you?
mv .git/post-update{.sample,}

Hmm, I just did a git-clone over http, and it worked fine.

Kevin just told me that the new pm branched don't show up over http, but do appear over git. Trying to debug.

Looks like it's some kernel.org mirroring issue with http.

If I edit .git/config to use git protocol:

url = git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

And then pull:

$ rm .git/refs/remotes/origin/pm-*; git-pull -v
From git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
 = [up to date]      linus      -> origin/linus
 a58e707..62c36fd  master     -> origin/master
 = [up to date]      omap2-upstream -> origin/omap2-upstream
 = [up to date]      omap3-upstream -> origin/omap3-upstream
 * [new branch]      pm-0       -> origin/pm-0
 * [new branch]      pm-0.5     -> origin/pm-0.5
 * [new branch]      pm-1       -> origin/pm-1
 * [new branch]      pm-20081006 -> origin/pm-20081006
Already up-to-date.

It work fine.

But if I edit .git/config to use http protocol:

url = http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

And then pull:

$ rm .git/refs/remotes/origin/pm-*; git-pull -v
From http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
 = [up to date]      linus      -> origin/linus
 + 62c36fd...a58e707 master     -> origin/master  (forced update)
 * [new branch]      pm-0       -> origin/pm-0
 * [new branch]      pm-1       -> origin/pm-1
Already up-to-date.
Quoted 1 line

It pulls something that's old.

Yes, it seems there was a git version update or something because the post-update hook is not there anymore.

Quoted 6 lines

You can see it here:
http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git/info/refs

The refs are pointing to old commits, and nothing will change until you run git update-server-info. If you enable the hook that will be done automatically each time the refs are updated.

Quoted 6 lines

OK, thanks for the info.

I've renamed post-update.sample into post-update, which does exec git-update-server-info.

I've also renamed the other *.sample files to enable them.

I don't think that's a good idea... you should check what they do. I only know the post-update hook is needed for http.

Signature · 1 line
Felipe Contreras
#6 lore raw
Quoted 69 lines · Felipe Contreras
Quoted 68 lines · Tony Lindgren
Quoted 58 lines · Felipe Contreras
Quoted 52 lines · Tony Lindgren
Quoted 6 lines · Tony Lindgren
Quoted 5 lines · Felipe Contreras

Hi,

The http url doesn't seem to be working anymore:
http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

Quoted 7 lines
Quoted 2 lines

Can you?
mv .git/post-update{.sample,}

Hmm, I just did a git-clone over http, and it worked fine.

Kevin just told me that the new pm branched don't show up over http, but do appear over git. Trying to debug.

Looks like it's some kernel.org mirroring issue with http.

If I edit .git/config to use git protocol:

url = git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

And then pull:

$ rm .git/refs/remotes/origin/pm-*; git-pull -v
From git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
 = [up to date]      linus      -> origin/linus
 a58e707..62c36fd  master     -> origin/master
 = [up to date]      omap2-upstream -> origin/omap2-upstream
 = [up to date]      omap3-upstream -> origin/omap3-upstream
 * [new branch]      pm-0       -> origin/pm-0
 * [new branch]      pm-0.5     -> origin/pm-0.5
 * [new branch]      pm-1       -> origin/pm-1
 * [new branch]      pm-20081006 -> origin/pm-20081006
Already up-to-date.

It work fine.

But if I edit .git/config to use http protocol:

url = http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

And then pull:

$ rm .git/refs/remotes/origin/pm-*; git-pull -v
From http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
 = [up to date]      linus      -> origin/linus
 + 62c36fd...a58e707 master     -> origin/master  (forced update)
 * [new branch]      pm-0       -> origin/pm-0
 * [new branch]      pm-1       -> origin/pm-1
Already up-to-date.
Quoted 1 line

It pulls something that's old.

Yes, it seems there was a git version update or something because the post-update hook is not there anymore.

Quoted 6 lines

You can see it here:
http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git/info/refs

The refs are pointing to old commits, and nothing will change until you run git update-server-info. If you enable the hook that will be done automatically each time the refs are updated.

OK, thanks for the info.

Quoted 7 lines
Quoted 4 lines

I've renamed post-update.sample into post-update, which does exec git-update-server-info.

I've also renamed the other *.sample files to enable them.

I don't think that's a good idea... you should check what they do. I only know the post-update hook is needed for http.

Yeah, looks like we have them all in use in source.mvista.com.

Tony