Gentoo Archives: gentoo-project

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-project@l.g.o
Subject: Re: [gentoo-project] RFC: Dropping rsync as a tree distribution method
Date: Sun, 16 Dec 2018 05:13:18
Message-Id: 1600658.mo6uCtQdLC@reaper
In Reply to: Re: [gentoo-project] RFC: Dropping rsync as a tree distribution method by Matt Turner
1 On Saturday, December 15, 2018 8:40:38 PM PST Matt Turner wrote:
2 > On Sat, Dec 15, 2018 at 11:16 PM Alec Warner <antarus@g.o> wrote:
3 > > - Disk usage for git vs rsync
4 >
5 > This is why I have not switched. With git you pull down increasing
6 > amounts of history, whereas with rsync the data fits easily in a <1GB
7 > partition.
8
9 Recent portage can use sync-depth = 1
10 repo dir no longer grows as it used to and it's works fine unlike initial
11 implementation that was giving trouble
12
13 https://bugs.gentoo.org/552814
14
15 du -hs /var/db/repos/gentoo
16 350M /var/db/repos/gentoo
17
18 example /etc/portage/repos.conf/gentoo.conf :
19 [DEFAULT]
20 main-repo = gentoo
21
22 [gentoo]
23 auto-sync = yes
24 location = /var/db/repos/gentoo
25 sync-type = git
26 sync-uri = https://github.com/gentoo-mirror/gentoo.git
27 sync-depth = 1
28 sync-git-clone-extra-opts = -b master
29 sync-git-verify-commit-signature = true
30
31
32 sync is almost instantaneous compared to rsync, but some folks not going to
33 like github as a mirror in this case.
34
35
36 --
37 Georgy Yakovlev
38 Gentoo Linux Developer

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies