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