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

Niels Thykier <[email protected]>
Newsgroups gmane.linux.debian.devel.dpkg.bugs
Message-ID <777d171b-82c7-48f3-b48b-6644a398f427__22493.200334587$1752052765$gmane$org@thykier.net>
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
OpenPGP_signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE9ecZmu9eXGflVYc/dA1oiINl0okFAmhuL7MACgkQdA1oiINl
0okRGggAhbQ+B/xT0a57OAILffOhfZC3IDYFpZxK3avOmk0jXXhr3tgn6IjqOmM0
yOuyfq7JPgInHJxZ+fDWY2eDmc+WqNCIbVPiTOyzgIYSk/XjdDc5qpDoB0bqIZrF
5bBkbVLXfO2JUUkzvpg7vTKg7EhGQ1dx8u8NbPDEwBf8kXtijOv0IIpF0ZvMABSl
7wdhymDGAWefGVj9XXdxolHQ+Q7IEjQYksVNlBqDD9Flw64KsAMaSwPocloPXDSL
+yyMSJJ9/yB7pX12vE86OJwMuxLfLzBAZJZ3KklnaiQkIDTehtMyl2aidAzu0uAp
I6bjohoVewJ0lHlkzsDhovj6NmShlw==
=g5y0
-----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.