-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch dependency/duplicate check to newly-added api.ftp-master.debian.org/binary/by_metadata/Go-Import-Path #73
Labels
Comments
The following packages have not yet been converted to XS-Go-Import-Path:
Generated using:
|
While running
Is it related to this issue? I asked this on IRC, after no replies there posting here. |
I pushed an update to fix the error message. Please try again and open a separate issue if the error persists. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current heuristic is not precise. For example, when packaging github.com/coreos/dex, I got:
But,
github.com/golang/protobuf
andgopkg.in/ldap.v2
are in fact packaged (ingolang-goprotobuf-dev
andgolang-github-go-ldap-ldap-dev
, respectively).@paultag suggested using the
XS-Go-Import-Path
field indebian/control
instead of settingDH_GOPKG
(see also https://manpages.debian.org/unstable/dh-golang/Debian::Debhelper::Buildsystem::golang.3pm.en.html), which allows us to precisely list all binary packages by their Go import path.I recently implemented a query for this in dakweb, see https://lists.debian.org/debian-dak/2017/10/msg00012.html for the patch.
We should switch dh-make-golang to make use of that, and convert all of our remaining packages to set
XS-Go-Import-Path
(I’ll analyze which these are in a bit).The text was updated successfully, but these errors were encountered: