Bug#1108998: dpkg-dev: Please recognise the `Commands` field in debs

Niels Thykier <[email protected]>
Newsgroups gmane.linux.debian.devel.dpkg.bugs
Message-ID <9a9599fc-aadf-40e0-bdfa-db8a66e3fd27__36029.1066159093$1752053975$gmane$org@thykier.net>
Niels Thykier:
> Package: dpkg
> Version: 1.22.20
> Severity: wishlist
> X-Debbugs-Cc: [email protected]
> 
> Per #638517, we would like to add a `Commands` field to the `.deb`'s 
> control file to support the "command-not-found" feature.
> 
> Ideally, `dpkg-gencontrol` would allow substitution variables in it. 
> Optimally, `dpkg-gencontrol` would also optimize the field similar to 
> what it does with `Depends` in case values are repeated (`Commands` can 
> use a simpler merging since it is only basenames and not full blown 
> dependency clause).
> 
> But for starters, just having `dpkg-gencontrol` not warn about the field 
> and replacing substvars would be a great start for post-trixie.
> 
> Best regards,
> Niels

Added content, the warning comes because I used a `Commands` in the 
source control (`debian/control`; well, technically an auto-generated 
variant of it due to dbgsym support, etc. ).

When I use `XB-Commands` it works without a warning and substitution 
works correctly. So I think it is just a matter of `dpkg-dev` updating 
its list of known fields for binary controls.

Best regards,
Niels
OpenPGP_signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE9ecZmu9eXGflVYc/dA1oiINl0okFAmhuNNkACgkQdA1oiINl
0omeawgApnxFig/08Pa5rccMhNZPqgXZTBhranGkh60wKC6SEGD7Kp4IbSldXGRY
2MAbW3Urj9VAVAsfQ31T54ysTvo7WtGUncXyCoedOxZmvMkhCbRGu0kXkxlRV5lC
4EM8pRgJYP82yUOnqTCBpKqGy5LVMjebnN3i1s+2HqU7UvW+45MwI7Zlj2p956VQ
PZXvwekowbU6wUP7+PPuA0CzZlI6azJAfRwiXaswt20Tk3GA9z1BbgsNeqjqOj1G
RCrWFXrIYHr1jwZUoyNN17Mm/HmHBEghOTjtUxEk/wgUvJP8dCaZUEew/vTnFNrw
+2CZasDIvsH+7wRANkhlcMYK1ZqMTA==
=rvYe
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.