Jeroen van Wolffelaar <[EMAIL PROTECTED]> writes:

> On Sun, Feb 13, 2005 at 08:48:44AM +0100, Goswin von Brederlow wrote:
>> Jeroen van Wolffelaar <[EMAIL PROTECTED]> writes:
>> 
>> > Package: debmirror
>> > Version: 20050207
>> > Severity: normal
>> >
>> > --skippackages is said to not download Packages.gz files etc, and assume
>> > they are uptodate. However, this doesn't work at all:
>> >
>> > [0%] Getting: dists/sid/main/binary-i386/Packages.gz
>> > dists/sid/main/binary-i386/Packages.bz2 needs fetch
>> >
>> > (etc etc)
>> 
>> Right, I must have dropped that option when I added the check against
>> the Release file to see if something needs updateing.
>> 
>> 
>> I have multiple options now how this should behave:
>> 
>> 1. don't update Release, don't update Packages, fail if inconsistent
>> 2. don't update Release, update missing Packages
>> 3. update Release, don't update Packages (that is probably useless)
>> 4. update Release and missing Packages (current way)
>> 
>> I think I will introduce a new option "--skiprelease" and reintroduce
>> "--skippackages" allowing for all 4 cases.
>
> Ah, I see -- yes, that would seem a nice solution -- I believe that

I wil do that then for the next release.

> these options all look at the current state of .temp, rather than
> dists/, though? This would explain the behaviour I experienced, as
> dists/ was completely and fully uptodate, but .temp missing. .temp isn't
> really temporary here, and is just sitting there eating diskspace, which
> it could also every run be copied (or linked!) from dists, and after
> sync moved back into place.

Yes. So far I was too lazy to clean it up at the end and rebuild it at
the next start. Normaly .temp/dists/* is hardlinked into dists at the
end unless you have something like AFS and hardlinks fail, assuming
.temp and dists are on the same FS. So no space wasted.

> --Jeroen

MfG
        Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to