public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Martin Vaeth <vaeth@mathematik.uni-wuerzburg.de>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Re: Please consider removing use.stable.mask and package.use.stable.mask
Date: Wed, 13 Nov 2013 16:05:02 +0000 (UTC)	[thread overview]
Message-ID: <slrnl878pp.iuu.vaeth@lounge.imp.fu-berlin.de> (raw)
In-Reply-To: CAATnKFAmU3pBNQ=k1ygOOxiQ+Oot2_xOTE37qNdE0fXa8cX_nw@mail.gmail.com

Kent Fredric <kentfredric@gmail.com> wrote:
>
> Maybe IUSE can be extended in a future EAPI to have ~

I like this "~foo" idea very much from the user's point of view:
You see clearly why useflags are disabled, and one could have a
"simple" mechanism to override it.

However, extending IUSE is not the correct way, because
you would need a matrix in every ebuild which cannot be
reasonably maintained: Every useflag can be masked or stable on
each architecture differently. So, supporting the currently
existing {package,}.use.mask in the profiles might make sense,
just the effect needs to be modified somewhat.

1. A tiny change in the display: ~foo instead of (-foo)
2. A more severe change in the way how to unmask it:

(a) ACCEPT_KEYWORD=~ARCH can unmask it (as currenttly).

(b) /etc/portage/package.accept_keywords does *not* unmask it
    (contrary to now); this would avoid the dependency hell.
    Instead:

(c1) The entry ~foo in /etc/portage/package.use unkeywords foo.
     Alternatively (or in addition):

(c2) The entry foo in /etc/portage/package.use.accept_keywords
     unmasks it; this could be even extended with architectures
     and '**' as the current accept_keywords.

(d) Of course, changing the profile (like overriding it in
    /etc/portage/profile) can unmask it, too (as currently),
    but this should not be encouraged.

If I see it correctly, this would not even require an EAPI bump,
since /etc/portage/package.* files are not subject to pms.

I hope that (b) is not hard to implement in portage, since
it means that portage has to keep track about the cause of
an unkeywording.



  reply	other threads:[~2013-11-13 16:05 UTC|newest]

