Re: [go-nuts] go mod tidy pulls in too much

2018-09-29 Thread Scott Cotton
As a followup, I have been informed that there is a related open issue which seems like a good place to direct followup https://github.com/golang/go/issues/26955 Best,

Re: [go-nuts] go mod tidy pulls in too much

2018-09-29 Thread thepudds1460
Hi Scott, Regarding your comment, a related issue (which is still open) is this one: #26955: “cmd/go: provide straightforward way to see non-test dependencies” https://github.com/golang/go/issues/26955 —thepudds -- You received this message because you are subscribed to the Google

Re: [go-nuts] go mod tidy pulls in too much

2018-09-29 Thread t hepudds
Hi Scott, Regarding your comment, a related issue (which is still open) is this one: #26955: “cmd/go: provide straightforward way to see non-test dependencies” https://github.com/golang/go/issues/26955 --thepudds Terseness courtesy of my mobile device >

Re: [go-nuts] go mod tidy pulls in too much

2018-09-29 Thread Scott Cotton
Hi all, I think this is related to https://github.com/golang/go/issues/26913 which is closed but still has commentary that seems unresolved after it was closed . Scott On Friday, 28 September 2018 20:11:29 UTC+2, Harmen wrote: > > On Fri, Sep 28, 2018 at 10:19:50AM -0700, thepud...@gmail.com

Re: [go-nuts] go mod tidy pulls in too much

2018-09-28 Thread Harmen
On Fri, Sep 28, 2018 at 10:19:50AM -0700, thepudds1...@gmail.com wrote: > Hi Harmen, > > And my first sentence might not have been clear. When I said "even in your > current situation, 'go build' is still pulling in exactly what it needs", I > was trying to reference the actual compilation

Re: [go-nuts] go mod tidy pulls in too much

2018-09-28 Thread thepudds1460
Hi Harmen, And my first sentence might not have been clear. When I said "even in your current situation, 'go build' is still pulling in exactly what it needs", I was trying to reference the actual compilation process. In other words, I was just trying to make it clear that even if you have

Re: [go-nuts] go mod tidy pulls in too much

2018-09-28 Thread thepudds1460
> "So if consul adds a go.mod file in the root, then `mod tidy` will suddenly behave as I would expect (i.e. not pull in unused dependencies)? " Hi Harmen, Just in case this isn't already clear-- note that even in your current situation, 'go build' is still pulling in exactly what it needs

Re: [go-nuts] go mod tidy pulls in too much

2018-09-28 Thread Harmen
On Fri, Sep 28, 2018 at 04:48:32PM +0100, Paul Jolly wrote: > Hi Harmen > > I described the problem on https://github.com/golang/go/issues/27920, which > > got > > closed within three minutes as being "documented", and "works as > > expected" (which I assume also means "works as intended"). > >

Re: [go-nuts] go mod tidy pulls in too much

2018-09-28 Thread Paul Jolly
Hi Harmen I described the problem on https://github.com/golang/go/issues/27920, which > got > closed within three minutes as being "documented", and "works as > expected" (which I assume also means "works as intended"). > Is this really the intented behaviour? It seems unexpected to me. Or >

[go-nuts] go mod tidy pulls in too much

2018-09-28 Thread Harmen
Hi all, I've been converting some work projects to use go.mod. Today I ran into a problem that after importing the sub-package github.com/hashicorp/consul/api `go mod tidy` pulled in everything imported anywhere in the hashicorp/consul repo, even if it's never imported in my project. I described