-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Mon, 24 Feb 2020 12:27:16 -0700 Source: dh-golang Architecture: source Version: 1.47 Distribution: unstable Urgency: medium Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org> Changed-By: Anthony Fok <foka@debian.org> Closes: 952173 Changes: dh-golang (1.47) unstable; urgency=medium . [ Shengjing Zhu ] * Skip empty pattern when check target lists (Closes: #952173) If the PATTERN evaluates to the empty string, the last successfully matched regular expression is used instead Thanks @lilydjwg . [ Anthony Fok ] * Replace / / with ' ' as pattern in Perl split() calls, emulating awk’s behaviour such that leading whitespace and consecutive spaces do not become empty strings in the resulting list. This was the case with golang-gopkg-gorethink-gorethink.v3 when its DH_GOLANG_EXCLUDES created empty string patterns, such that "grep { !/$pattern/ } @targets" stripped the list empty and caused e.g. "go test" call to fail. That FTBFS did not happen before dh-golang 1.46 as it was hidden by Perl 5’s peculiar feature: “If the PATTERN evaluates to the empty string, the last successfully matched regular expression is used instead.” See https://metacpan.org/pod/perlop#The-empty-pattern and https://github.com/Perl/perl5/issues/17577 for more. (Closes: #952173) * Warn in case an empty pattern is detected even if split(' ', ...) should have prevented it in the first place. For future-proofing. Checksums-Sha1: 95fa7b5635aabf8ffef85aab0f80705ab9852f4f 1744 dh-golang_1.47.dsc db3322ddaa971a77034f10d0c8bd7869a57ca9e7 16120 dh-golang_1.47.tar.xz aa64504c7334b9711b771a819e43c62874b00fb9 5988 dh-golang_1.47_amd64.buildinfo Checksums-Sha256: 70dae1e95d3e82dc8b9854688aad064a3d5c5e82d19ebea2ec3d6aa927aa57fb 1744 dh-golang_1.47.dsc b9ea9e95244847d042d9656c84565b3daf0702804fe68ec0681ae7f290f00218 16120 dh-golang_1.47.tar.xz 4a68040ca5633ecdd60472df7b34cd8d3306914769cd2d60889af707988dcf1b 5988 dh-golang_1.47_amd64.buildinfo Files: 9950aceef37e7326cb2e5978e3733595 1744 devel optional dh-golang_1.47.dsc ae8470c85a90f64b5dee73d144488a79 16120 devel optional dh-golang_1.47.tar.xz 8b2e9108a64b7fd7030a8f5ff44e9608 5988 devel optional dh-golang_1.47_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEFCQhsZrUqVmW+VBy6iUAtBLFms8FAl5UJUIACgkQ6iUAtBLF ms/ZkA/9E4du33KsJeRwdVHfBFF+HXp4TLy2/3cZmajalZCDGxCGw+sePhoTGpYV Ix5DaNu4rqXouQYVnlWvrwZePO7ilCujsyz+20ZeMaP4vlrdjrKGQNYH4C4kGAAM AUK9Io7WQQxccLHjjiDEGMbSiWdISHDCAvcS14E6KD3ORT4LVDNYP2bcPZUaxuqv NOqKYgQ3I1SZmQacTbwiF/wyyFdfvnybn8DvnYaC8l2eukoqdyKMY0Kug3acol2Q XCnMUJpaFqxHhrm6SvYH1l8g0YtcLm6gzlge2wt1YPv0dbUcgMw0k3c4nF8vKBSq 3GWcZ+0ZAF1xkhIjcd5PBYQgbv1dw1JtppoCNWN/063Hrxs5Y0TznwHmhciWfqYR 8iYrd8hw5Io2Jf8215UGmQEk9TpYXNyaLq7EKrLfAdMYnuseRuxkr03rQO69tlM/ w4SRaAQVliDmWaICDInrdgGiyw+RrsKoddu+wkkqW22i+B1wpMIwOAAEz+aprP9i T6lVtilKxgOACK0Hw+GAfioOADzmk45AiQbF147rFkI+q+mVx4UH13WVh+UXqMTW /rCt6z6YJXjf24G22AuXYlPezafXcMox+TduiuqcKMjy6VTvkmdtdiMN6QD3g8PR Gz3AGGc8xOcxr+xyZXb916MK2pDNSkrhJjNGIMbaLWumfnYNnXM= =LpqL -----END PGP SIGNATURE-----