Bug#980077: apt-cacher: please recognize new pdiff name format by default

2021-01-14 Thread Mark Hindley
On Thu, Jan 14, 2021 at 08:49:36AM -0500, Aaron M. Ucko wrote: > Mark Hindley writes: > > > pdiff_files_regexp = (?:^|[/-])2\d{3}-\d{2}-\d{2}-\d{4}\.\d{2}\.gz$ > > Yeah, that may well suffice after all; I just threw together a quick > tweak on the basis of aptitude's terminal output (which

Bug#980077: apt-cacher: please recognize new pdiff name format by default

2021-01-14 Thread Aaron M. Ucko
Mark Hindley writes: > pdiff_files_regexp = (?:^|[/-])2\d{3}-\d{2}-\d{2}-\d{4}\.\d{2}\.gz$ Yeah, that may well suffice after all; I just threw together a quick tweak on the basis of aptitude's terminal output (which gives nominal .pdiff extensions), and wanted to err on the side of

Bug#980077: apt-cacher: please recognize new pdiff name format by default

2021-01-14 Thread Mark Hindley
Aaron, On Thu, Jan 14, 2021 at 11:05:52AM +, Mark Hindley wrote: > > pdiff_files_regexp = > > (?:^|[/-])2\d{3}-\d{2}-\d{2}-\d{4}\.\d{2}\.(?:gz|pdiff.*)$ > > Looks reasonable to me. Thanks for the suggestion. Actually shouldn't it be pdiff_files_regexp =

Bug#980077: apt-cacher: please recognize new pdiff name format by default

2021-01-14 Thread Mark Hindley
Control: tags -1 pending Aaron, On Wed, Jan 13, 2021 at 09:33:40PM -0500, Aaron M. Ucko wrote: > Package: apt-cacher > Version: 1.7.21+nmu1 > Severity: normal > > AFAICT, metadata deltas now have filenames along the lines of > T-2021-01-13-2000.21-F-2021-01-13-2000.21.pdiff, which don't match >

Bug#980077: apt-cacher: please recognize new pdiff name format by default

2021-01-13 Thread Aaron M. Ucko
Package: apt-cacher Version: 1.7.21+nmu1 Severity: normal AFAICT, metadata deltas now have filenames along the lines of T-2021-01-13-2000.21-F-2021-01-13-2000.21.pdiff, which don't match apt-cacher's default pdiff_files_regexp; as such, apt winds up falling back on downloading full lists. I've