Skip to contentSkip to conversation

HTTP access to git repository outdated

Buildroot Richard Braun 6 participants 7 messages Aug 25, 2014

lore
Share & tools
lore
#0 lore raw

Hello,

It looks like git update-server-info isn't run automatically since getting the repository through http gives a slightly outdated tree.

Signature · 1 line
Richard Braun
#1 lore raw

Hi Richard,

Quoted 2 lines · Richard Braun

It looks like git update-server-info isn't run automatically since getting the repository through http gives a slightly outdated tree.

This is a known problem. Try adding or removing the trailing slash from the git repository URL.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#2 lore raw
Quoted 2 lines · Baruch Siach

This is a known problem. Try adding or removing the trailing slash from the git repository URL.

This makes no difference on my machine. Is there any intent to fix it at least ? I personally don't mind the issue too much if it doesn't last. Others might simply not have a choice.

Signature · 1 line
Richard Braun
#3 lore raw
Quoted 8 lines · On Mon, 25 Aug 2014 13:13:43 +0200 Richard Braun <[email protected]> wrote:
Quoted 2 lines · Baruch Siach

This is a known problem. Try adding or removing the trailing slash from the git repository URL.

This makes no difference on my machine. Is there any intent to fix it at least ? I personally don't mind the issue too much if it doesn't last. Others might simply not have a choice.

If you are posting about git.buildroot.net - - -

Then:
http://git.buildroot.net/buildroot "master" is 4 days old

And:
http://git.buildroot.net/buildroot/ "master" is 30 hours old

Same, same, known problem.

Check your browser after you try each "view" - your browser may be trying to "help" you by removing the '/' regardless of what you actually entered.

- - - -

Note: http servers **should** re-direct from /directory to /directory/ but this one does not and it is a "managed" server.
The hosting providers have not been able to find out "why" for quite some time now.

Mike

#4 lore raw
Quoted 26 lines · Mike Zick
Quoted 8 lines · On Mon, 25 Aug 2014 13:13:43 +0200 Richard Braun <[email protected]> wrote:
Quoted 2 lines · Baruch Siach

This is a known problem. Try adding or removing the trailing slash from the git repository URL.

This makes no difference on my machine. Is there any intent to fix it at least ? I personally don't mind the issue too much if it doesn't last. Others might simply not have a choice.

If you are posting about git.buildroot.net - - -

Then:
http://git.buildroot.net/buildroot "master" is 4 days old

And:
http://git.buildroot.net/buildroot/ "master" is 30 hours old

Same, same, known problem.

Check your browser after you try each "view" - your browser may be trying to "help" you by removing the '/' regardless of what you actually entered.

Quoted 6 lines

- - - -

Note: http servers **should** re-direct from /directory to /directory/ but this one does not and it is a "managed" server.
The hosting providers have not been able to find out "why" for quite some time now.

Peter, can we escalate this further or request once more to investigate this?

'managed' is not really the right word if one is not able to find out why a slash in a URL makes a difference.

Best regards,
Thomas

#5 lore raw
In reply to Baruch Siach

Dear Baruch Siach,

Quoted 6 lines · Baruch Siach
Quoted 2 lines · Richard Braun

It looks like git update-server-info isn't run automatically since getting the repository through http gives a slightly outdated tree.

This is a known problem. Try adding or removing the trailing slash from the git repository URL.

Completely separate issue.

The problem with the http/git difference is that when I push some changes to the official repository, git update-server-info is not executed due to some permission issues. So the http side of things only gets resynced the next time Peter pushes something.

Since I'm the last one to have pushed some stuff.

The last commit available from the http:// repo was pushed by Peter (f67e7ba06f5f00dc9153ad364932092692458704 package/gutenprint: replaces -static with -static-libtool-libs).

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#6 lore raw
Quoted 19 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Dear Baruch Siach,

Quoted 6 lines · Baruch Siach
Quoted 2 lines · Richard Braun

It looks like git update-server-info isn't run automatically since getting the repository through http gives a slightly outdated tree.

This is a known problem. Try adding or removing the trailing slash from the git repository URL.

Completely separate issue.

The problem with the http/git difference is that when I push some changes to the official repository, git update-server-info is not executed due to some permission issues. So the http side of things only gets resynced the next time Peter pushes something.

Quoted 5 lines

Since I'm the last one to have pushed some stuff.

The last commit available from the http:// repo was pushed by Peter (f67e7ba06f5f00dc9153ad364932092692458704 package/gutenprint: replaces -static with -static-libtool-libs).

I'll have a look at the permission issue / notify the osuosl guys so this gets fixed.

Signature · 1 line
Bye, Peter Korsgaard