On Fri, 19 Aug 2011 17:39:09 +0200 Julian Andres Klode <j...@debian.org> wrote:
Package: ftp.debian.org
Severity: wishlist

[...]

Example:
 Package: apt
Commands: apt-get, apt-config, apt-mark, apt-cdrom, apt-cache, apt-key
We could then use that information directly and potentially add
command-not-found support to APT itself (once we break ABI), which
means one package less in the archive :)

The needed information can be found in bin_contents.file, but we
may want to allow packages to override the field themselves, as
bin_contents.file does not deal with alternatives and other
things done in maintainer scripts, maintainers of such packages
could then manually maintain the field with alternatives, or
the maintainer-supplied value could be merged with the value
extracted from projectb.

[...]

Hi,

Given recent changes to `debhelper` and `debputy`, it might be doable to have our build toolds set the `Commands` header in the `.deb` (based on a substvar). Both stacks have some support for declarative alternatives and can add those automatically.

The "downside" to this approach is that the field will "build up" over time. Notably, for the `debhelper` stack, it will depend on compat 14 (due to a dependency in the code).

Anyhow, let me know if this approach might be interesting as an alternative to the original proposal (which does not seem to have gotten any traction).

Best regards,
Niels




Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to