Comments (6)
Yes! I've been meaning to open an issue for this for a while.
Thanks for bringing this up!
I think it should be called godep get
, since it has to do more
than just invoke the go tool in a sandbox. The behavior I'm
currently imagining, for the command godep get foo
:
- It runs
go get -d foo
- It runs
cd $(go list -f {{.Dir}} foo) && godep go install foo
from godep.
See also #6.
from godep.
I edited the description above to say "godep get".
But if you really like the "godep go get" form (or something else),
please say so. I'm very much open to bikeshed painting. :)
from godep.
It's not quite as simple as the two steps I described above, because
the arguments might specify multiple packages. So it would probably
have to expand the package list first, then do those two steps for
each package (and maybe this could be optimized to avoid redundant
work).
from godep.
I also want "godep get" to to The Right Thing even if the specified package
doesn't use godep at all. It should gracefully fall back to behaving equivalently
to whatever "go get" does.
from godep.
I agree with all of the above 👍
from godep.
Related Issues (20)
- Command not found: 'godep'
- No command 'godep' found HOT 2
- update vendored deps to latest remote version HOT 1
- Add banner to README with link to golang/dep HOT 2
- Question about commit the vendor directory HOT 2
- sdgfc 4qswczeswdzx HOT 1
- sdgfc 4qswczeswdzxF HOT 1
- so many errors!!! HOT 1
- Godep should use go env for missing ENV variables HOT 1
- - HOT 1
- Honor build.Context.BuildTags and build.Context.ReleaseTags (and possibly file suffixes) HOT 4
- Backward compatible removal of package in dependency can cause godep save error: "no buildable Go source files in <pkg>" HOT 1
- godep does not see vendored packages within thirdpadrty dependencies HOT 1
- dep ensure hangs if ssh key has a passphrase
- Consistent way to reference Gopkg.toml in CLI HOT 1
- Can the specified directory be excluded when `godep save`
- Changed git provider. Most vendor packages are still using the old git link
- Build failed after godep save HOT 1
- i used gin, gin used +build HOT 2
- vert toml to json HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godep.