threads / discuss / 1636

Query about status of http-pull

Subject: Query about status of http-pull

## tl;dr

4 messages between Aug 24, 2005 and Aug 24, 2005.

replies: 3people: 4as markdown or json

Martin Schlemmer· Aug 24, 2005, 16:10 UTC · lore
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,
-- 
Martin Schlemmer
Daniel Barkalow· Aug 24, 2005, 16:39 UTC · re: Martin Schlemmer · lore

Re: Query about status of http-pull

On Wed, 24 Aug 2005, Martin Schlemmer wrote:
Show 14 quoted lines
> 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.

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*
Junio C Hamano· Aug 24, 2005, 18:16 UTC · re: Daniel Barkalow · lore

Re: Query about status of http-pull

Daniel Barkalow <barkalow@iabervon.org> writes:
> 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).

Linus Torvalds· Aug 24, 2005, 18:25 UTC · re: Junio C Hamano · lore

Re: Query about status of http-pull

On Wed, 24 Aug 2005, Junio C Hamano wrote:
> 
> 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

← back to recent threads