Created
March 7, 2025 11:22
-
-
Save mweinelt/0ea6b98b7ea0af9b38c73b88a102051d to your computer and use it in GitHub Desktop.
Count commits/committers between nixos releases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# commit count measured from branch-off of the previous release to the final release of the new release | |
function count_commits() { | |
OLD="$1" | |
NEW="$2" | |
git log "${OLD}-beta..${NEW}" --no-merges --format=%an | wc -l | |
} | |
count_commits 19.09 20.03 | |
count_commits 20.03 20.09 | |
count_commits 20.09 21.05 | |
count_commits 21.05 21.11 | |
count_commits 21.11 22.05 | |
count_commits 22.05 22.11 | |
count_commits 22.11 23.05 | |
count_commits 23.05 23.11 | |
count_commits 23.11 24.05 | |
count_commits 24.05 24.11 | |
function count_committers() { | |
OLD="$1" | |
NEW="$2" | |
git log "${OLD}-beta..${NEW}" --no-merges --format=%an | sort | uniq | wc -l | |
} | |
count_committers 19.09 20.03 | |
count_committers 20.03 20.09 | |
count_committers 20.09 21.05 | |
count_committers 21.05 21.11 | |
count_committers 21.11 22.05 | |
count_committers 22.05 22.11 | |
count_committers 22.11 23.05 | |
count_committers 23.05 23.11 | |
count_committers 23.11 24.05 | |
count_committers 24.05 24.11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment