Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Conversation

@milang
Copy link
Contributor

@milang milang commented Jun 23, 2014

Helps when deduping projects using gulp-util.

package.json Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't bump versions in other peoples repos ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed module version increment.

sindresorhus added a commit that referenced this pull request Jun 23, 2014
Update "through2" and "minimist" to match the current version
@sindresorhus sindresorhus merged commit 3c635b7 into gulpjs:master Jun 23, 2014
@milang milang deleted the update-dependencies branch June 23, 2014 23:24
@tomchentw
Copy link

Would you guys mind pushing a new version to npm to reflect this changes? Thanks!

@sindresorhus
Copy link
Contributor

@tomchentw We'll bump when there's something worth bumping for. Please stop spamming repos with bumping through2. It's totally meaningless. Thanks :)

@yocontra
Copy link
Member

Published as 2.2.18

@tomchentw
Copy link

Sorry about the PRs and if I making any inconvenience for you.
I thought it would be good to reduce duplication for these gulp-plugins by unifying them with a more lightweight implementation. I don't thought it would made you feel I'm spamming repos.

@yocontra
Copy link
Member

@tomchentw I like it

@sindresorhus
Copy link
Contributor

@tomchentw didn't mean to be harsh, no worries, but I get too many of these PRs a week. There will always be some duplication. New versions are released all the time. It would be a fulltime job to just bump versions if I were to upgrade every time. Right now there's two versions of through2 in gulp plugins. Having that be one instead has absolutely no impact on anything. There's a lot worse problems, like packages leaving huge fixtures of many megabytes in the package. I would rather target fixing that.

@yocontra
Copy link
Member

@sindresorhus 0.5 had a change to the highWaterMark (16000 -> 16, so backpressure happens more often) and some perf updates so IMO it's worthy to update the versions and patch bump

@sindresorhus
Copy link
Contributor

@contra Well the PR didn't say that. But that's still pretty useless as most gulp plugins are just object streams with buffers.

@yocontra
Copy link
Member

@sindresorhus It went from 16000 objects to 16 objects, so this will help with the bug where the process ran out of memory because gulp.src spit 10K files into memory before the pipeline could start processing them

@sindresorhus
Copy link
Contributor

@contra Valid point. If that were the PR description I would have happily accepted.

@tomchentw
Copy link

@sindresorhus I really appreciate your guys help to maintain the gulp eco-system. If there's anything I can help with, please let me know :) I would really love to make the gulp eco-system more healthy.

The reason I'm bumping these plugins is that I'm working on a library that would heavily depend on gulp and vinyl. It's inspired by the Ruby on Rails Asset Pipeline system, and built with Convention over Configuration so that one could take minimal efforts to run their project.

It would be great if you and @contra could take a loot at it and we can discuss here (Sorry for the bad naming :P ).

@sindresorhus
Copy link
Contributor

@tomchentw we could always need help improving the docs, ensuring community plugins are high-quality, blacklisting non-conforming plugins, finding community painpoints with gulp and ways to improve it, triaging issues, etc. We're thankful for whatever you'll contribute with :)

@milang
Copy link
Contributor Author

milang commented Jun 25, 2014

@sindresorhus

We're thankful for whatever you'll contribute with...

... except version bump pull requests 😜

@sindresorhus
Copy link
Contributor

@milang

Valid point. If that were the PR description I would have happily accepted.

Give me a good reason to merge and I will. Deduplicating two versions is not ;)

@sindresorhus
Copy link
Contributor

@tomchentw re your sprockets thingy. Here's some naming suggestions: http://thesaurus.com/browse/sprockets

I would seriously reconsider coding it in LiveScript if you're looking to get active contributors (not impossible, but a lot harder).

The intro example could also be clearer. I don't see the immediate benefit.

@milang
Copy link
Contributor Author

milang commented Jun 25, 2014

@sindresorhus

Deduplicating two versions is not

It is to me (and to other people as well, seems like).

Part of the problem IMHO is that a lot of plugins are still on 0.* versions, in which case semver uses special matching rules. If through2 (and others) had already been released as a stable 1.* version, minor version bump would have matched and no update would have been needed.

@tomchentw
Copy link

@milang tricky part is through2 take 1.x version for stream3 implementation. We're stuck in 0.x to get stream2.

@tomchentw
Copy link

Here's some naming suggestions: http://thesaurus.com/browse/sprockets

It's really cool. Thanks @sindresorhus !

I would seriously reconsider coding it in LiveScript if you're looking to get active contributors (not impossible, but a lot harder).

I totally agree. But maybe until it got enough traction?

The intro example could also be clearer. I don't see the immediate benefit.

I've put my incentive here. Simply put, it let you focus on development instead of configuration every time.

(To not disturb all of you guys in the thread, we can discuss this in sprocket issue page. )

@sindresorhus
Copy link
Contributor

I totally agree. But maybe until it got enough traction?

That's kinda contradictory because it might limit your traction. Some people don't like using things when they can't be able to improve on it themselves.

I've put my incentive here. Simply put, it let you focus on development instead of configuration every time.

That should be at the top and much clearer:

This project aims to be the sprocket in the nodejs community.

That's not saying much when you don't know what sprockets in Ruby is.

@yocontra
Copy link
Member

@tomchentw Once 0.12 drops as stable we can switch to streams3, it's non-breaking with streams2 so it should be fine. It provides some extra compat for streams1 which would be nice to have in gulp core

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.

4 participants