Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-26 Thread Zac Medico
On 08/26/2018 12:14 AM, Zac Medico wrote: > On 08/24/2018 04:56 PM, Francesco Riosa wrote: >> >> >> Il giorno sab 25 ago 2018 alle ore 01:45 Zac Medico > > ha scritto: >> >> On 08/24/2018 04:14 PM, Francesco Riosa wrote: >> > >> > Il 24/08/18 19:08, Mike

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-26 Thread Zac Medico
On 08/24/2018 04:56 PM, Francesco Riosa wrote: > > > Il giorno sab 25 ago 2018 alle ore 01:45 Zac Medico > ha scritto: > > On 08/24/2018 04:14 PM, Francesco Riosa wrote: > > > > Il 24/08/18 19:08, Mike Gilbert ha scritto: > >> On Fri, Aug 24, 2018 at

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-25 Thread Jeroen Roovers
Hi Kent, On Sat, 25 Aug 2018 01:23:06 +1200 Kent Fredric wrote: > On Tue, 21 Aug 2018 22:29:29 -0400 > Mike Gilbert wrote: > > > Setting RESTRICT="!test? ( test )" is generally sufficient. > > But that would require setting that virtually *everything* that has > both tests, and

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-24 Thread Michał Górny
On Sat, 2018-08-25 at 01:14 +0200, Francesco Riosa wrote: > Il 24/08/18 19:08, Mike Gilbert ha scritto: > > On Fri, Aug 24, 2018 at 10:45 AM Kent Fredric wrote: > > > On Fri, 24 Aug 2018 10:27:01 -0400 > > > Mike Gilbert wrote: > > > > > > > If you want to define behavior that can be relied

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-24 Thread Francesco Riosa
Il giorno sab 25 ago 2018 alle ore 01:45 Zac Medico ha scritto: > On 08/24/2018 04:14 PM, Francesco Riosa wrote: > > > > Il 24/08/18 19:08, Mike Gilbert ha scritto: > >> On Fri, Aug 24, 2018 at 10:45 AM Kent Fredric > wrote: > >>> On Fri, 24 Aug 2018 10:27:01 -0400 > >>> Mike Gilbert wrote: >

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-24 Thread Zac Medico
On 08/24/2018 04:14 PM, Francesco Riosa wrote: > > Il 24/08/18 19:08, Mike Gilbert ha scritto: >> On Fri, Aug 24, 2018 at 10:45 AM Kent Fredric wrote: >>> On Fri, 24 Aug 2018 10:27:01 -0400 >>> Mike Gilbert wrote: >>> If you want to define behavior that can be relied upon in ebuilds, it

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-24 Thread Francesco Riosa
Il 24/08/18 19:08, Mike Gilbert ha scritto: > On Fri, Aug 24, 2018 at 10:45 AM Kent Fredric wrote: >> On Fri, 24 Aug 2018 10:27:01 -0400 >> Mike Gilbert wrote: >> >>> If you want to define behavior that can be relied upon in ebuilds, it >>> should be specified in PMS. PMS does not define any

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-24 Thread Mike Gilbert
On Fri, Aug 24, 2018 at 10:45 AM Kent Fredric wrote: > > On Fri, 24 Aug 2018 10:27:01 -0400 > Mike Gilbert wrote: > > > If you want to define behavior that can be relied upon in ebuilds, it > > should be specified in PMS. PMS does not define any meaning for the > > "test" USE flag. > > We should

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-24 Thread Mike Gilbert
On Fri, Aug 24, 2018 at 10:37 AM Virgil Dupras wrote: > > On Fri, 24 Aug 2018 10:27:01 -0400 > Mike Gilbert wrote: > > > On Fri, Aug 24, 2018 at 9:23 AM Kent Fredric > > wrote: > > > > > > On Tue, 21 Aug 2018 22:29:29 -0400 > > > Mike Gilbert wrote: > > > > > > > Setting RESTRICT="!test? (

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-24 Thread Kent Fredric
On Fri, 24 Aug 2018 10:27:01 -0400 Mike Gilbert wrote: > If you want to define behavior that can be relied upon in ebuilds, it > should be specified in PMS. PMS does not define any meaning for the > "test" USE flag. We should eschew idealism about how the world *should* behave, and avoid making

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-24 Thread Virgil Dupras
On Fri, 24 Aug 2018 10:27:01 -0400 Mike Gilbert wrote: > On Fri, Aug 24, 2018 at 9:23 AM Kent Fredric > wrote: > > > > On Tue, 21 Aug 2018 22:29:29 -0400 > > Mike Gilbert wrote: > > > > > Setting RESTRICT="!test? ( test )" is generally sufficient. > > > > But that would require setting that

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-24 Thread Mike Gilbert
On Fri, Aug 24, 2018 at 9:23 AM Kent Fredric wrote: > > On Tue, 21 Aug 2018 22:29:29 -0400 > Mike Gilbert wrote: > > > Setting RESTRICT="!test? ( test )" is generally sufficient. > > But that would require setting that virtually *everything* that has > both tests, and required dependencies for

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-24 Thread Kent Fredric
On Tue, 21 Aug 2018 22:29:29 -0400 Mike Gilbert wrote: > Setting RESTRICT="!test? ( test )" is generally sufficient. But that would require setting that virtually *everything* that has both tests, and required dependencies for tests. Which, in my experience, is practically everything with

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-21 Thread Mike Gilbert
On Tue, Aug 21, 2018 at 9:21 PM Thomas Deutschmann wrote: > > On 2018-08-21 18:23, Michał Górny wrote: > >> Wait, are you saying that I can set USE=-test while FEATURES=test is > >> enabled? Is that a valid combination? > > > > Yes. > > The only thing I still don't understand yet: Do we support

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-21 Thread Thomas Deutschmann
On 2018-08-21 18:23, Michał Górny wrote: >> Wait, are you saying that I can set USE=-test while FEATURES=test is >> enabled? Is that a valid combination? > > Yes. The only thing I still don't understand yet: Do we support things like that? I.e. should we add things like > if has test

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-21 Thread Thomas Deutschmann
On 2018-08-21 22:06, Juippisi . wrote: > It's really annoying if you try to make some conditional stuff apply > using "if use test;" because it doesn't work with FEATURES="test". Yes, but these are bugs which are getting fixed. See bugs like https://bugs.gentoo.org/show_bug.cgi?id=664104. --

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-21 Thread Kristian Fiskerstrand
On 08/21/2018 10:06 PM, Juippisi . wrote: > On Tue, Aug 21, 2018 at 3:57 PM, Davide Pesavento wrote: > >> >> Wait, are you saying that I can set USE=-test while FEATURES=test is >> enabled? Is that a valid combination? >> > > It's really annoying if you try to make some conditional stuff apply

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-21 Thread Juippisi .
On Tue, Aug 21, 2018 at 3:57 PM, Davide Pesavento wrote: > > Wait, are you saying that I can set USE=-test while FEATURES=test is > enabled? Is that a valid combination? > It's really annoying if you try to make some conditional stuff apply using "if use test;" because it doesn't work with

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-21 Thread Michał Górny
Dnia 21 sierpnia 2018 17:57:48 CEST, Davide Pesavento napisał(a): >On Tue, Aug 21, 2018 at 2:46 AM Michał Górny wrote: >> >> On Tue, 2018-08-21 at 01:54 -0400, Davide Pesavento wrote: >> > On Mon, Aug 20, 2018 at 11:00 AM Michał Górny >wrote: >> > > >> > > Improve the description of USE=test

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-21 Thread Davide Pesavento
On Tue, Aug 21, 2018 at 11:57 AM Davide Pesavento wrote: > > On Tue, Aug 21, 2018 at 2:46 AM Michał Górny wrote: > > > > On Tue, 2018-08-21 at 01:54 -0400, Davide Pesavento wrote: > > > On Mon, Aug 20, 2018 at 11:00 AM Michał Górny wrote: > > > > > > > > Improve the description of USE=test to

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-21 Thread Davide Pesavento
On Tue, Aug 21, 2018 at 2:46 AM Michał Górny wrote: > > On Tue, 2018-08-21 at 01:54 -0400, Davide Pesavento wrote: > > On Mon, Aug 20, 2018 at 11:00 AM Michał Górny wrote: > > > > > > Improve the description of USE=test to clearly indicate what the flag > > > does instead of claiming it

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-21 Thread Michał Górny
On Tue, 2018-08-21 at 01:54 -0400, Davide Pesavento wrote: > On Mon, Aug 20, 2018 at 11:00 AM Michał Górny wrote: > > > > Improve the description of USE=test to clearly indicate what the flag > > does instead of claiming it workaround for Portage. > > --- > > profiles/use.desc | 2 +- > > 1

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-20 Thread Davide Pesavento
On Mon, Aug 20, 2018 at 11:00 AM Michał Górny wrote: > > Improve the description of USE=test to clearly indicate what the flag > does instead of claiming it workaround for Portage. > --- > profiles/use.desc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Changed in v2: added

[gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-20 Thread Michał Górny
Improve the description of USE=test to clearly indicate what the flag does instead of claiming it workaround for Portage. --- profiles/use.desc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Changed in v2: added description of FEATURES=test relevance diff --git a/profiles/use.desc

Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-20 Thread Mike Gilbert
On Mon, Aug 20, 2018 at 10:34 AM Michał Górny wrote: > > Improve the description of USE=test to clearly indicate what the flag > does instead of claiming it workaround for Portage. > --- > profiles/use.desc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[gentoo-dev] [PATCH] use.desc: Improve description of USE=test

2018-08-20 Thread Michał Górny
Improve the description of USE=test to clearly indicate what the flag does instead of claiming it workaround for Portage. --- profiles/use.desc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/use.desc b/profiles/use.desc index 078226b92250..a2156de5f174 100644 ---