1 |
Instead of the github mirror, how about infra's native version, |
2 |
git://anongit.gentoo.org/repo/sync/gentoo.git? |
3 |
|
4 |
I think that one's even QA filtered and metadata primed on top of the |
5 |
regular dev branch hosted on github. |
6 |
|
7 |
On Sat, Dec 15, 2018 at 9:13 PM Georgy Yakovlev <gyakovlev@g.o> wrote: |
8 |
> |
9 |
> On Saturday, December 15, 2018 8:40:38 PM PST Matt Turner wrote: |
10 |
> > On Sat, Dec 15, 2018 at 11:16 PM Alec Warner <antarus@g.o> wrote: |
11 |
> > > - Disk usage for git vs rsync |
12 |
> > |
13 |
> > This is why I have not switched. With git you pull down increasing |
14 |
> > amounts of history, whereas with rsync the data fits easily in a <1GB |
15 |
> > partition. |
16 |
> |
17 |
> Recent portage can use sync-depth = 1 |
18 |
> repo dir no longer grows as it used to and it's works fine unlike initial |
19 |
> implementation that was giving trouble |
20 |
> |
21 |
> https://bugs.gentoo.org/552814 |
22 |
> |
23 |
> du -hs /var/db/repos/gentoo |
24 |
> 350M /var/db/repos/gentoo |
25 |
> |
26 |
> example /etc/portage/repos.conf/gentoo.conf : |
27 |
> [DEFAULT] |
28 |
> main-repo = gentoo |
29 |
> |
30 |
> [gentoo] |
31 |
> auto-sync = yes |
32 |
> location = /var/db/repos/gentoo |
33 |
> sync-type = git |
34 |
> sync-uri = https://github.com/gentoo-mirror/gentoo.git |
35 |
> sync-depth = 1 |
36 |
> sync-git-clone-extra-opts = -b master |
37 |
> sync-git-verify-commit-signature = true |
38 |
> |
39 |
> |
40 |
> sync is almost instantaneous compared to rsync, but some folks not going to |
41 |
> like github as a mirror in this case. |
42 |
> |
43 |
> |
44 |
> -- |
45 |
> Georgy Yakovlev |
46 |
> Gentoo Linux Developer |