10,000 Commits To an Open-source Project 101
tgeller writes "British web designer Jonathan Brown tweeted that Drupal creator Dries Buytaert has surpassed 10,000 commits to the open-source content-management system he created ten years ago, Drupal. In a private email, Dries said, 'I'm mostly committing other people's patches: Credit really goes to the community at large.' Still, it's rare for individual to log that many commits. Can anyone claim more?"
Re: (Score:1)
Have you time-traveled from the 70s?
Re: (Score:2)
Yes, it took me forty years to get here.
Is Gary Glitter still topping the charts?
Re: (Score:2)
ffmpeg et al (Score:1)
i'm sure the maintainers of projects like ffmpeg (now libav) and x264 would be getting up there.
Re: (Score:2)
i'm sure the maintainers of projects like ffmpeg (now libav) and x264 would be getting up there.
libav is actually a fork of ffmpeg, not a rename. ffmpeg is still active.
Re: (Score:1)
i know, but to paraphrase my favourite slashdot troll: "ffmpeg = stagnated".
look at the rate of commits to both projects, and more importantly, look at the number of significant forks and projects that have switched over to libav for their media needs.
Re: (Score:3)
i know, but to paraphrase my favourite slashdot troll: "ffmpeg = stagnated".
ur mum's face is a ffmpeg
Re: (Score:2)
Re: (Score:2)
Re: (Score:1)
Re: (Score:2)
Re: (Score:2)
Depends on commit style (Score:2)
I am watching a rather basic open source game and the creator makes _everything_ into a atomic commit.
Most commit change logs are only a few characters.
Clocked in 2k commits in less than a year and still only basic functionality...
Re: (Score:2)
Well this is how you should do it. Merging and Bug-tracking will be way easier this way, rather than one commit saying "improved everything today"
Re: (Score:2)
bullshit, if he is just sketching the game engine, which he is probably doing, then committing every single change is just "hey look precisely what i'm doing", it's bullshit and doesn't show where the big changes of thought happen(the real 'patches'). and it builds up an atmosphere where it's harder for the author(psychologically) to wipe everything and rewrite the core parts in one go as a test if that would be a better way. that way he might have something else than just 'basic functionality'.
with 2k sav
Re: (Score:1)
If each commit leaves the source tree in a good way (compiles, doesn't crash, etc) then higher commit granularity is a good thing. If the tree is intentionally left broken for several commits then the added granularity is pointless. (Your commits generally should not depend on future commits rather they should depend on previous commits.)
People who use git correctly understand this because of git's powerful bisection capability. Users of other SCMs tent to think that commits should be limited to one fil
Re: (Score:2)
Was there a concrete reason for that 1-line code change? Does it address a specific bug? Then it's definitely a worthwhile commit. Drafting out a new module? I generally commit about once an hour, just on the off-chance that the computer decides to freeze up / hang / crash / etc. Usually whenever I finish a major block of code or in the case of
Linus Torvalds? (Score:1)
How many commits do you suppose Linus Torvalds has made over the years, between the original BitKeeper revision control and the more recent Git?
Re:Linus Torvalds? (Score:5, Informative)
Here you go-
Linux Kernel 2.6 - Linus.Torvalds - Commits: 10034
http://www.ohloh.net/p/linux/contributors [ohloh.net]
10034 > 10000.
pre2.6: more.
Sure (Score:2, Insightful)
I can claim whatever you want.
...but (Score:2)
...but committing to an open source project means anyone can verify the claim.
Re: (Score:2)
That said, Ohloh puts me in t
Yes, Jim Meyering on coreutils (Score:5, Informative)
~/source/GNU/coreutils/coreutils$ git log | grep -c '^Author: Jim Meyering'
23652
~/source/GNU/coreutils/coreutils$ git log | egrep '^(Date:|Author: Jim Meyering)' | tail -n 2
Author: Jim Meyering
Date: Sat Oct 31 20:42:48 1992 +0000
# of Commits is a horrible metric (Score:5, Insightful)
coreutils rocks and I don't recognise Jim Meyering's name so I'm not casting aspersions, but doesn't it also depend on the value of the commit. I have on occassion committed more on a bad day (to fix my mistakes) than on a good day. So does that mean my mistake laden days are more productive? Should my boss look at that metric and give me a raise instead of the developers that get it right the first time?
No! This seems to be a very very silly metric indeed to me. Worse than kloc by an order of magnitude. Good for nothing but a pissing contest.
Re: (Score:2)
Re: (Score:2)
Yup, it's a silly metric. For one of the open source projects that I contribute to, there's a day in the not-so-distant past when I committed 20 times, and all of them got reverted later (fixing bugs identified by the static analyser without testing properly - not a good idea). On the other hand, you'll find a single commit where I rewrote a small family of commonly used classes, simplified the code considerably, and got a significant speedup. Which day do you think was more productive?
I'm not even su
Re: (Score:3)
coreutils rocks and I don't recognise Jim Meyering's name so I'm not casting aspersions, but doesn't it also depend on the value of the commit. I have on occassion committed more on a bad day (to fix my mistakes) than on a good day. So does that mean my mistake laden days are more productive? Should my boss look at that metric and give me a raise instead of the developers that get it right the first time?
No, that means your commits arent frequent enough. You're probably one of those guys that just can't be bothered to use proper vc techniques and sits and codes for five weeks and then blame everyone else when it is impossible to integrate your code with the rest of the system. There is a strong correlation between how often developers check in their code and how proficient they are. Weak developers consider it to be a chore to have to write legible commit messages to describe what their code does. The reaso
Re: (Score:1)
Re: (Score:2)
$ svn log -r10000:10001 README.txt
-----
r10000 | g........ | 2010-03-22 14:59:06 +0000 (Mon, 22 Mar 2010) | 1 line
10000th COMMIT!! I WIN!!
-----
r10001 | e..... | 2010-03-22 15:26:46 +0000 (Mon, 22 Mar 2010) | 1 line
BASTARD!!!
Get out your rulers! (Score:4, Funny)
What, dick-measuring gets the Slashdot front page now?
Re: (Score:1)
i just spent my 15 points in yet another conservative "don't tax the rich" circlejerk thread.
but one of my hobbies is modding AC posts "insightful". i guess your timing was off, or mine was.
Re: (Score:2)
if you're an open source project everyone knows about but going downhill in popularity then slashvertisements might be just the ticket to ride for you! apply today!
(it's more of an measurement of how often you measure your dick, not it's size. easy to generate commits, harder to change the overall quality of the project, that could mean dumping out a lot of commits from mattering at all)
10.000 commits (Score:5, Funny)
Must all be done by female coders as we all know men can't commit.
Re: (Score:2)
Re: (Score:2)
Must all be done by female coders as we all know men can't commit.
Why commit to a hypergamous harlot?
Re: (Score:2)
apparently men and women understand sarcasm equally.
i'm not sure what that makes you.
Re: (Score:2)
Quality over quantity (Score:2)
Ya, i could commit even more, but if they are worthless bits of poor code, does it matter?
Re: (Score:2)
Considering I briefly evaluated Drupal last week and had to MANUALLY edit the code to get it to create a valid dsn to an af_unix socket because it kept adding the "unix://" protocol bit to the dsn string and wouldn't generate the string unless it already had a "unix://" bit -- talk about fucked up. I lost all confidence in Drupal and stopped my evaluation right there. A quick search on google shows this has been an issue for Drupal users for a few years now. Talk about confidence inspiring.
If they can't ma
In other news... (Score:4, Insightful)
Re: (Score:1)
Webmin commits (Score:3)
I'm up to 15644 commits in total on the Webmin / Virtualmin projects..
Re: (Score:1)
Thank you.
Re: (Score:2)
ikiwiki: 10262 (Score:4, Informative)
I started ikiwiki in 2006 and have since committed 10262 times. Some of those were web-based edits committed to its wiki's git repository, most were code changes.
Software as a form of publication. (Score:4, Interesting)
Re: (Score:3)
Re: (Score:2)
FreeSWITCH (Score:2)
Re: (Score:2)
I use GIT as my "auto-save" cloud. (Score:2)
I use a GIT repo to sync my personal changes between all my PCs constantly. Literally, I have a cron job doing git commit & git push, and use the auto-save feature of my document editors in order to provide "ChromeOS" like synchronization.
I have over 80,000 on this current repo -- I'll back it up and start a new one next month.
Re: (Score:2)
Re: (Score:2)
That will drastically reduce your few thousand or few tens of thousands of commits per year down quite a bit.
(We had an automated push system for log files that pushed them into a SVN repository once an hour. That logged about 8760 commits per year. But since log files don't actually change every hour a rewrite of the scripts on the new server will cut that down to a small fraction of the old volume.)
Re: (Score:1)
Gentoo Statistics (Score:2)
http://dev.gentoo.org/~tove/stats/gentoo-x86/cvs-log-sum.txt [gentoo.org]
I'm number 20 on that list, having recently surpassed 10k commits to Gentoo myself (in 7 years). The top of our list is somebody with 70k commits.
- robbat2@gentoo
Re:Gentoo Statistics (Score:2)
http://dev.gentoo.org/~tove/stats/gentoo-x86/cvs-log-sum.txt [gentoo.org] [gentoo.org]
I'm number 20 on that list, having recently surpassed 10k commits to Gentoo myself (in 7 years). The top of our list is somebody with 70k commits.
That's impressive and we don't even count what's going on in the overlays..
The Eclipse Project (Score:1)
Dani Megert [ohloh.net] : 14,143 commits on Eclipse Platform + JDT
Darin Wright : 12,642 commits on Eclipse Platform [ohloh.net] + JDT [ohloh.net]
Re: (Score:2)
quality not quantity (Score:1)
Counting commits is about as valuable as counting lines of code.
Re: (Score:2)
While basically true, an interesting ration is LOC/commits. In one of my projects, the ratio is 5.35. Another, 5.01.
Can anyone claim more? Two words... (Score:2)
Anonymous Coward
Milo (Score:1)
Commit numbers don't mean quality (Score:2)
I do a lot of small and large commits for MidnightBSD. ports work or web based projects often generate a lot of commits. I tend to do small, logic commits.
https://www.ohloh.net/accounts/laffer1 [ohloh.net]
11737 just on MidnightBSD since ~2006.
That doesn't imply that I've done more work, or that my contributions are better than anyone else's.
Re: (Score:2)
Lets try this again, logged in:
Ohloh doesn't have full version control history, but it does show a little over 30K commits [ohloh.net] to the LLVM [llvm.org] and Clang [llvm.org] compilers:
Time flies when you're having fun!
-Chris
Reindent the code (Score:2)
Huge number of commits. The actual value of those commits is negative since you made it much harder for others to see the real changes when they diff between versions.
In fact, the sequence of events will likelly be:
- Re-indent all the code "your way"
- Commit all
- Huge flame-war follows. The discussion boards and mailing lists go into meltdown. Your real e-mail is added to a number of goatse mailing lists. People are about to kick you out of the project.
- You undo all your changes, thus making another huge n
samba / tng project (Score:2)
when they were being measured, i believe the statistics were somewhere around 300+ per month. at over 3 years of development at the time, that would easily exceed 10,000 commits. if i had continued on the project, at that rate, the number of commits would be somewhere exceeding 70,000. rapid and proper incremental code development is like that.
l.
Why / how? (Score:2)
At work I'll usually do one commit per day in the evening. I start with the system working, modify things, add features, fix bugs, and try to get it into a state where it works again. Testing that is not trivial, and I'm not (cannot be, there are time constraints for manual tests and our auto-testing is unfortunately non-existant) overly thorough in this regard. Getting to 10k commits will take 50 years this way. I wonder under which circumstances "micro-commits" are a good idea? Admittedly our system isn't
Re: (Score:2)
One commit per tested bugfix. One commit per semi-tested feature. One commit per update to design spec. One commit per update to docs (if not included in a feature/bugfix commit). Also, one merge commit per non-fastforward, non-rebased merge from a feature or bugfix branch can easily bloat the numbers. Plus you can choose to make multiple commits while within those branches, which both bloats the numbers greatly, and helps with backing out if you get into that broken state you mention and can't find your wa
Re: (Score:2)
Under all circumstances are "micro-commits" a good idea. The only reason not to commit in small increments is if you are working on something that will break your code until it's finished. For that, you should be using a branch, and doing micro-commits on the branch, then finally merge the branch back when you're done.
Why? The main reason is that if something is broken ("huh? That was working before, now it isn't!"), you will be able to go back and bisect. Find the last commit where it was working and the f
In just 10,000 more.... (Score:2)