gopin
gopin copied to clipboard
Consider adding GO15VENDOREXPERIMENT support
In 1.5 the go command will read the environment variable GO15VENDOREXPERIMENT. If enabled, it will use the local "/vendor/" folder for dependencies. This replaces the need to manage GOPATH variables as dependencies can be fetched directly into the vendor folder and resolved there when built. This allows the GOPATH to not be modified. The contents of the vendor folder can be ignored.
Will you consider supporting this approach?
Hi Kardianos. Very interesting news. Hmm not sure - this project is basically a relic, I'd recommend anyone to use a more mature tool such as gb, godep, or something else. I wonder if gb or godep are planning to support this folder name. So, first of all I should update the README to reflect that.
It's funny, I was aware of some important build-related features in Go 1.5, but not this one. It's been a long time since I even looked at gopin
, and I have no idea if anyone is using it. I'll have to dig into this code to see if it's worthwhile updating it, and then report back. I'll also make the necessary changes to my other project, a build tool called goxc
, to support the env variable, & ignore the vendor
folder where appropriate.
Thanks for the heads-up. I'll also consider this feature for projects we have at work.
Hi @laher ,
If you consider this project old news, I would recommend looking into a different project (perhaps https://github.com/jingweno/nut , https://github.com/kardianos/vendor or similar), point users that way in you're README and update https://github.com/golang/go/wiki/PackageManagementTools to reflect that.
Mainly saying, there's many tools out there, I'd rather have more effort focused on fewer tools then the current little effort on many tools.
-Daniel