Thread overview: 111+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-13 10:28 [gentoo-dev] Please consider removing use.stable.mask and package.use.stable.mask Martin Vaeth
2013-11-13 11:39 ` Tom Wijsman
2013-11-13 13:25   ` Thomas Kahle
2013-11-13 13:37     ` Rich Freeman
2013-11-13 14:00       ` Tom Wijsman
2013-11-13 14:30       ` [gentoo-dev] " Duncan
2013-11-13 14:55         ` Thomas Kahle
2013-11-13 15:16           ` Ian Stakenvicius
2013-11-13 18:56             ` Daniel Campbell
2013-11-13 20:21               ` James Potts
2013-11-13 21:22                 ` Kent Fredric
2013-11-17 10:20                   ` Sergey Popov
2013-11-13 13:56     ` [gentoo-dev] " Tom Wijsman
2013-11-13 14:38       ` [gentoo-dev] " Martin Vaeth
2013-11-13 14:04   ` Martin Vaeth
2013-11-13 14:10 ` [gentoo-dev] " Michał Górny
2013-11-13 15:02   ` Ian Stakenvicius
2013-11-13 15:58     ` Rich Freeman
2013-11-13 23:49     ` Patrick Lauer
2013-11-14  5:13       ` Michał Górny
2013-11-14 12:03         ` Patrick Lauer
2013-11-14 12:13           ` Rich Freeman
2013-11-14 12:30             ` Patrick Lauer
2013-11-14 12:45               ` Rich Freeman
2013-11-14 19:07             ` Thomas Sachau
2013-11-14 19:35               ` Ciaran McCreesh
2013-11-14 23:40                 ` Patrick Lauer
2013-11-14 17:51           ` Michał Górny
2013-11-14 23:38             ` Patrick Lauer
2013-11-14 12:21         ` Ben de Groot
2013-11-14 12:32           ` Rich Freeman
2013-11-14 12:57             ` Ben de Groot
2013-11-14 15:12               ` Rich Freeman
2013-11-14 16:38                 ` Ben de Groot
2013-11-14 17:32                   ` Rich Freeman
2013-11-15  6:53                     ` Ben de Groot
2013-11-15  7:13                       ` Ulrich Mueller
2013-11-15 11:08                         ` [gentoo-dev] " Duncan
2013-11-15 14:30                           ` Ian Stakenvicius
2013-11-15 15:30                             ` Duncan
2013-11-15 12:14                         ` [gentoo-dev] " Patrick Lauer
2013-11-15 14:27                         ` Ian Stakenvicius
2013-11-15 13:33                       ` Rich Freeman
2013-11-15 22:39                       ` Michał Górny
2013-11-15 23:06                         ` Tom Wijsman
2013-11-16  8:22                         ` Pacho Ramos
2013-11-16 10:57                           ` Thomas Sachau
2013-11-17 16:09                             ` hasufell
2013-11-17 16:35                               ` Tom Wijsman
2013-11-17 16:52                             ` Ciaran McCreesh
2013-11-16 12:39                           ` [gentoo-dev] " Martin Vaeth
2013-11-16 12:46                             ` Michał Górny
2013-11-16 20:24                             ` Kent Fredric
2013-11-16 21:52                               ` Michał Górny
2013-11-17  0:53                                 ` Kent Fredric
2013-11-16 22:52                             ` Duncan
2013-11-13 15:23   ` Martin Vaeth
2013-11-13 15:41     ` Mike Gilbert
2013-11-14  0:11       ` Tom Wijsman
2013-11-13 15:42     ` Kent Fredric
2013-11-13 16:05       ` Martin Vaeth [this message]
2013-11-13 17:05         ` "Paweł Hajdan, Jr."
2013-11-13 15:44     ` Michał Górny
2013-11-13 16:52       ` Martin Vaeth
2013-11-13 17:03       ` Peter Stuge
2013-11-13 17:49         ` Rich Freeman
2013-11-13 18:24           ` Peter Stuge
2013-11-13 18:50             ` Rich Freeman
2013-11-15  4:56 ` [gentoo-dev] " Matt Turner
2013-11-15  5:23   ` Kent Fredric
2013-11-15 15:54   ` Peter Stuge
2013-11-15 16:05     ` Ian Stakenvicius
2013-11-15 20:18       ` [gentoo-dev] " Martin Vaeth
2013-11-15 20:22         ` Peter Stuge
2013-11-16 12:46         ` Andreas K. Huettel
2013-11-17 17:04           ` Martin Vaeth
2013-11-17 17:15             ` Michał Górny
2013-11-17 18:46               ` Martin Vaeth
2013-11-17 19:32                 ` hasufell
2013-11-17 20:16                   ` Tom Wijsman
2013-11-17 17:24             ` Tom Wijsman
2013-11-17 19:10               ` Martin Vaeth
2013-11-17 19:57                 ` Tom Wijsman
2013-11-17 18:56             ` Ian Stakenvicius
2013-11-17 19:18               ` Martin Vaeth
2013-11-17 19:27                 ` Michał Górny
2013-11-17 19:51                   ` Martin Vaeth
2013-11-17 21:41                     ` Andreas K. Huettel
2013-11-16 12:50         ` Andreas K. Huettel
2013-11-16 12:58           ` Michał Górny
2013-11-17 18:13             ` Andreas K. Huettel
2013-11-17 18:18               ` Michał Górny
2013-11-15 19:24   ` [gentoo-dev] " Tom Wijsman
2013-11-15 19:24   ` Tom Wijsman
2013-11-15 19:31     ` Ian Stakenvicius
2013-11-15 19:36     ` Matt Turner
2013-11-15 20:00   ` Tom Wijsman
2013-11-15 20:10     ` Peter Stuge
2013-11-15 20:24       ` Tom Wijsman
2013-11-15 20:25     ` Matt Turner
2013-11-15 20:53       ` Tom Wijsman
2013-11-15 21:09         ` Peter Stuge
2013-11-15 21:27           ` Tom Wijsman
2013-11-15 21:21         ` Matt Turner
2013-11-15 21:38           ` Tom Wijsman
2013-11-15 21:45             ` Matt Turner
2013-11-15 22:08               ` Tom Wijsman
2013-11-15 21:57             ` Peter Stuge
2013-11-15 22:13               ` Tom Wijsman
2013-11-15 22:26                 ` Peter Stuge
2013-11-15 22:58                   ` Tom Wijsman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrnl878pp.iuu.vaeth@lounge.imp.fu-berlin.de \
    --to=vaeth@mathematik.uni-wuerzburg.de \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox