Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

fileutils: add support for copying symlinks to Copypath #534

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FiloSottile
Copy link
Contributor

This was removed instead of being special cased in #185, because gb has no
direct need for it (see #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

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
@davecheney
Copy link
Contributor

@FiloSottile Thanks for adding this. I haven't been clear about the direction of this package at all, but the intention is to move it out to another package, probably github.com/pkg/fileutils, soon.

Instead of carrying this feature inside gb where i'll probably drop it later and break you again, why don't I make the move of fileutils now, and then that package can evolve on it's own ?

How does that sound ?

@FiloSottile
Copy link
Contributor Author

Sure, sounds great! I am vendoring fileutils like a normal package in gvt anyway, so I can switch easily.

@davecheney
Copy link
Contributor

Just a FYI, I'm working on the replacement for this package in github.com/pkg/fileutils. It isn't quite ready for prime time yet, but shouldn't take much longer.

@FiloSottile
Copy link
Contributor Author

👍

As soon as you switch to that on gb, let me know and I'll port gvt

@FiloSottile
Copy link
Contributor Author

Should I port this to github.com/pkg/fileutils?

@davecheney
Copy link
Contributor

Probably, but wait a bit, i'm behind on finishing that package.

On Mon, Jan 18, 2016 at 2:25 PM, Filippo Valsorda notifications@github.com
wrote:

Should I port this to github.com/pkg/fileutils?


Reply to this email directly or view it on GitHub
#534 (comment).

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

Successfully merging this pull request may close these issues.

Fails with symlinks
2 participants