Your message dated Wed, 03 Jan 2018 09:04:10 +0000 with message-id <[email protected]> and subject line Bug#885780: fixed in dh-golang 1.28 has caused the Debian Bug report #885780, regarding dh-golang: support comma-separated paths in Go-Import-Path 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 [email protected] immediately.) -- 885780: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885780 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dh-golang Version: 1.26 Severity: normal Tags: patch Some packages can be imported from several import paths. XS-Go-Import-Path can reflect this by using a comma-separated list of known import paths for the package. For example, the following format would now be valid: ``` XS-Go-Import-Path: github.com/go-mgo/mgo, gopkg.in/mgo.v2, labix.org/v2/mgo, launchpad.net/mgo ``` Would you please apply this patch? I am willing to make an upload after that if you want. I just wanted somebody to review the patch. See the related dh-make-golang bugs: - issue: https://github.com/Debian/dh-make-golang/issues/74 - PR: https://github.com/Debian/dh-make-golang/pull/75 Cheers, -- Alexandre Viau [email protected]From ee0165985d392d1f6dcb8c169a1fdff039fab0a5 Mon Sep 17 00:00:00 2001 From: aviau <[email protected]> Date: Fri, 29 Dec 2017 15:08:56 -0500 Subject: [PATCH] support comma-separated paths in Go-Import-Path Some packages can be imported from several import paths. XS-Go-Import-Path can reflect this by using a comma-separated list of known import paths for the package. For example, the following format would now be valid: ``` XS-Go-Import-Path: github.com/go-mgo/mgo, gopkg.in/mgo.v2, labix.org/v2/mgo, launchpad.net/mgo ``` --- lib/Debian/Debhelper/Buildsystem/golang.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/Debian/Debhelper/Buildsystem/golang.pm b/lib/Debian/Debhelper/Buildsystem/golang.pm index e13fa4d..ed342db 100644 --- a/lib/Debian/Debhelper/Buildsystem/golang.pm +++ b/lib/Debian/Debhelper/Buildsystem/golang.pm @@ -239,7 +239,12 @@ sub _set_dh_gopkg { my $control = Dpkg::Control::Info->new(); my $source = $control->get_source(); - $ENV{DH_GOPKG} = $source->{"XS-Go-Import-Path"}; + # XS-Go-Import-Path can contain several paths. We use the first one. + # Example: XS-Go-Import-Path: github.com/go-mgo/mgo, + # gopkg.in/mgo.v2, + # labix.org/v2/mgo, + # launchpad.net/mgo + $ENV{DH_GOPKG} = (split ",", $source->{"XS-Go-Import-Path"})[0]; } sub _set_gopath { -- 2.14.2
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---Source: dh-golang Source-Version: 1.28 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Stapelberg <[email protected]> (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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Wed, 03 Jan 2018 09:29:30 +0100 Source: dh-golang Binary: dh-golang Architecture: source Version: 1.28 Distribution: unstable Urgency: medium Maintainer: Debian Go Packaging Team <[email protected]> Changed-By: Michael Stapelberg <[email protected]> Description: dh-golang - debhelper add-on for packaging software written in Go (golang) Closes: 885780 Changes: dh-golang (1.28) unstable; urgency=medium . [ Alexandre Viau ] * support comma-separated paths in Go-Import-Path (Closes: #885780) Checksums-Sha1: 0d18584fe36699384d12d00294ad43347a81e792 1693 dh-golang_1.28.dsc 367b8a4fcf51730ac6e10936d7ec15efd16db684 11400 dh-golang_1.28.tar.xz 51ed1bec59a1a06c3c3a6b435764e91659d4ac64 5427 dh-golang_1.28_amd64.buildinfo Checksums-Sha256: 42e84c7dac42dbe7da6a028c91d5a2063d35e13bd6f4de60be1e4a41a2974c6b 1693 dh-golang_1.28.dsc 16e396c0474a39a72a0ef69420910939c2df5d6a7df3d033db35ed1d92ac77e7 11400 dh-golang_1.28.tar.xz c064eaa0aa8dfe47cb87edfeceb8701ffc8eaafe68897212cf77b66b9dbf1972 5427 dh-golang_1.28_amd64.buildinfo Files: b4d1307e24f45d87119d319a979b42e7 1693 devel optional dh-golang_1.28.dsc dcfa642b6e330746ba1abc0fc8274a42 11400 devel optional dh-golang_1.28.tar.xz 719b9c9b5ee93d57fa6bddcf8ff023e9 5427 devel optional dh-golang_1.28_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEQk4U1wPnxtQ9nW82TnFg7UrI7h0FAlpMlP8ACgkQTnFg7UrI 7h1V7A//T/u5OnXQvKl0Z1TfMWjyFYOLIdsd/ZCdz7YU9dUJ2sTiK9Wng9l7i9MH 2SSckLKfpPJCUSVU8D0VFjP9sNvKtwSc5wbZn9NrfpDi728b8Yn8FRSCUXoLfxHJ qHffp4y3BcNadG/jzBJCDqtK7WuuDV62ljvMxVABkxOI4qkdxQiRWJujVedxhI4A bFLoYBSIgobu9bxeMdtOmRWgmV+4hbAH7FSxIHSoPuHq9vZ7+0Pbqcb+77+jHNAu CRY1OfqccuhMDmmcDsn4rD6eTWX2vsoQoLGJAt2nfGpaY78yWPNoHEYBZZZS5POC DJ93pJu2KQ7uoTpwqHafhBrpvo78SoYKlDUDcqfYAV3kDvg2UKW1dryIGzJJmsnv WgTq1INPPRT+IvfCQaT3//sM4F1bGK7l6s7vEke9lFrb2FkSVdHM2yqPkJ/ZF6cI r71PDjBUpZXcawemIx2qSz1+vj3R+Igi2h6aqO1OWL5YN28JZgF524bQGz6sOG9p HM0nvGqtiRvDxqm1MEaFb98U9lXC+r+2TkPhHAGP+G0OWveHSd/BFFrTzibUkIS9 KpqamWcSs6t1w/kLXz8GlU6TFpm7COOPWab3P7k3mDKltlNu7jCw43mizTVJ54JN m4mLhoffsgl0j2K2Zx0lMGPJ/wXPmv7QDzKZ7HuvLgP2xH6geQ0= =BRTZ -----END PGP SIGNATURE-----
--- End Message ---

