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

x/vgo: vgo list -m doesn't list dependencies #27386

Closed
huydinhle opened this issue Aug 30, 2018 · 6 comments

Comments

@huydinhle
Copy link

commented Aug 30, 2018

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version go1.10.3

Does this issue reproduce with the latest release?

no

What operating system and processor architecture are you using (go env)?

go env
GOARCH="amd64"
GOHOSTARCH="amd64"

What did you do?

i follow this guide https://research.swtch.com/vgo-tour till the vgo list -m command

What did you expect to see?

vgo list -m
github.com/huydinhle/vgo-example
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c v0.3.0 (2017-12-14 08:08)
rsc.io/quote v1.5.2 (2018-02-14 10:44) -
rsc.io/sampler v1.3.0 (2018-02-13 14:05) v1.99.99 (2018-02-13 17:20)

What did you see instead?

vgo list -m
github.com/huydinhle/vgo-example

@gopherbot gopherbot added this to the vgo milestone Aug 30, 2018

@FiloSottile FiloSottile modified the milestones: vgo, Unreleased Aug 30, 2018

@FiloSottile

This comment has been minimized.

Copy link
Member

commented Aug 30, 2018

@rsc are we going to update x/vgo going forward?

@FiloSottile

This comment has been minimized.

Copy link
Member

commented Aug 30, 2018

I hear from @bcmills that we roll changes from the go tool to x/vgo on every release.

@huydinhle can you share your go.mod, and test if go list -m with Go 1.11 also has the same issue?

@huydinhle

This comment has been minimized.

Copy link
Author

commented Aug 30, 2018

go.mod

module github.com/you/hello

require rsc.io/quote v1.5.2

go version go1.10.3 linux/amd64 vgo:devel +1b870077c8

vgo list -m
github.com/you/hello

go version go1.11 linux/amd64

go/bin/go list -m
go list -m: not using modules

@FiloSottile

@bcmills

This comment has been minimized.

Copy link
Member

commented Aug 31, 2018

Try go list -m all. I think go list -m only lists the main module.

@FiloSottile

This comment has been minimized.

Copy link
Member

commented Aug 31, 2018

(You might need to set GO111MODULE=on for go list to work.)

@gopherbot

This comment has been minimized.

Copy link

commented Oct 19, 2018

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@gopherbot gopherbot closed this Oct 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.