TheEconomist / covid-19-the-economist-global-excess-deaths-model

The Economist's model to estimate excess deaths to the covid-19 pandemic
https://www.economist.com/graphic-detail/coronavirus-excess-deaths-estimates
MIT License
459 stars 83 forks source link

Size limit for github repo - is being fixed #25

Closed sondreus closed 7 months ago

sondreus commented 9 months ago

We are aware that this is not currently updating. The reason is that we have hit the github size limit. We are awaiting assistance from them (possibly, a higher limit, or at a minimum, a temporary increase so we can trim the repo and push that change).

sondreus commented 7 months ago

This is now fixed. It was much more complicated than one would expect for reasons which are about as interesting (not very) as one would expect.

in brief:

java -jar /Users/sondresolstad/bfg.jar --delete-files gbt_model_B_1.agtb
git gc
git prune

Then:
git log --oneline --reverse refs/heads/main | awk 'NR % 100 == 0' 
git push origin  15965b25b:refs/heads/main -f 
...

The history of all agtb model objects were deleted, as well as the history of their individual predictions (which is saved elsewhere in combined form)