Gentoo Archives: gentoo-project

From: Luis Ressel <aranea@×××××.de>
To: gentoo-project@l.g.o
Subject: Re: [gentoo-project] [rfc] /usr/portage sync source options (and recommendations)
Date: Wed, 28 Dec 2016 14:05:30
Message-Id: 20161228150424.1e73e520@gentp.lnet
In Reply to: Re: [gentoo-project] [rfc] /usr/portage sync source options (and recommendations) by Brian Evans
1 On Wed, 28 Dec 2016 08:55:08 -0500
2 Brian Evans <grknight@g.o> wrote:
3
4 > On 12/27/2016 8:37 PM, Sebastian Pipping wrote:
5 > >
6 > > * Git: combined mirror [1]
7 > >
8 >
9 > This one is not very efficient for users to pull down since it creates
10 > massive commits in PR branches and is bloating the repo very quickly.
11 > As of this date, it is 1.2GiB overhead (.git dir) even when
12 > compressed. Compared to the dev repo of 240MiB.
13
14 And transmitting the metadata/md5-cache via git is quite inefficient,
15 so Github frequently throttles the access to this repo to ~200kbit/s.
16
17 Another disadvantage is that this sync method is vulnerable to MITM and
18 DNS poisoning attacks (just like rsync), because it's not possible to
19 verify the updates (the automatic commits updating the metadata cache
20 are not signed, and they're too big to review manually).
21
22 Just my two cents.
23
24 Regards,
25 Luis Ressel