This repository has been archived by the owner on Aug 25, 2018. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 67
Labels
Milestone
Comments
Yeah, this broke my vendor/ tests with a couple projects, too. The background is at constabulary/gb#184, I'll submit a PR to fix it upstream, since now Copyfile is in filepath, which gvt vendors. |
FiloSottile
added a commit
to FiloSottile/gb
that referenced
this issue
Jan 9, 2016
This was removed instead of being special cased in constabulary#185, because gb has no direct need for it (see constabulary#184). However it's useful for other users of the library. For example gvt needs to retain test fixtures intact (as vendor/ packages are testable) and needs to support symlink-based packages (since the go build tool does). Fixes FiloSottile/gvt#12
I think I have a primitive fix in my fork. /Peter |
I submitted a banal patch to gb, now waiting on Dave. Sent from a small keyboard
|
FiloSottile
added a commit
that referenced
this issue
Mar 19, 2016
This was removed instead of being special cased in constabulary/gb#185, because gb has no direct need for it (see constabulary/gb#184). However it's useful for gvt, as it needs to retain test fixtures intact (as vendor/ packages are testable) and needs to support symlink-based packages (since the go build tool does). Fixes #12
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Projects can contain internal relative symlinks and work fine with go get.
(example: https://github.com/valyala/ybc)
However, the current file handling code skips symlinks when copying - breaking otherwise fine working go-getable Go packages.
I think I have a small patch to make it work, but those knowing github.com/constabulary/gb and how it's vendored into gvt could probably make a more general patch.
The text was updated successfully, but these errors were encountered: