Gentoo Archives: gentoo-dev

From: Alexander Tsoy <alexander@××××.me>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] ChangeLog - Infra Response; update 2015/11/11, potential impact to 30min rsync cycle
Date: Thu, 12 Nov 2015 11:51:06
Message-Id: 20151112145049.51c08b7f@work.puleglot.ru
In Reply to: Re: [gentoo-dev] ChangeLog - Infra Response; update 2015/11/11, potential impact to 30min rsync cycle by Alexander Tsoy
1 On Thu, 12 Nov 2015 13:57:58 +0300
2 Alexander Tsoy <alexander@××××.me> wrote:
3
4 > On Thu, 12 Nov 2015 18:49:38 +0800
5 > Jason Zaman <perfinion@g.o> wrote:
6 >
7 > > On Thu, Nov 12, 2015 at 11:46:19AM +0100, Alexis Ballier wrote:
8 > > > On Wed, 11 Nov 2015 23:11:48 +0000
9 > > > "Robin H. Johnson" <robbat2@g.o> wrote:
10 > > >
11 > > > > On Thu, Nov 05, 2015 at 12:54:06PM +0100, Alexis Ballier wrote:
12 > > > > > It's not perfectly clean but I don't see any problem here:
13 > > > > > ChangeLog-2015 : all ChangeLog from CVS
14 > > > > > ChangeLog: autogenerated from git
15 > > > > FYI, this was implemented.
16 > > >
17 > > >
18 > > > Thanks!
19 > > >
20 > > > How should one report bugs ? to infra or portage ?
21 > > > From my just rsynced tree, I see changelogs in reverse order: oldest
22 > > > come first, latest come last
23 > >
24 > > NOTABUG, it was changed because rsync can deal really well with
25 > > appending to the end of files. rsyncing a file where things were things
26 > > were added to the beginning of the file means rsync will copy the whole
27 > > file from scratch which is pretty sub-optimal.
28 > >
29 >
30 > PORTAGE_RSYNC_OPTS by default contains "--whole-file". So I guess
31 > appending to the ChangeLog files doesn't really help. :)
32
33 Additionally rsync module appends --whole-file to rsync_opts:
34
35 https://gitweb.gentoo.org/proj/portage.git/tree/pym/portage/sync/modules/rsync/rsync.py#n361
36
37 --
38 Alexander Tsoy