pote / gpm

Barebones dependency manager for Go.
MIT License
1.19k stars 51 forks source link

simplify installing non-head depdendencies #67

Open tcurdt opened 9 years ago

tcurdt commented 9 years ago

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.

pote commented 9 years ago

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?

tcurdt commented 9 years ago

Like it. Makes sense.

...as long as it ends up in core eventually I am happy with that :)

c0ze commented 7 years ago

+1

did this get released ?