-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Thu, 16 Dec 2021 14:17:48 -0700 Source: dh-golang Architecture: source Version: 1.53 Distribution: unstable Urgency: medium Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org> Changed-By: Anthony Fok <foka@debian.org> Changes: dh-golang (1.53) unstable; urgency=medium . [ Guillem Jover ] * Add reference to Debian::Debhelper::Buildsystem::golang(1) to SEE ALSO. Most of the machinery documentation is provided in the build system module, and it's non-obvious when checking the dh_golang(1) man page. . [ Anthony Fok ] * Debian::Debhelper::Buildsystem::golang: Fix logic in "no non-test Go files" path removal. According to https://perldoc.perl.org/perlsyn#Foreach-Loops: If any part of LIST is an array, foreach will get very confused if you add or remove elements within the loop body, for example with splice. So don't do that. Well, I was ignorant and did just that to @targets (removing elements with grep) in get_targets, causing some elements to be skipped, and this bug finally manifests itself with golang-google-api/0.61.0-1 where there are two consecutive paths with no non-test Go files. Checksums-Sha1: 68ba3159470eda23fcb3f30ac10fea09497c2584 1769 dh-golang_1.53.dsc 17c9602dc3572de4072e055a5aa3d221ab69780e 17916 dh-golang_1.53.tar.xz 24997d15ff23c597d572cca825b5d24c6144d8d7 5931 dh-golang_1.53_amd64.buildinfo Checksums-Sha256: f30963afcf67ade5df223ada7cbc70bc6d165b22abb96b4182a119311be13a01 1769 dh-golang_1.53.dsc b5db2bcf450079253e7f400ea2a13fb487c8ec3df85c39a8d12e5f63fbf15391 17916 dh-golang_1.53.tar.xz f4b0d3a7893f5439169641fa173fc48663971817438d743a273d9a19ebce47c4 5931 dh-golang_1.53_amd64.buildinfo Files: b9726c92b7287b0fc068a2e6c2406f18 1769 devel optional dh-golang_1.53.dsc ca1b0dc0f6d98f0740b15c2d0d3c5b19 17916 devel optional dh-golang_1.53.tar.xz 4629b580944797d2d41a9346e72ece4c 5931 devel optional dh-golang_1.53_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEEFCQhsZrUqVmW+VBy6iUAtBLFms8FAmG7rcwQHGZva2FAZGVi aWFuLm9yZwAKCRDqJQC0EsWaz1/aD/0SpfJB2eDElTn6LmEUcuI1awEkB4POAscz /FNR3J9u1aGtuKPSDMqF2s4kVilcaD13SzsP2r3WthixvuQSNKX0CqywFJQMfBfE x1cNkR+bqTG8CKsn4jvenfZWYrZ0D64PM/oCFIB1yAe0ENrtO03AMbG8sHIBtcNP SD3atmb/tSOTIvCRdm3Ks/ftC9pL5jbJOcmZgU8mS5ecTMYMsZRdNJPrxWvjFfer Qy6oagMqiCT2clphDcDHtgFSmXmm6ne3jrII8v4dRiicLw6fcyq417LmBXQ4ZZmr Z2Wej+lDGlhDl+gtArIjdO631QrhB6R4l27d/a3+EyATUg4MAu3zydIZMqUy5KAt kg/r3vPUB94yo7Uosj/S0h6WfJIPdjDR9HTBmioBJgdJnK0aln5X8ByqYkfajdtY WAd/fpHOeWmGTa1DN2OvB3AYQcbpx/qGYzyYQUzpB3aMnPQG+ACMJFknAghHw+A7 wAoVdtrCa2tRDBV0/k1x0hUEE5zjwyEkhVJdBLiF0oq1k1IoF7CHHRWka9zVWa2a KoTJuZzOY4Tk9diiXvtgTKlCB52x87ZrRvGXOvhaWgKHgiyfv9OB4yxwlRiCyxLp aA1q2zpPAt9eBxLmJcSQWy+iYLlTmoeQhT5XUn7kQvgduJkV+EXfGPARpUQUllF6 lwPMM7r7Eg== =OicC -----END PGP SIGNATURE-----