by robryk · 11y ago · 0 comments
Take a look at gopkg.in[1]. This is a service that makes branches in other repositories go-gettable. Eg. go getting gopkg.in/foo/bar/v5 will download branch v5 from github.com/foo/bar. This seems to me to be a way of dealing reasonaly well with the issue -- the go get tool itself doesn't need to understand anything at all here.
In Go I believe they use the term "idiomatic." ;-)
Would you argue that there are more robust solutions in the Haskell ecosystem? What scheme do you prefer?
This is because Go doesn't support specifying branches/tags itself when specifying a git dependency.
This workaround is contingent on gopkg.in people keeping their service maintained and running. If they went down, all your dependencies would break.