Re: Linus kernel tree corrupt?

2005-07-10 Thread Petr Baudis
Dear diary, on Sat, Jul 09, 2005 at 08:03:32PM CEST, I got a letter
where H. Peter Anvin [EMAIL PROTECTED] told me that...
 Petr Baudis wrote:
 
 Yes, please do. I deprecated rsync a day before Linus broke http-pull.
 It's un-deprecated again for now in the latest Cogito.
 
 
 Presumably for packed repos you want to drop the --ignore-existing 
 --whole-file options I assume?

It _is_ unsafe for individual objects, and your packfile will be corrupt
if you break it in the middle and not have --whole-file turned on, I
assume. It would be ideal if we could make rsync allow resuming download
of the file if interrupted, but not under the final name but in that
hidden file it uses.

 sent 339 bytes  received 1802 bytes  4282.00 bytes/sec
 total size is 410  speedup is 0.19
 Missing object of tag v2.6.11... different source (obsolete tag?)
 Missing object of tag v2.6.11-tree... different source (obsolete tag?)
 Missing object of tag v2.6.12... different source (obsolete tag?)
 Missing object of tag v2.6.12-rc2... different source (obsolete tag?)
 Missing object of tag v2.6.12-rc3... different source (obsolete tag?)
 Missing object of tag v2.6.12-rc4... different source (obsolete tag?)
 Missing object of tag v2.6.12-rc5... different source (obsolete tag?)
 Missing object of tag v2.6.12-rc6... different source (obsolete tag?)
 Missing object of tag v2.6.13-rc1... different source (obsolete tag?)
 Missing object of tag v2.6.13-rc2... different source (obsolete tag?)
 New branch: 0109fd37046de64e8459f8c4f4706df9ac7cc82c
 Cloned (origin 
 rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 
 available as branch origin)
 Cloned to ./ (origin 
 rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 
 available as branch origin)
 
 Is the missing objects thing spurious?

Yes, already fixed. Will release 0.12.1 soon.

-- 
Petr Pasky Baudis
Stuff: http://pasky.or.cz/
Espy be careful, some twit might quote you out of context..
-
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Linus kernel tree corrupt?

2005-07-10 Thread H. Peter Anvin

Petr Baudis wrote:


It _is_ unsafe for individual objects, and your packfile will be corrupt
if you break it in the middle and not have --whole-file turned on, I
assume. It would be ideal if we could make rsync allow resuming download
of the file if interrupted, but not under the final name but in that
hidden file it uses.



I think if you just don't give it --partial you're fine (rsync always 
creates a second copy, --partial decides if a partial file should be 
thrown away or not.)


-hpa
-
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Linus kernel tree corrupt?

2005-07-09 Thread Russell King
On Fri, Jul 08, 2005 at 10:06:09AM -0700, Tony Luck wrote:
 On 7/8/05, Jon Smirl [EMAIL PROTECTED] wrote:
  What happened in this session...
 
 Linus has packed his GIT tree ... and now http-pull doesn't work. 
 rsync still does (provided
 you have a new enough cogito).

So does that mean we should ignore cogito's whinging about rsync being
deprecated?

-- 
Russell King

-
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Linus kernel tree corrupt?

2005-07-09 Thread H. Peter Anvin

Petr Baudis wrote:


Yes, please do. I deprecated rsync a day before Linus broke http-pull.
It's un-deprecated again for now in the latest Cogito.



Presumably for packed repos you want to drop the --ignore-existing 
--whole-file options I assume?


Also, pulling with cogito-0.12:

cg-clone -s 
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/


I still get:

receiving file list ... done
master

sent 147 bytes  received 863 bytes  2020.00 bytes/sec
total size is 41  speedup is 0.04

receiving file list ... done
progress: 1929 objects, 5796451 bytes, 100% done
pack/pack-e3117bbaf6a59cb53c3f6f0d9b17b9433f0e4135.idx
pack/pack-e3117bbaf6a59cb53c3f6f0d9b17b9433f0e4135.pack

sent 42599 bytes  received 73373124 bytes  451789.06 bytes/sec
total size is 73178114  speedup is 1.00

receiving file list ... done
v2.6.11
v2.6.11-tree
v2.6.12
v2.6.12-rc2
v2.6.12-rc3
v2.6.12-rc4
v2.6.12-rc5
v2.6.12-rc6
v2.6.13-rc1
v2.6.13-rc2

sent 339 bytes  received 1802 bytes  4282.00 bytes/sec
total size is 410  speedup is 0.19
Missing object of tag v2.6.11... different source (obsolete tag?)
Missing object of tag v2.6.11-tree... different source (obsolete tag?)
Missing object of tag v2.6.12... different source (obsolete tag?)
Missing object of tag v2.6.12-rc2... different source (obsolete tag?)
Missing object of tag v2.6.12-rc3... different source (obsolete tag?)
Missing object of tag v2.6.12-rc4... different source (obsolete tag?)
Missing object of tag v2.6.12-rc5... different source (obsolete tag?)
Missing object of tag v2.6.12-rc6... different source (obsolete tag?)
Missing object of tag v2.6.13-rc1... different source (obsolete tag?)
Missing object of tag v2.6.13-rc2... different source (obsolete tag?)
New branch: 0109fd37046de64e8459f8c4f4706df9ac7cc82c
Cloned (origin 
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 
available as branch origin)
Cloned to ./ (origin 
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 
available as branch origin)


Is the missing objects thing spurious?

-hpa
-
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html