diff --git a/Makefile b/Makefile index edd1475e..2a5c546d 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,6 @@ clean: -rm -r _site -rm -r _build -rm -r _includes/tables - -git restore _includes/tables/github-stats.html -make --directory=contributor-stats clean @@ -42,12 +41,20 @@ clean: stats: git clone --recurse-submodules https://github.com/ActivityWatch/stats.git || true +# Shallow clone: contributor-stats commits regenerated stats every few hours, +# so its history grows ~10MB/year; only the latest checkout is needed here +# (gitstats analyzes the AW repos it clones itself, not this repo's history). contributor-stats: - git clone --recurse-submodules https://github.com/ActivityWatch/contributor-stats.git || true + git clone --depth 1 --recurse-submodules https://github.com/ActivityWatch/contributor-stats.git || true _includes/tables: contributor-stats make --directory=contributor-stats build-aw cp -r contributor-stats/tables _includes/ + # contributor-stats commits only its sync-state JSON, not the rendered + # table, so generate the GitHub stats table from that state here. + cd contributor-stats && poetry install --no-interaction + make --directory=contributor-stats render + cp contributor-stats/github-activity-table.html _includes/tables/github-stats.html img/stats: stats cd stats && poetry install diff --git a/_includes/tables/github-stats.html b/_includes/tables/github-stats.html deleted file mode 100644 index 57df9e13..00000000 --- a/_includes/tables/github-stats.html +++ /dev/null @@ -1,646 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
UserIssuesCommentsPRsPRs MergedPR CommentsActive DaysTotal
ErikBjare379322259277352012585486
johan-bjareholt7714462164752037132417
xylix1118835442381301
iloveitaly78038352978189
BelKed1813114714105184
brayo-pip67834372063175
nicolae-stroncea30113126554166
Otto-AA13661210942110
Alwinator126499643100
nikanar15557273186
ShootingKing-AM2331714122978
codecov-io0520004752
ghost14332013150
billangli02351242644
NicoWeio7119372437
dufferzafar9241011335
2e3s0167472434
kovasap8241002333
rtpHarry8250002233
8bitgentleman9240001933
rakleed14132022631
ahnlabb092132626
kewde116323825
OlivierMary216303524
pcuci6160001522
milomg171111921
watertrainer9110001520
huantianad35606920
exoji2e311141820
qcol4131011319
skewballfox4112111019
cunidev29323819
lundibundi210232519
rathishkumar118000519
pktiuk0131311118
Saghen09261918
yratof710000617
FilipHarald012201815
BeatLink2120001114
flexagoon210101914
brunoparga08303714
ianobermiller17312714
michaeljelly08312614
VictorWinberg00707114
PetbkA670001213
Mte9025222813
wojnilowicz29101813
JFMugen211000713
Morpheus0x29101613
vedantmgoyal914323613
alerque16060513
tmotyl56101513
ArchaeotheriumSapienter055021012
schackbrian2012111000812
alexriabtsev210000712
soxofaan22323612
iconma111000512
devzsolt26202312
leoschwarz16230312
shri120kant84000212
the-architech38000511
jantman110000411
theguybieber56000111
\ No newline at end of file diff --git a/contributors.html b/contributors.html index 02064959..002a3eff 100644 --- a/contributors.html +++ b/contributors.html @@ -106,12 +106,12 @@

{{ module }}

GitHub Stats

- Below are some stats of contributor activity on GitHub. The table is manually updated every now and then. + Below are some stats of contributor activity on GitHub. The table is regenerated automatically by the contributor-stats repository.

Bots and users with total less than 10 have been removed.

{% include tables/github-stats.html %}

- Last updated: 2024-7-11 + Last updated: {{ site.time }}