boa
boa copied to clipboard
Move out ICU blobs
Currently we store the binary blobs in the git history, this isn't ideal. Any changes we do will only increase the git history.
git for-each-ref --format='%(refname)' |
while read branch
do
# f33c18d2b6e672ea1893bae06251390255f15dee - first commit
size=$(git rev-list --disk-usage=human --objects f33c18d2b6e672ea1893bae06251390255f15dee..$branch)
echo "$size $branch"
done |
sort -n
Checking the size of the branches, main occupies ~42MB
Looking at the versions it seems the size jumped a lot in between 0.16 and 0.17, in 0.17 added the blobs so it's probably the reason for the bump in size (though 0.17 was a pretty big release overall).
7.05 MiB refs/tags/v0.2.0
7.54 MiB refs/tags/v0.2.1
7.54 MiB refs/tags/v0.3.0
7.66 MiB refs/tags/v0.4.0
7.88 MiB refs/tags/v0.5.0
7.91 MiB refs/tags/v0.5.1
8.01 MiB refs/tags/v0.6.0
8.34 MiB refs/tags/v0.7.0
8.80 MiB refs/tags/v0.8.0
9.51 MiB refs/tags/v0.9.0
10.53 MiB refs/tags/v0.10
11.82 MiB refs/tags/v0.11
12.72 MiB refs/tags/v0.12
13.57 MiB refs/tags/v0.13
15.09 MiB refs/tags/v0.14
15.76 MiB refs/tags/v0.15
16.80 MiB refs/tags/v0.16
33.44 MiB refs/tags/v0.17
33.48 MiB refs/tags/v0.17.1
33.48 MiB refs/tags/v0.17.2
33.48 MiB refs/tags/v0.17.3