[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#881406: apt-file: drop Contents header removal?



On Sat, 11 Nov 2017 19:00:39 +0800 Paul Wise wrote:

> I noticed that reprepro (#881405) still has a header.

This has now been fixed.

> Unfortunately the reprepro header is not compatible with the current
> workaround in apt-file. We could fix that by replacing the first
> match with line 1. Alternatively we could just drop the workaround,
> removing it should speed up apt-file by not invoking sed. I guess
> most apt-file users aren't using reprepro generated repositories that
> also have Contents files available. Also, the header from reprepro
> doesn't cause quite as bad issues as the dak and launchpad header, it
> just means that there is a package called FILE with a single file in
> it called LOCATION.

Given all this (especially the speed-up) I think the workaround should
now be removed from apt-file.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: