Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] ebuild: set up bash compat levels
Date: Fri, 13 Nov 2015 17:18:28
Message-Id: 56461B5C.7030904@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] ebuild: set up bash compat levels by Ulrich Mueller
1 On 11/13/2015 12:12 AM, Ulrich Mueller wrote:
2 >>>>>> On Thu, 12 Nov 2015, Zac Medico wrote:
3 >
4 >> On 11/12/2015 04:06 PM, Mike Frysinger wrote:
5 >>> from ebuilds/eclasses that have already stopped using __:
6 >>> __do_sed_fix ()
7 >>> ___ECLASS_RECUR_MULTILIB=yes
8 >>> ___ECLASS_RECUR_TOOLCHAIN_FUNCS=yes
9 >>> __versionator_shopt_toggle ()
10 >>> __versionator__test_version_compare ()
11 >>> __versionator__test_version_is_at_least ()
12 >>>
13 >>> grepping the tree, i see like two packages and one eclass still using __.
14 >>> both of which are trivial to convert.
15 >
16 >> Sure, but do we really want to confuse people who might be ignorant of
17 >> this rule? Having functions disappear from the environment without
18 >> warning is very likely to cause confusion...
19 >
20 > Maybe repoman should make people aware of this rule then?
21 >
22 > Ulrich
23 >
24
25 Yeah, that would be great. I'm a little more concerned about non-gentoo
26 people that don't necessarily run repoman, though. At my workplace, we
27 don't use repoman because it has too many checks that we don't care
28 about. We really need to make it more configurable for third-party users.
29 --
30 Thanks,
31 Zac