[pacman-dev] [PATCH] libmakepkg/source/git: Use --bare with a refspec instead of --mirror
Allan McRae
allan at archlinux.org
Thu Jan 24 01:24:27 UTC 2019
On 23/1/19 3:39 am, Johannes Löthberg wrote:
> I distinctly remember having cases where there were old PRs from before
> a rebase that ended up pulling in multiple gigabytes of data, but I
> cannot seem to figure out which repos they were anymore.
>
> Of the larger repos I've looked at quickly it seems the difference for
> most of them are roughly 100-500MB. For Linus' linux repo the
> difference is 446MB, 113MB for rust.
>
> Since I can't really find the really nasty cases anymore, I guess you
> can feel free to reject it, though I still think that the change is more
> morally correct, and even a 500MB difference can affect some user
Just because I wanted to look at the numbers (percentage increase is
more interesting that absolute value), here is what I get for rust:
git clone --mirror:
Download: 506.98 MiB
git clone --bare:
Download: 406.00 MiB
So that is a decent overhead.
More information about the pacman-dev
mailing list