[pkg-go] XS-Go-Import-Path and packages with several valid Go import paths

Alexandre Viau aviau at debian.org
Sun Jan 7 19:11:14 UTC 2018


Hello,

Some packages can be imported from several import paths. We tend to put
symlinks in /usr/share/gocode/src so that all known import paths work.

As of dh-golang 1.28[1], 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
```

dh-make-golang (in unstable) has also learned this new format.

Please use it accordingly in your packages!

Cheers,

1. https://bugs.debian.org/885780

-- 
Alexandre Viau
aviau at debian.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 858 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20180107/8d6ce9ad/attachment.sig>


More information about the Pkg-go-maintainers mailing list