Forking, The Future of Open Source, and Github
redmonk.com
redmonk.com
Distributed version control systems are being so successful because they allow developers to more easily do what they have been doing all along anyway (take Linus' job, for example).
I don't think there is a major paradigm shift here; just a revolution in tooling. There will still always be a main line. That main line will not be "distributed", even if the way that changesets get there might be.
Most of us will only be using releases taken from the main line. Forks will carry on happening from time to time, but just like now most will work to avoid them because of the inefficiencies that result.
I have been able to contribute patches (both code and documentation) to many projects where I otherwise would have not had the time or energy to bother contributing.
Sure, my previous attitude may have been selfish, but if it took an hour to fix a bug in a library that I am using for a throwaway script, I am not going to spend another hour subscribing to mailing lists, emailing developers and then persuading them that my patch is worth merging.
In GitHub I just fork, push my patch, and notify the owner of the original repo. If he chooses to pull in the patch, that is his problem. If anyone else who is having the same problem wants to use my repo, they can do so.
Now the tools have improved making this much easier and so is happening much more everywhere. I have personal branches of the Linux kernel and a dozen or more libraries, and can keep them up to date easily.
But the process remains the same. Your fork is no doubt invaluable to you, but unless the original maintainer pulls your patch, your fork is likely to be a dead end in terms of development - except perhaps for the odd person who needs to fix the same bug and finds your patch.
My point is that the development model has not changed. The maintainer can still optionally pull in your patch, or not. Most users will continue using the maintainer's releases. If the maintainer drops the ball then there will be a fork - but that would have happened in the past anyway.
Distributed version control has been a revolution - but a revolution in tooling, not of the centralised release model.
This attitude is dangerous. It works very well for trivial patches, but not for complicated bugfixes, because those are usually buggy themselves. Accepting a bad change is as dangrous as not acceping a good change. So you'll have to stay in touch with each other, communicating via IM, email or a tracking system, until the issue is really solved.
And yes, this process is greatly supported by DVCS.
However, it only works if the contributor comes with an attitude like "I want this bug fixed in upstream" and not with an attitude like "Here is my patch - use it or don't".
"Nobody ever got fired for buying IBM", and the ASF practically is IBM!
A Fork means there's irreconcilable differences and the dev base is splitting into 2-3 camps, old mainline, new forkers, people who leave in disgust over lack of coop.
But a github-style fork is a fully independent project in theory, it could go anywhere. It doesn't have to reintegrate. It might out-speed the main project and come to replace it. It might change emphasis and shoot off on a tangent.
It's not really the same thing as having a copy of the source and making some private changes.