1
0

Blog: git-diversity.md

This commit is contained in:
Ryan Fox 2021-11-08 11:49:38 -08:00
parent ba004b0464
commit 59db7ee48d
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E

View File

@ -0,0 +1,37 @@
template: post
title: Diversity in git hosting
author: flewkey
timestamp: 1636061911
license: CC-BY
I recently ran a quick & dirty[^1] scan of the packages on my laptop to figure
out where their git repositories are hosted. The full log of it is
[here](https://pastebin.com/qruXskVf), if anyone is interested.
[^1]: Because most packages don't seem to include an EGIT_REPO_URI, my script
could only check 10% of them
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%)
```