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

Bug#854615: ITP: apt-seek -- search for files within Debian packages



control: close -1

[2017-02-08 20:25] Niels Thykier <niels@thykier.net>
> Hi,
>
> I would be happy to see this reduced search indices be part of apt-file
> eventually.  It would hopefully enable other packages (like
> command-not-found and the Perl team's dh-make variant) to reuse apt-file
> (or its replacement) to search through optimised indices.
>
> A couple of remarks about the upstream code.  Please consider using
> apt's fetch system to download Contents files.  A couple of items where
> the download falls short:
>
>  * Non-trivial supports like mirror:// or tor+http(s)://
>  * It does not support alternative mirror layouts (e.g. Ubuntu and
>    Debian disagrees on the location of Contents)
>  * It does not support APT's proxying
>  * It does not verify downloads (admittedly, a very minor issue)
>  * It does not support the compression from APT (e.g. if a mirror want
>    to provide the files uncompressed or .xz compressed)
>  * It does not support PDiffs for updates
>  * It does not automatically fetch Contents-all if the archive
>    moved the "arch:all" files into Contents-all.  I will actively push
>    for this in buster (to reduce download sizes - notably of PDiffs)
>    (see #649882)

Thank you for such detailed review. So I withdraw this ITP and add patch
to apt-file into my TODO.

--
X-Web-Site: https://sinsekvu.github.io | Note that I process my email in batch,
Accept-Languages: eo,ru,en             | at most once every 24 hours. If matter
Accept: text/plain, text/x-diff        | is urgent, you have my phone number.

Attachment: pgpWnteaRVIS0.pgp
Description: PGP signature


Reply to: