Bug#783137: share parsing of sources.list files

Niels Thykier niels at thykier.net
Thu Aug 27 19:24:48 UTC 2015


Control: tags -1 wontfix

Hi,

Thanks for your interest in this.

On 2015-05-23 19:19, Damyan Ivanov wrote:
> Control: user debian-perl at lists.debian.org
> Control: usertag -1 bcn2015
> 
> -=| Niko Tyni, 22.04.2015 22:22:49 +0300 |=-
>> Package: dh-make-perl, apt-file
>> Severity: wishlist
>>
>> It looks like both apt-file and Debian::AptContents::get_contents_files()
>> in dh-make-perl parse /etc/apt/sources.list type files and try to
>> determine a path to Contents files from that. It would be nice if they
>> could share this code, perhaps by moving it into a separate module
>> shipped with apt-file that dh-make-perl could use.
> 
> [...]

With the new release of apt, I will migrate apt-file to make apt
download the Contents files for it.  Among other things, it means that
apt-file will *not* be parsing the sources.list file.

Locating the Contents will should thereafter be a matter of using
"apt-get indextargets" with some options.  I plan to make apt-file scan
any "^Created-By: Contents.*$" files by default (if you want to emulate
apt-file's behaviour in that regard in dh-make-perl).

Thanks,
~Niels




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20150827/a4f551fe/attachment.sig>


More information about the pkg-perl-maintainers mailing list