Bug#783137: share parsing of sources.list files
Niko Tyni
ntyni at debian.org
Wed Apr 22 19:22:49 UTC 2015
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.
(This was prompted by #783110 FWIW.)
As for actually parsing the sources.list files, libapt-pkg-perl does
some of that too but unfortunately there doesn't seem to be any interface
for getting details about the source repositories...
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list