1 |
Dnia 2015-10-15, o godz. 17:56:37 |
2 |
Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> napisał(a): |
3 |
|
4 |
> On Thu, 15 Oct 2015 18:49:37 +0200 |
5 |
> Ulrich Mueller <ulm@g.o> wrote: |
6 |
> > >>>>> On Thu, 15 Oct 2015, Ciaran McCreesh wrote: |
7 |
> > > On Thu, 15 Oct 2015 12:50:14 +0200 |
8 |
> > > Ulrich Müller <ulm@g.o> wrote: |
9 |
> > >> Bug: 449862 |
10 |
> > |
11 |
> > > This should explicitly require the package mangler to die if it's |
12 |
> > > used from a global scope context, to catch all the likely screwups. |
13 |
> > |
14 |
> > We already say in the first paragraph of the section: "Ebuilds must |
15 |
> > not run any of these functions in global scope." which applies to all |
16 |
> > USE list functions. |
17 |
> |
18 |
> How about taking the opportunity to explicitly force all of these to |
19 |
> die, then? I can see in_iuse being abused horribly if Portage isn't |
20 |
> made to enforce this... |
21 |
|
22 |
Portage is already set to enforce strict rules for other helpers |
23 |
in EAPI 6. |
24 |
|
25 |
-- |
26 |
Best regards, |
27 |
Michał Górny |
28 |
<http://dev.gentoo.org/~mgorny/> |