-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Convert glob-stream to proper readable stream #85
Conversation
Implementation as per isaacs/node-glob#291 |
Hey man! Sorry for the late start, but just getting to writing some tests now. Is there any description of what Happy holidays! |
No worries and happy holidays. The general description is that it should be a Readable stream (so nothing should be able to be pushed onto the stream, only read from it) that emits an object for each match. The best way for testing streams seems to be something like https://github.com/gulpjs/vinyl-fs/blob/master/test/src.js#L154-L157 Feel free to ask any other questions you have on this thread and I'll try to answer the best I can. |
Sounds awesome! Thanks for the explanation, that definitely helps. I'll hop right on 'em 🏃 |
Assigned this to @contra incase he has time to make suggestions/help @kyleholzinger writing tests this week |
@kyleholzinger LMK if you need any assistance w/ this. |
4bb96b3
to
267aa39
Compare
Merged the tests from @kyleholzinger with a bit of cleanup and rebased against the There's still more tests to write to get the coverage back up to 100% and TODOs inline that need to be finished. If anyone wants to jump on them, feel free. |
8efea6a
to
24475ea
Compare
Pending tests running and #88 being reviewed, I think this is done. I'm probably going to squash this to 1 commit and label it "Breaking" |
746b820
to
db81536
Compare
@shinnn would you be available to help review this? I remember you submitted a PR to make us Streams3 compliant in the past. |
Also added @contra and @terinjokes as reviewers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could use some more documentation on why there are two interfaces exported, otherwise looks good to me.
I guess it's time to merge this. I was hoping for some more reviews but oh well. |
I think the implementation is pretty solid (except the few TODOs) but I really need some help with tests. I'd love for someone to take a stab at them.