1
0
flewkey.com/posts/2021-11-04-git-diversity.md
2021-11-08 11:50:55 -08:00

1.1 KiB

template: post title: Diversity in git hosting author: flewkey timestamp: 1636061911 license: CC-BY

I recently ran a quick & dirty1 scan of the packages on my laptop to figure out where their git repositories are hosted. The full log of it is here, if anyone is interested.

Going into this, I expected GitHub to be host 80% of the packages, GitLab to host 10% of the packages, and other sites to host the remaining 10%.

I was correct about GitHub. However, I was pleasantly surprised to see that more packages lived on project-specific hosts than I'd thought. Conversely, GitLab turned out to be smaller than I'd thought.

I might try to get more accurate results in the future by including more packages.

Top 10 git hosts

github.com: 1769 (81.26%)
gitlab.com: 76 (3.49%)
anongit.gentoo.org: 36 (1.65%)
gitlab.freedesktop.org: 31 (1.42%)
git.code.sf.net: 24 (1.10%)
git.sr.ht: 20 (0.92%)
git.kernel.org: 16 (0.73%)
git.savannah.gnu.org: 15 (0.69%)
anongit.freedesktop.org: 14 (0.64%)
gitlab.gnome.org: 11 (0.51%)

  1. Because most packages don't seem to include an EGIT_REPO_URI, my script could only check 10% of them ↩︎