7 ms·
Is go package management still an unsolved problem then?
by treve 10y ago
Is go package management still an unsolved problem then?
- zellyn 10y agoYes. It's a terrible mess. But as of GopherCon a couple of weeks ago, the way forward is becoming clear. Most important, the Go Team is now in direct communication with the authors of the most widely used vendoring tools, and it seemed to be widely acknowledged that this is a severe problem, that a standard is needed, and that even things like "go get" might have to change. I'm very hopeful.
- mbrevoort 10y agoI'd much rather them forget reverse compatibility and fix the core problem once and for all. I personally like gb and the ability for each project to be its own GOPATH.
- zellyn 10y agoBeing willing to change `go get` is forgetting reverse compatibility.
- pjmlp 10y agoDo you know if the talks will be made available? I haven't found anything on the conference site.
- zellyn 10y agoUnfortunately, the discussion took place on the "Hack Day", and wasn't recorded (I think they're going to try to change that for next year). Chris Broadfoot took pretty comprehensive notes, though: https://docs.google.com/document/d/1xMJ0c-YxvcgNglzjbALzncs5_Acr0MST29oMf9TkgQI https://docs.google.com/document/d/1xMJ0c-YxvcgNglzjbALzncs5...
- seletskiy 10y agoManul is one of the very limited set of tools which provide idiomatically go-gettable projects without need of vendoring tool be installed on the user machine.
- majewsky 10y agoShameless plug: I also wrote one, with the added bonus that it does not rely on Git submodules: https://github.com/holocm/golangvend https://github.com/holocm/golangvend
- mcpherrinm 10y agoPutting your dependencies in a folder called "vendor/" is standard, but how you get them there isn't. There's a collection of tools for managing that, like this one , and others like "godep" and "glide". Which one you use for that doesn't seem to be settled.
- spriggan3 10y agoIt is "solved", the problem is go devs using 15 incompatible solutions.
- LukaD 10y agoYes, it's still an unsolved problem. All attempts at solving it feel like ugly hacks.