Bug#366855: Please support mirroring of pdiff files

2006-09-08 Thread Goswin von Brederlow
[EMAIL PROTECTED] (Bob Proulx) writes: > Goswin von Brederlow wrote: >> The drawback is that any actual patch failures will just be silently >> corrected without indicating a problem. > > I misunderstand because this with the previous sentence seems to be > opposite statements. I am sorry that I

Bug#366855: Please support mirroring of pdiff files

2006-09-08 Thread Bob Proulx
Goswin von Brederlow wrote: > Bob Proulx writes: > Ok, gzip -dc used now. Thanks for humoring me. > I check for a failure of the system call too but that only tells me > that patch failed. In verbose mode it will report the failure but not > count it as error since it will just fetch the full fil

Bug#366855: Please support mirroring of pdiff files

2006-09-08 Thread Goswin von Brederlow
[EMAIL PROTECTED] (Bob Proulx) writes: > Goswin von Brederlow wrote: >> Any objections to >> >> system("gunzip < "$tempdir/$subdir/$list.diff/$file.gz" | patch --ed >> $tempdir/$subdir/$list"); > > A very, very small thing. It is every so slightly more portable to > use 'gzip -d' than to use '

Bug#366855: Please support mirroring of pdiff files

2006-09-07 Thread Peter Colberg
On Thu, Sep 07, 2006 at 05:07:07PM +0200, Goswin von Brederlow wrote: > Peter Colberg <[EMAIL PROTECTED]> writes: > > > +system_redirect_io("gunzip", "$tempdir/$subdir/$list.diff/$file.gz", > > "$tempdir/$subdir/$list.diff/$file"); > > +system("patch --ed $tempdir/$subdir/$list > > $temp

Bug#366855: Please support mirroring of pdiff files

2006-09-07 Thread Bob Proulx
Goswin von Brederlow wrote: > Any objections to > > system("gunzip < "$tempdir/$subdir/$list.diff/$file.gz" | patch --ed > $tempdir/$subdir/$list"); A very, very small thing. It is every so slightly more portable to use 'gzip -d' than to use 'gunzip'. (And yes, I hit having gzip available but

Bug#366855: Please support mirroring of pdiff files

2006-09-07 Thread Goswin von Brederlow
Peter Colberg <[EMAIL PROTECTED]> writes: > +system_redirect_io("gunzip", "$tempdir/$subdir/$list.diff/$file.gz", > "$tempdir/$subdir/$list.diff/$file"); > +system("patch --ed $tempdir/$subdir/$list > $tempdir/$subdir/$list.diff/$file"); > +unlink("$tempdir/$subdir/$list.diff/$file")

Bug#366855: Please support mirroring of pdiff files

2006-09-07 Thread Peter Colberg
On Thu, Sep 07, 2006 at 09:35:28AM +0200, Goswin von Brederlow wrote: > Peter Colberg <[EMAIL PROTECTED]> writes: > > > Tackling full pdiff support for debmirror tonight, I took the last > > patch a bit further and implemented APT's RRED method, basically > > by translating from C++ to perl in a l

Bug#366855: Please support mirroring of pdiff files

2006-09-07 Thread Goswin von Brederlow
Peter Colberg <[EMAIL PROTECTED]> writes: > Tackling full pdiff support for debmirror tonight, I took the last > patch a bit further and implemented APT's RRED method, basically > by translating from C++ to perl in a linear fashion. > > This means that debmirror is now capable of using the pdiff f

Bug#366855: Please support mirroring of pdiff files

2006-09-06 Thread Peter Colberg
Tackling full pdiff support for debmirror tonight, I took the last patch a bit further and implemented APT's RRED method, basically by translating from C++ to perl in a linear fashion. This means that debmirror is now capable of using the pdiff files to patch already available, out-dated Packages

Bug#366855: Please support mirroring of pdiff files

2006-09-04 Thread Peter Colberg
Hi, not having found anything similar yet, I have extended debmirror to support Packages and Sources pdiff files. The patch below makes debmirror download {Packages,Sources}.diff/Index files in case they exist, and fetches the appropriate pdiff files. I payed attention not to mess up the overall d

Bug#366855: Please support mirroring of pdiff files

2006-06-24 Thread Yaroslav Halchenko
severity 366855 normal thanks Hi Michael and Goswin, Doesn't it imply that we are missing all the files which are mentioned in .diff files? if so I would say that debmirror fails to operate up to its promise -- ie to provide a Debian mirror from a given URL. My opinion is that the bug severity

Bug#366855: Please support mirroring of pdiff files

2006-05-11 Thread Michael Ablassmeier
Package: debmirror Severity: wishlist hi, as with the upload of apt 0.6.44 to unstable the pdiff features have been merged from experimental. It would be nice if debmirror could also mirror and/or make use of Contents.diff/ and Packages.diff/. bye, - michael -- To UNSUBSCRIBE, email to [E