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

Update: Support encoding option #257

Closed
wants to merge 407 commits into from

Conversation

erikkemperman
Copy link
Member

Waiting for a bit of inspiration for the symlink/junction thing, I figured I might take a stab at #23.

It is a kind of "shallow" way to deal with encodings, limited to the filesystem terminals src and dest -- internally all buffers and streams are (still) UTF-8.

This has the advantage of (probably) not breaking any plugins, but incurs some needless (and in some scenarios perhaps even lossy) conversion when both source and destination files are in the same non-UTF8 encoding.

contra and others added 30 commits March 10, 2015 02:50
this relies on the recent breaking changes to glob-watcher being published to npm as 2.0
switch to glob-watcher 2.0
It has been shown in gulpjs#62 this bit can be platform specific and is unreliable, testing fs.chmod is not called will be enough.
Remove realMode equality test on special bit test
export `filterSince` to `vinyl-filter-since`
using is-valid-glob module to handle nested arrays properly
Fix default option in README
Because the stream returned from `dest` is also readable, it is kinda link a `src` to the next `dest` so the `base` should be configurable just like `src`.
@erikkemperman
Copy link
Member Author

@phated Yeah, it shouldn't be a breaking change. But on the other hand, if it's ready and stable why not include it -- the already big changelog wouldn't get that much bigger with this in, it seems to me.

I appreciate and agree it should not block anything, but maybe let's see where this PR is at when you feel 3.0 is otherwise mature?

@phated
Copy link
Member

phated commented Jul 19, 2017

@erikkemperman Sorry if I was unclear. My statements were more about me not wanting to put time into my ideas until we wrap up the absolute blockers for 3.0 (symlinks, mainly). If something comes to me randomly, I'll definitely work on this and if it lands before 3, that will be fine.

@erikkemperman
Copy link
Member Author

@phated All righty. By the way, I've been looking at the symlink (well, junction) stuff again but am now slightly doubtful we can safely re-use stats in dest -- I think it might be a decent idea to get something working that's at least functionally correct, even if it's ugly, and then we can always try to improve on that. Does that sound like a plan?

@phated
Copy link
Member

phated commented Jul 20, 2017

Sounds good!

@erikkemperman
Copy link
Member Author

@phated Rebased this for good measure. I would love to see something like this in 3.0, but you mentioned you had ideas for improvement and I'd totally understand if you prefer to keep this on the shelf for the time being.

@phated
Copy link
Member

phated commented Nov 10, 2017

While I think this is beneficial for the API, I want to spend my time focused on the large changeset we currently have and ensure that it works for everyone. We don't have nearly enough eyes on the 3.0 changes.

@phated
Copy link
Member

phated commented Dec 5, 2017

This was closed due to me rebasing master. Please resubmit it to the updated codebase.

@erikkemperman
Copy link
Member Author

Done, #287

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

Successfully merging this pull request may close these issues.