public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Guidelines for IUSE defaults
@ 2017-02-02 14:11 Michael Orlitzky
  2017-02-02 14:56 ` Ian Stakenvicius
                   ` (4 more replies)
  0 siblings, 5 replies; 85+ messages in thread
From: Michael Orlitzky @ 2017-02-02 14:11 UTC (permalink / raw
  To: gentoo-dev

IUSE defaults are used in a few different ways:

  1 To ensure that critical functionality is enabled.

    * Example: force the "unix" module for apache.

  2 To avoid an unsatisfied REQUIRED_USE by default.

    * Example: having a non-empty RUBY_TARGETS by default.

  3 To make Gentoo defaults the upstream defaults.

    * Example: right now the defaults for dev-lang/php build
      you a "normal" PHP installation.

  4 To make the default build agree with the maintainer's personal
    preferences.

    * Example: enabling hpn in net-misc/openssh by default.


We don't have a policy for how to use them, so we get all four in the
tree. I don't think there are any downsides to #1.

The downside to #2 is that the default choice may be wrong, but the
benefit outweighs that. For a given package, the user either cares about
the USE flags or he doesn't (if it's some deep dependency). Both cases
turn out fine in #2.

A bigger problem arises from #3 and #4: it's no longer simple to get a
minimal system. When various USE flags default on at random, you get
users doing things like USE="-*". We can tell them not to do that,
because of the flags in #1, but in fact very few IUSE defaults are
critical, and most of them are junk. The only way to turn off all the
junk ones without a huge waste of time is USE="-*".

Can we discourage IUSE defaults except for #1 and #2? I'm equally guilty
of #3 and #4, but I now regret them. I would also like to see
explanations in metadata.xml of why +flags are on by default.


^ permalink raw reply	[flat|nested] 85+ messages in thread

end of thread, other threads:[~2017-02-09 21:26 UTC | newest]

Thread overview: 85+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-02 14:11 [gentoo-dev] Guidelines for IUSE defaults Michael Orlitzky
2017-02-02 14:56 ` Ian Stakenvicius
2017-02-02 15:49   ` Michael Orlitzky
2017-02-03  8:16     ` [gentoo-dev] " Duncan
2017-02-02 15:06 ` [gentoo-dev] " Kristian Fiskerstrand
2017-02-02 15:11   ` James Le Cuirot
2017-02-02 15:36   ` Michael Orlitzky
2017-02-02 15:51     ` [gentoo-dev] icedtea requiring X libs to build was -> " William L. Thomson Jr.
2017-02-02 15:53       ` Michael Orlitzky
2017-02-02 16:09         ` James Le Cuirot
2017-02-02 16:13           ` Michael Orlitzky
2017-02-02 16:18             ` William L. Thomson Jr.
2017-02-02 16:27               ` Michael Orlitzky
2017-02-02 17:06                 ` William L. Thomson Jr.
2017-02-02 17:18                   ` Michael Orlitzky
2017-02-02 23:07                     ` William L. Thomson Jr.
2017-02-02 16:16         ` William L. Thomson Jr.
2017-02-02 15:52     ` [gentoo-dev] " Rich Freeman
2017-02-02 15:59       ` Michael Orlitzky
2017-02-02 16:08         ` Rich Freeman
2017-02-02 16:25           ` Michael Orlitzky
2017-02-02 18:01             ` Rich Freeman
2017-02-02 20:35               ` james
2017-02-02 21:05                 ` Rich Freeman
2017-02-02 23:28                   ` james
2017-02-03  0:12                     ` Rich Freeman
2017-02-02 21:40                 ` David Seifert
2017-02-02 23:35                   ` james
2017-02-02 23:41                     ` Ian Stakenvicius
2017-02-03  1:21                       ` Michael Orlitzky
2017-02-03 13:17                         ` Ian Stakenvicius
2017-02-02 23:47                 ` Daniel Campbell
2017-02-03  0:01               ` Gordon Pettey
2017-02-04  0:34                 ` Kent Fredric
2017-02-03  1:40               ` Michael Orlitzky
2017-02-03  2:10                 ` Rich Freeman
2017-02-03  3:14                 ` Patrick McLean
2017-02-03 13:21                   ` Ian Stakenvicius
2017-02-03 13:43                     ` Michael Orlitzky
2017-02-03 15:30                       ` Ian Stakenvicius
2017-02-03 19:37                         ` Michael Orlitzky
2017-02-04  0:59                           ` Ian Stakenvicius
2017-02-04  1:07                             ` Patrick McLean
2017-02-04 14:57                               ` Michael Orlitzky
2017-02-04 17:44                                 ` William L. Thomson Jr.
2017-02-04 18:14                                   ` Kent Fredric
2017-02-04 21:05                                     ` William L. Thomson Jr.
2017-02-04 22:13                                       ` Kent Fredric
2017-02-09  2:46                                       ` Daniel Campbell
2017-02-03 18:33                       ` Patrick McLean
2017-02-03 19:53                         ` Michael Orlitzky
2017-02-03 22:09                           ` William L. Thomson Jr.
2017-02-09 20:18                             ` Daniel Campbell
2017-02-09 20:25                               ` Ben Kohler
2017-02-09 20:41                                 ` Daniel Campbell
2017-02-09 20:59                                   ` Michael Orlitzky
2017-02-09 21:25                                     ` Daniel Campbell
2017-02-03  6:12               ` Walter Dnes
2017-02-03 17:39                 ` james
2017-02-03 19:01                   ` james
2017-02-02 15:52     ` James Le Cuirot
2017-02-02 21:17     ` Dirkjan Ochtman
2017-02-02 15:57   ` james
2017-02-02 17:23 ` Walter Dnes
2017-02-02 17:28   ` Michael Orlitzky
2017-02-03  2:00 ` Sam Jorna
2017-02-03  2:06   ` Michael Orlitzky
2017-02-03  2:22     ` Sam Jorna
2017-02-03  2:26       ` Michael Orlitzky
2017-02-03  2:34         ` Sam Jorna
2017-02-03  2:31     ` Rich Freeman
2017-02-03  2:55       ` Michael Orlitzky
2017-02-03  3:16     ` Patrick McLean
2017-02-03  3:37       ` Michael Orlitzky
2017-02-07  7:52 ` Ulrich Mueller
2017-02-07  8:20   ` Kent Fredric
2017-02-07  9:28     ` Michał Górny
2017-02-07 13:27   ` Michael Orlitzky
2017-02-07 15:14     ` Ian Stakenvicius
2017-02-07 15:47       ` Ulrich Mueller
2017-02-07 17:00       ` Rich Freeman
2017-02-07 21:07         ` Ian Stakenvicius
2017-02-08  1:24         ` Sam Jorna
2017-02-08  2:11           ` Rich Freeman
2017-02-08  2:46             ` Sam Jorna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox