[Pkg-rust-maintainers] Bug#1017690: debcargo: enable deletion of files using .debcargo.hint

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Aug 19 05:41:23 BST 2022


Package: debcargo
Version: 2.5.0-3+b4

currently, if debian/foo.debcargo.hint exists, debcargo will leave
debian/foo alone, as long as what it wanted to put in debian/foo matches
debian/foo.debcargo.hint exactly.

However, in some circumstances a developer might want to entirely omit a
file normally created by debcargo.

The natural way to do this would be ship debian/foo.debcargo.hint and
then *not ship* debian/foo at all.  however, debcargo apparently sees
the lack of debian/foo as an invitation to put its usual output in that
file, even if debian/foo.debcargo.hint already exists.

Instead, debcargo should not touch debian/foo at all if
debian/foo.debcargo.hint exists.  This allows a developer to declare
that a file normally-generated by debcargo is entirely unwanted for this
package/crate.

           --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20220819/cb2bb819/attachment.sig>


More information about the Pkg-rust-maintainers mailing list