Skip to content
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

Fails to deal with v2+ module directory #135

Open
anthonyfok opened this issue Mar 1, 2020 · 1 comment
Open

Fails to deal with v2+ module directory #135

anthonyfok opened this issue Mar 1, 2020 · 1 comment
Labels

Comments

@anthonyfok
Copy link
Member

anthonyfok commented Mar 1, 2020

$ dh-make-golang rsc.io/quote
2020/02/29 22:26:39 Starting "dh-make-golang v0.3.3 linux/amd64"
2020/02/29 22:26:40 Cannot derive Debian package name: unknown hoster "rsc.io". See -help output for -allow_unknown_hoster
foka@debian-TP-E431:/tmp/l$ dh-make-golang -allow_unknown_hoster rsc.io/quote
2020/02/29 22:26:49 Starting "dh-make-golang v0.3.3 linux/amd64"
2020/02/29 22:26:49 WARNING: Using "rsc" as canonical hostname for "rsc.io". If that is not okay, please file a bug against dh-make-golang.
2020/02/29 22:26:49 Downloading "rsc.io/quote/..."
2020/02/29 22:26:50 Determining upstream version number
2020/02/29 22:26:50 Found latest tag "v3.0.0"
2020/02/29 22:26:50 INFO: master is ahead of "v3.0.0" by 5 commits
2020/02/29 22:26:50 Package version is "3.0.0"
can't load package: ../dh-make-golang348033921/src/rsc.io/quote/quote.go:8:8: code in directory /tmp/dh-make-golang348033921/src/rsc.io/quote/v3 expects import "rsc.io/quote"
2020/02/29 22:26:50 Could not create a tarball of the upstream source: [go list -f {{.ImportPath}} {{.Name}} rsc.io/quote/...]: exit status 1

$ GO111MODULE=off go list -f "{{.ImportPath}} {{.Name}}" rsc.io/quote...
can't load package: /home/foka/go/src/rsc.io/quote/quote.go:8:8: code in directory /home/foka/go/src/rsc.io/quote/v3 expects import "rsc.io/quote"
rsc.io/quote quote
rsc.io/quote/buggy buggy

@anthonyfok anthonyfok added this to the v0.4.0 milestone Mar 3, 2020
@creekorful creekorful added the bug label Aug 2, 2021
@creekorful creekorful removed this from the v0.4.0 milestone Aug 2, 2021
@creekorful
Copy link
Member

(removing from milestone since already released)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants