Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH v2] acct-user.eclass: allow opt-out of user modification
Date: Fri, 08 Jan 2021 22:06:08
Message-Id: e34ab98be7d75f755d74543a41b2e94e42f1d34f.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH v2] acct-user.eclass: allow opt-out of user modification by Thomas Deutschmann
1 On Fri, 2021-01-08 at 22:05 +0100, Thomas Deutschmann wrote:
2 > On 2021-01-08 21:58, Michał Górny wrote:
3 > > > +# @ECLASS-VARIABLE: ACCT_USER_ALREADY_EXISTS
4 > > > +# @INTERNAL
5 > > > +# @DESCRIPTION:
6 > > > +# Status variable which indicates if user already exists.
7 > >
8 > > Please prefix internal variables with an underscore.
9 >
10 > You mean renaming ACCT_USER_ALREADY_EXISTS to _ACCT_USER_ALREADY_EXISTS?
11
12 Yes.
13
14 >
15 > Then _ACCT_USER_ALREADY_EXISTS would deviate from ACCT_USER_NAME which
16 > has no underscore prefix and is also marked as internal variable.
17 >
18 > Or should I fix both?
19
20 ACCT_USER_NAME is a 'visible' variable. I probably shouldn't have
21 marked it internal.
22
23 --
24 Best regards,
25 Michał Górny