Comments (4)
Hopefully de4fb95 has fixed this satisfactorily.
Please reopen this issue (or open a new one) if there's still a problem.
from godep.
Sorry for the slow reply.
It doesn't choke on the sym link now, but the code in github.com/valyala/ybc/bindings/go/ybc/
has C dependencies in github.com/valyala/ybc/
that don't get copied. Maybe that is out of scope for this tool? Seems like I can just copy them manually for now.
from godep.
@kr It needs to recur at the symlink, not simply preserve the symlink.
Imagine a project foo.com/bar
where the directory structure is like this:
bin/
doc/
some_pkg -> src/some_pkg
src/
Makefile
README
The symlink is included just to cleanup the import path of some_pkg for external users:
import "foo.com/bar/some_pkg"
vs.
import "foo.com/bar/src/some_pkg"
While still allowing the project to have a clean separation of the code from everything else in the directory structure.
But if a project imports the path at the symlink and godep save
is used, all it saves is the symlink.
from godep.
Godep can't simply follow symlinks, because that can result in pathological behavior. (Consider a symlink that points to its parent directory.) Godep is in a similar situation to the standard go tool with respect to symlinks. As Ian Lance Taylor put it:
Yes. In general the go tool does not work well with symlinks. There
is no current plan to change this. Any fix would have to describe a
complete and coherent solution for how symlinks should be handled. I
don't know what that would look like.
Godep is in the same boat.
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.