Your message dated Thu, 18 Jan 2018 22:04:54 +0000 with message-id <e1eciio-0006qs...@fasolo.debian.org> and subject line Bug#887475: fixed in dh-golang 1.30 has caused the Debian Bug report #887475, regarding dh-golang: support comma-separated import paths in dh_golang_autopkgtest to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 887475: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887475 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: dh-golang Version: 1.28 Severity: normal Tags: patch Hello, I have noticed that autopkgtests for packages with comma-separated import paths are failing. Here is a patch. Would you please review and/or apply it? Cheers, -- Alexandre Viau av...@debian.orgFrom 923f325dc9e7617814f43d28e898c7d8c48bb058 Mon Sep 17 00:00:00 2001 From: aviau <av...@debian.org> Date: Wed, 17 Jan 2018 00:49:10 -0500 Subject: [PATCH] dh_golang_autopkgtest support for several import paths --- script/dh_golang_autopkgtest | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/script/dh_golang_autopkgtest b/script/dh_golang_autopkgtest index c15447a..ee3f125 100755 --- a/script/dh_golang_autopkgtest +++ b/script/dh_golang_autopkgtest @@ -57,18 +57,26 @@ call_rules() { } get_import_path() { - # Find package's import path from debian/rules or debian/control. - pkg=$(call_rules apt-print-DH_GOPKG) + # Find package's main import path from debian/rules or debian/control. + pkgs=$(call_rules apt-print-DH_GOPKG) - if [ -z "$pkg" ]; then + if [ -z "$pkgs" ]; then # DH_GOPKG not set, find it in control file. - pkg=$(perl -w -MDpkg::Control::Info -e ' + pkgs=$(perl -w -MDpkg::Control::Info -e ' my $s = Dpkg::Control::Info->new()->get_source(); print $s->{"XS-Go-Import-Path"} || "";') fi - if [ -z "$pkg" ]; then - error "Can't find import path." + + if [ -z "$pkgs" ]; then + error "Can't find import paths." + else + # One import path per line. Commas and empty lines removed. + pkgs=$(echo $pkgs | tr -d " " | tr "," "\n" | awk "NF") fi + + # Only return the first import path. + pkg=$(echo "$pkgs" | head -n 1) + echo "$pkg" } -- 2.14.2signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---Source: dh-golang Source-Version: 1.30 We believe that the bug you reported is fixed in the latest version of dh-golang, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 887...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Stapelberg <stapelb...@debian.org> (supplier of updated dh-golang package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Thu, 18 Jan 2018 22:34:39 +0100 Source: dh-golang Binary: dh-golang Architecture: source Version: 1.30 Distribution: unstable Urgency: medium Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org> Changed-By: Michael Stapelberg <stapelb...@debian.org> Description: dh-golang - debhelper add-on for packaging software written in Go (golang) Closes: 887475 Changes: dh-golang (1.30) unstable; urgency=medium . [ aviau ] * dh_golang_autopkgtest support for several import paths (Closes: #887475) Checksums-Sha1: aa6f2dda3d12d8a43e01dd1caa8d1d278041cb67 1693 dh-golang_1.30.dsc 556f2427be133ee42abe1fd6c00808f7a276dbef 11600 dh-golang_1.30.tar.xz a96a0bd4ef1ba87e55ae53f087463077f0df9326 5434 dh-golang_1.30_amd64.buildinfo Checksums-Sha256: 16151630aa71da1ff2c41ae26b6278e5fdce4c0b8a276794e3d46573c987363d 1693 dh-golang_1.30.dsc beac727944b4449bfc1a470b05e89b4ed63db98454f762f324b7e2e67a0c6c03 11600 dh-golang_1.30.tar.xz 3fa3a20671f5ded771af21939158d7ce1313b6119ad258b6775c92fbcc3c3344 5434 dh-golang_1.30_amd64.buildinfo Files: c47b3e918a16b791547086494653e3dc 1693 devel optional dh-golang_1.30.dsc 9c227e0c66517952d7c0b57b504152a7 11600 devel optional dh-golang_1.30.tar.xz 0130a19e58319f16880c2b2cebca16ee 5434 devel optional dh-golang_1.30_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEQk4U1wPnxtQ9nW82TnFg7UrI7h0FAlphFRUACgkQTnFg7UrI 7h1wnA/+J7OrmlXDTtDJSFgAftZm4SGnq4PR0jTcMFYAgd9ctRcKWUypbyUry7a1 kxPbMcC+Z+JZ/u3RqzWmSotxSjxqX3iHUV2TLtmcQznM502sJ6wdiuVvyOE9SUyv VYEirZjrgovpa8HKW56KyM5W6BAhSjVmiapXzUBAsbuNV4qUiq8PtDYutXus2dqu bp9xJnA0Ih6cbIP0ZhOsN+PM9Oe8H77WMKm7qBq95UsafUv24yx2O0sW3RSz6kGS 75CoGb23L5fs3mHP2yTq/VXoPArBPpe4YBzvW4ufIWgLLrtRelArhOEaz50w9J3s Hq5buy+eqwc/ai8sl+198Mp9gOhfieijmfQRV9oqs7qmQxI3AOig5mXqDBFVKvd/ 6c7dbOzeVKQ09vOf/lOGptHxf4anGo8GgS2prPjaUNEiDgVnYkVN7IyX9iZXBVqy zRrh0gWUHyjGVe3d+Diai7bEv85Q1knYfZ8/CloNzQ1Dw7tA4VVxiu9HA4o3Hh0T I8mSzTbmtO3ySYow9DsvHaOURVCdfsRMcPPJ8j1Qgnjz5TAv4ayZ1gTKz8QgjsMJ 8Us5NNwebEWRsGht3YTYWXm5w5Nz8qLR75qOB3fkHGWF4lZzIMlFZFcKzUE6wGtV pK7aB7SOYtH4Vj3hxGHfHEJLnDsGDVMgekdJD+l+6A60GeZQXOw= =yzmM -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Pkg-go-maintainers mailing list Pkg-go-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers