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

Evaluate glob 6.x #57

Closed
phated opened this issue Dec 16, 2015 · 5 comments
Closed

Evaluate glob 6.x #57

phated opened this issue Dec 16, 2015 · 5 comments
Milestone

Comments

@phated
Copy link
Member

phated commented Dec 16, 2015

Need to look through the breaking changes, see if they affect our usage and if we need to bump major.

@erikkemperman
Copy link
Member

erikkemperman commented Sep 6, 2016

Turns out I've basically been evaluating glob 7.0.6, having npm linked it in my glob-stream, and transitively in my vinyl-fs and vinyl-prepare projects.

For what it's worth, all tests pass in glob-stream (master) and vinyl-fs (master) and with the vinyl-fs / vinyl-prepare split as well.

Haven't seen explicit release notes, but from the README I guess the most significant change is negated patterns with !, support for which was deprecated in glob 5 and removed in 6, favouring the ignore option to do the same.

If that is the extent of potential annoyance of upgrading glob, is it already too much?

@phated
Copy link
Member Author

phated commented Sep 6, 2016

I'm working on a branch that switches to the ignore option and upgrades to 7.x - This will land in the next major. Thanks for following up though.

@erikkemperman
Copy link
Member

Excellent!

I've hatched an evil scheme that might allow glob-stream to be leveraged even when implementing e.g. a virtual or remote filesystem adapter.

I think that'd be nice because otherwise custom adapters would have to do their own globbing, or just not support glob patterns, period.

A PR is pending on node-glob, here. I think it's pretty solid... But I haven't heard back and it might not amount to anything.

If it were accepted, though, it'd help if the glob-stream dependency were easily made up to date!

@phated
Copy link
Member Author

phated commented Sep 6, 2016

Interesting. I still don't think vinyl-prepare should deal with globbing, reading, etc but let's see where the node-glob PR goes.

@erikkemperman
Copy link
Member

erikkemperman commented Sep 6, 2016

It wouldn't matter much if the call to glob-stream is in vinyl-prepare or vinyl-fs, it seems to me -- the point is that peers of vinyl-fs could use glob-stream (if they wanted to) and easily support asterisk patterns and so on in a way that is automatically analogous to vinyl-fs.

phated pushed a commit that referenced this issue Sep 7, 2016
@phated phated modified the milestone: 6.0 Sep 8, 2016
@phated phated closed this as completed in 1e51a69 Sep 14, 2016
phated pushed a commit that referenced this issue Feb 16, 2017
phated pushed a commit that referenced this issue Feb 16, 2017
phated pushed a commit that referenced this issue Feb 16, 2017
phated pushed a commit that referenced this issue Feb 16, 2017
phated pushed a commit that referenced this issue Feb 20, 2017
phated pushed a commit that referenced this issue Feb 21, 2017
phated pushed a commit that referenced this issue Feb 21, 2017
phated pushed a commit that referenced this issue Feb 21, 2017
phated pushed a commit that referenced this issue Feb 21, 2017
phated pushed a commit that referenced this issue Feb 21, 2017
phated pushed a commit that referenced this issue Feb 21, 2017
phated pushed a commit that referenced this issue Feb 21, 2017
phated pushed a commit that referenced this issue Feb 21, 2017
phated pushed a commit that referenced this issue Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants