Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: "Michał Górny" <mgorny@g.o>, Zac Medico <zmedico@g.o>
Cc: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] repos.conf: support sync-hooks-lazy attribute (bug 565172)
Date: Mon, 09 Nov 2015 07:40:10
Message-Id: 56404DD0.2040101@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] repos.conf: support sync-hooks-lazy attribute (bug 565172) by "Michał Górny"
1 On 11/08/2015 11:26 PM, Michał Górny wrote:
2 > On Sun, 8 Nov 2015 15:20:01 -0800
3 > Zac Medico <zmedico@g.o> wrote:
4 >
5 >> If sync-hooks-lazy is set to true, do not trigger postsync hooks unless
6 >> hooks would have executed for a master repository or the repository
7 >> has changed since the previous sync operation.
8 >>
9 >> If the user has not explicitly enabled sync-hooks-lazy in repos.conf,
10 >> then execute all hooks regardless of whether or not anything has
11 >> changed (for backward compatibility).
12 >
13 > Please don't name it 'lazy'. 'Lazy' makes me think of programming
14 > language meaning of 'lazy'. Instead, let it say what it does. Like
15 > 'hooks-only-if-modified' or something like that.
16 >
17
18 Okay, I think 'sync-hooks-only-on-change' will fit the intention nicely.
19 --
20 Thanks,
21 Zac