gpm
gpm copied to clipboard
simplify installing non-head depdendencies
I would be much easier if if gpm install
would print the hash of library that gets installed.
So one could start off with no hash/tag, do the install and then set the deps to that.
Or even better:
gpm install github.com/golang/glog --save
which would add the dep (include the hash) to the Godep
file.
I see this as a different command, maybe, mimicking what dep does for the same use case:
$ gpm add github.com/golang/glog
it would install the dependency and add the latest hash to the Godeps file, I'll probably prototype it in a gpm plugin, not sure whether we want it in core yet, but I've definitely felt the need of a handy way to add dependencies.
What do you think?
Like it. Makes sense.
...as long as it ends up in core eventually I am happy with that :)
+1
did this get released ?