Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move out ICU blobs #3476

Open
HalidOdat opened this issue Nov 22, 2023 · 0 comments
Open

Move out ICU blobs #3476

HalidOdat opened this issue Nov 22, 2023 · 0 comments
Labels
Internal Category for changelog technical debt

Comments

@HalidOdat
Copy link
Member

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
@HalidOdat HalidOdat added technical debt Internal Category for changelog labels Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internal Category for changelog technical debt
Projects
None yet
Development

No branches or pull requests

1 participant