Re:Manul – the madness vendoring utility for Go with Git sub...
by treve on Wednesday July 27, 2016 @02:24AM
(#12170906)
Is go package management still an unsolved problem then?
[ Parent
| on HN ]
Re:Manul – the madness vendoring utility for Go with Git sub...
by zellyn on Wednesday July 27, 2016 @08:48AM
(#12172274)
Yes. 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.
Re:Manul – the madness vendoring utility for Go with Git sub...
by mbrevoort on Wednesday July 27, 2016 @09:18AM
(#12172455)
I'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.
Re:Manul – the madness vendoring utility for Go with Git sub...
by zellyn on Wednesday July 27, 2016 @10:06AM
(#12172842)
Being willing to change `go get` is forgetting reverse compatibility.
Re:Manul – the madness vendoring utility for Go with Git sub...
by pjmlp on Wednesday July 27, 2016 @10:58AM
(#12173326)
Do you know if the talks will be made available?
I haven't found anything on the conference site.
Re:Manul – the madness vendoring utility for Go with Git sub...
by zellyn on Wednesday July 27, 2016 @11:09AM
(#12173411)
Unfortunately, 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...
Re:Manul – the madness vendoring utility for Go with Git sub...
by jalfresi on Wednesday July 27, 2016 @11:40AM
(#12173696)
Wow! Thats a great write up there. Excited to see some action and discussion on this problem.
Re:Manul – the madness vendoring utility for Go with Git sub...
by pjmlp on Wednesday July 27, 2016 @01:00PM
(#12174497)
Thanks
Re:Manul – the madness vendoring utility for Go with Git sub...
by mcpherrinm on Wednesday July 27, 2016 @02:53AM
(#12171010)
Putting 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.
Re:Manul – the madness vendoring utility for Go with Git sub...
by LukaD on Wednesday July 27, 2016 @04:12AM
(#12171255)
Yes, it's still an unsolved problem.
All attempts at solving it feel like ugly hacks.
Re:Manul – the madness vendoring utility for Go with Git sub...
by seletskiy on Wednesday July 27, 2016 @02:41AM
(#12170978)
Manul 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.
Re:Manul – the madness vendoring utility for Go with Git sub...
by majewsky on Wednesday July 27, 2016 @03:10AM
(#12171074)
Shameless plug: I also wrote one, with the added bonus that it does not rely on Git submodules: https://github.com/holocm/golangvend