<div dir="ltr">Ok, what time of day in UTC do you like for this?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 28, 2020 at 3:19 AM Jonathan Druart <<a href="mailto:jonathan.druart@bugs.koha-community.org">jonathan.druart@bugs.koha-community.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi devs,<br>
<br>
Some of you may know, we got an issue with our Koha gitlab repo, it<br>
was not syncing because of too big (no detail here, but that did not<br>
really make sense anyway). It seems that it is syncing now but we<br>
removed all the branches that are not protected (so only master)<br>
<br>
I had a new try at splitting our repo, removing the po files from the<br>
core repo (<a href="https://wiki.koha-community.org/wiki/Git_Splitting_and_Shrinking" rel="noreferrer" target="_blank">https://wiki.koha-community.org/wiki/Git_Splitting_and_Shrinking</a>).<br>
It's not a trivial process as it requires several changes, but I<br>
noticed that:<br>
<br>
After a git clone: `git count-objects -vH` returns 3.67/4.23 GiB<br>
(cannot remember the correct number, but high!)<br>
After a repack [1]: ~755 MiB<br>
<br>
The command I used: `git gc --aggressive --prune=now`<br>
<br>
I think we should schedule that command on the git server (it took<br>
around 3 hours on a small VPS) to reduce its size.<br>
<br>
I am available if you need any helps for that task.<br>
<br>
Cheers,<br>
Jonathan<br>
<br>
PS: you may need to increase the windowMemory value with: `git config<br>
--global pack.windowMemory 256m`<br>
<br>
[1] <a href="https://git-scm.com/docs/git-repack" rel="noreferrer" target="_blank">https://git-scm.com/docs/git-repack</a><br>
<br>
Spoiler: After removing the po file, and a repack, the repo index size is 127MiB<br>
_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br>
<a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" rel="noreferrer" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="http://www.koha-community.org/" rel="noreferrer" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" rel="noreferrer" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" rel="noreferrer" target="_blank">http://bugs.koha-community.org/</a><br>
</blockquote></div>