Skip to contentSkip to conversation

Query about status of http-pull

DISCUSSION Martin Schlemmer 4 participants 4 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

Recently cogito again say that the rsync method will be deprecated in future (due to http-pull now supporting pack objects I suppose), but it seems to me that it still have other issues:

-----
lycan linux-2.6 # git pull origin
Fetching HEAD using http
Getting pack list
error: Couldn't get 0572e3da3ff5c3744b2f606ecf296d5f89a4bbdf: not separate or in any pack
error: Tried http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects/05/72e3da3ff5c3744b2f606ecf296d5f89a4bbdf
Cannot obtain needed object 0572e3da3ff5c3744b2f606ecf296d5f89a4bbdf
while processing commit 0000000000000000000000000000000000000000.
lycan linux-2.6 # cg-update
17:50:02 URL:http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/refs/heads/master [41/41] -> "refs/heads/.origin-pulling" [1]

FINISHED --17:50:09--
Downloaded: 11,949 bytes in 5 files
Missing object of tag v2.6.13-rc7... unable to retrieve Up to date.

Applying changes...
Branch already fully merged.
lycan linux-2.6 #
-----

If you switch it however to rsync again, it works just fine. Other branches like that of KLIBC and one or two others do not even pull via http-pull.

So basically the question is if this is known issues (had mail issues, so missed the last week or so's mail) ?

Thanks,

Signature · 1 line
Martin Schlemmer
#1 lore raw
Quoted 6 lines · Martin Schlemmer

Hi,

Recently cogito again say that the rsync method will be deprecated in future (due to http-pull now supporting pack objects I suppose), but it seems to me that it still have other issues:

Quoted 8 lines

-----
lycan linux-2.6 # git pull origin
Fetching HEAD using http
Getting pack list
error: Couldn't get 0572e3da3ff5c3744b2f606ecf296d5f89a4bbdf: not separate or in any pack
error: Tried http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects/05/72e3da3ff5c3744b2f606ecf296d5f89a4bbdf
Cannot obtain needed object 0572e3da3ff5c3744b2f606ecf296d5f89a4bbdf
while processing commit 0000000000000000000000000000000000000000.

It looks like pack-c24bb5025e835a3d8733931ce7cc440f7bfbaaed isn't in the pack list. I suspect that updating this file should really be done by anything that creates pack files, because people forget to run the program that does it otherwise and then http has problems.

-Daniel
*This .sig left intentionally blank*

#2 lore raw
Quoted 4 lines · Daniel Barkalow

It looks like pack-c24bb5025e835a3d8733931ce7cc440f7bfbaaed isn't in the pack list. I suspect that updating this file should really be done by anything that creates pack files, because people forget to run the program that does it otherwise and then http has problems.

True.

Added at the end of git-repack-script (Linus can disable it by giving an '-n' flag when packing his private repositories).

#3 lore raw
Quoted 3 lines · Junio C Hamano

Added at the end of git-repack-script (Linus can disable it by giving an '-n' flag when packing his private repositories).

No, I just haven't updated my git on master.kernel.org in a while. So nothing to disable.

I ran git-update-server-info manually, so it should work now.

Linus