Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: 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:26:29
Message-Id: 20151109082616.19d85e03.mgorny@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] repos.conf: support sync-hooks-lazy attribute (bug 565172) by Zac Medico
1 On Sun, 8 Nov 2015 15:20:01 -0800
2 Zac Medico <zmedico@g.o> wrote:
3
4 > If sync-hooks-lazy is set to true, do not trigger postsync hooks unless
5 > hooks would have executed for a master repository or the repository
6 > has changed since the previous sync operation.
7 >
8 > If the user has not explicitly enabled sync-hooks-lazy in repos.conf,
9 > then execute all hooks regardless of whether or not anything has
10 > changed (for backward compatibility).
11
12 Please don't name it 'lazy'. 'Lazy' makes me think of programming
13 language meaning of 'lazy'. Instead, let it say what it does. Like
14 'hooks-only-if-modified' or something like that.
15
16 --
17 Best regards,
18 Michał Górny
19 <http://dev.gentoo.org/~mgorny/>

Replies