Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify installing non-head depdendencies #67

Open
tcurdt opened this issue Feb 15, 2015 · 3 comments
Open

simplify installing non-head depdendencies #67

tcurdt opened this issue Feb 15, 2015 · 3 comments

Comments

@tcurdt
Copy link

tcurdt commented Feb 15, 2015

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
Copy link
Owner

pote commented Feb 19, 2015

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
Copy link
Author

tcurdt commented Feb 19, 2015

Like it. Makes sense.

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

@c0ze
Copy link

c0ze commented Jan 20, 2017

+1

did this get released ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants