With Debian’s 19th anniversary approaching, I thought it would be nice to look back at dpkg’s history. After all, it’s one of the key components of any Debian system.
The figures in this article are all based on dpkg’s git repository (as of today, commit 9a06920). While the git repository doesn’t have all the history, we tried to integrate as much as possible when we created it in 2007. We have data going back to April 1996…
In this period between April 1996 and August 2012:
- 146 persons contributed to dpkg (result of
git log --pretty='%aN'|sort -u|wc -l
) - 6948 commits have been made (result of
git log --oneline | wc -l
) - 3133612 lines have been written/modified (result of
git log --stat|perl -ne 'END { print $c } $c += $1 if /(\d+) insertions/;'
)
Currently the dpkg source tree contains 28303 lines of C, 14956 lines of Perl and 6984 lines of shell (figures generated by David A. Wheeler’s ‘SLOCCount’) and is translated in 40 languages (but very few languages managed to translate everything, with all the manual pages there are 3997 strings to translate).
The top 5 contributors of all times (in number of commits) is the following (result of git log --pretty='%aN'|sort| uniq -c|sort -k1 -n -r|head -n 5
):
- Guillem Jover with 2663 commits
- Raphaël Hertzog with 993 commits
- Wichert Akkerman with 682 commits
- Christian Perrier with 368 commits
- Adam Heath with 342 commits
I would like to point out that those statistics are not entirely representative as people like Ian Jackson (the original author of dpkg’s C reimplementation) or Scott James Remnant were important contributors in parts of the history that were recreated by importing tarballs. Each tarball counts for a single commit but usually bundles much more than one change. Also each contributor has its own habits in terms of crafting a work in multiple commits.
Last but not least, I have generated this 3 minutes gource visualization of dpkg git’s history (I used Planet’s head pictures for dpkg maintainers where I could find it).
Watching this video made me realize that I have been contributing to dpkg for 5 years already. I’m looking forward to the next 5 years 🙂
And what about you? You could be the 147th contributor… see this wiki page to learn more about the team and to start contributing.