openhub.net (formerly ohloh.net) has an interesting comparison of the number of public repositories on the net, based on searches of popular hosting services. This comparison is available at <https://www.openhub.net/repositories/compare> and shows an estimated market share between Bazaar, CVS, Git, Mercurial and Subversion.
I've been monitoring this since 2014-08-05 to see how things were
developing, and it's a good indication of the popularity of the various
version control systems. Generated SVG graphs are stored in graph/
:
relative.svg
Show graphs of relative growth between the various version control systems.relative-zoom.svg
Same asrelative.svg
, but since the Git graph dwarfs all the others, this is a zoomed-in version to show the differences between Bazaar, CVS, Mercurial and Subversion better.repos.svg
Graph of total number of repositories.
A status report generated from the newest data is stored in
status.txt
.
make update
Updaterepos.dat
with new data fromopenhub.net
.make
Createrepos.sql
,repos.sqlite
andREADME.html
, update and view status.txt.make plot
Generate relative Gnuplot graph.make bezier
Same asmake plot
, but use Bézier smoothing.make zoom
Generate zoomed-in relative Gnuplot graph to show the differences between Bazaar, CVS, Mercurial and Subversion.make abs
Generate absolute plot. Not as detailed as the relative plot.make status
Create some tables with statistics.make repos.sqlite
Create the SQLite database.make repos.sql
Create repos.sql.make svg
Create SVG plots ingraph/
.make README.html
CreateREADME.html
fromREADME.md
.make dups
If there are no updates, execute this to store the new entry indups.dat
. This is to avoid pollutingrepos.dat
with duplicates, and also document that new data was fetched, but there were no changes.make sort
Sortrepos.dat
anddups.dat
. Used bymake dups
.
These programs are necessary to run the various make
commands or
./get-new-stats.py
:
- sqlite3
- gnuplot
- Python v3
- /bin/sh, found on most *nix variants
- Perl
- cmark, CommonMark parser to generate
README.html
The scripts, data files and generated SVG graphs are stored in a Git repository at <https://gitlab.com/sunny256/openhub-repositories>.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Created by Øyvind A. Holm <sunny@sunbase.org>. Patches and suggestions are welcome, please use the issue tracker at <https://gitlab.com/sunny256/openhub-repositories/issues> or send an email.
File ID: 69b68b86-d7d8-11e4-a7ba-000df06acc56
vim: set ts=2 sw=2 sts=2 tw=72 et fo=tcqw fenc=utf8 :
vim: set com=b\:#,fb\:-,fb\:*,n\:> ft=markdown :