1 |
On Monday, December 17, 2018 9:43:05 AM PST Raymond Jennings wrote: |
2 |
> On Mon, Dec 17, 2018 at 9:26 AM Matt Turner <mattst88@g.o> wrote: |
3 |
> > On Sun, Dec 16, 2018 at 12:13 AM Georgy Yakovlev <gyakovlev@g.o> |
4 |
wrote: |
5 |
> > > On Saturday, December 15, 2018 8:40:38 PM PST Matt Turner wrote: |
6 |
> > > > On Sat, Dec 15, 2018 at 11:16 PM Alec Warner <antarus@g.o> |
7 |
wrote: |
8 |
> > > > > - Disk usage for git vs rsync |
9 |
> > > > |
10 |
> > > > This is why I have not switched. With git you pull down increasing |
11 |
> > > > amounts of history, whereas with rsync the data fits easily in a <1GB |
12 |
> > > > partition. |
13 |
> > > |
14 |
> > > Recent portage can use sync-depth = 1 |
15 |
> > > repo dir no longer grows as it used to and it's works fine unlike |
16 |
> > > initial |
17 |
> > > implementation that was giving trouble |
18 |
> > > |
19 |
> > > https://bugs.gentoo.org/552814 |
20 |
> > > |
21 |
> > > du -hs /var/db/repos/gentoo |
22 |
> > > 350M /var/db/repos/gentoo |
23 |
> > > |
24 |
> > > example /etc/portage/repos.conf/gentoo.conf : |
25 |
> > > [DEFAULT] |
26 |
> > > main-repo = gentoo |
27 |
> > > |
28 |
> > > [gentoo] |
29 |
> > > auto-sync = yes |
30 |
> > > location = /var/db/repos/gentoo |
31 |
> > > sync-type = git |
32 |
> > > sync-uri = https://github.com/gentoo-mirror/gentoo.git |
33 |
> > > sync-depth = 1 |
34 |
> > > sync-git-clone-extra-opts = -b master |
35 |
> > > sync-git-verify-commit-signature = true |
36 |
> > > |
37 |
> > > |
38 |
> > > sync is almost instantaneous compared to rsync, but some folks not going |
39 |
> > > to |
40 |
> > > like github as a mirror in this case. |
41 |
> |
42 |
> Would I be correct to say they won't need github if they use infra's |
43 |
> own native anongit server? |
44 |
I'm guessing, but probably infra server is not supposed to handle load from |
45 |
all the users and will temporarily ban if one tries to sync more than several |
46 |
times per day (like rsync master does). But don't quote me on that, better ask |
47 |
infra. |
48 |
|
49 |
> |
50 |
> > Thanks for the information. That seems to work great! |
51 |
|
52 |
|
53 |
-- |
54 |
Georgy Yakovlev |
55 |
Gentoo Linux Developer |