From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 90FAA1396D0 for ; Mon, 14 Aug 2017 01:34:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 923C21FC058; Mon, 14 Aug 2017 01:34:22 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2FEA81FC003 for ; Mon, 14 Aug 2017 01:34:22 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dh4Gi-0005dI-Oo for gentoo-dev@lists.gentoo.org; Mon, 14 Aug 2017 03:34:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Duncan <1i5t5.duncan@cox.net> Subject: [gentoo-dev] Re: Revisions for USE flag changes Date: Mon, 14 Aug 2017 01:34:04 +0000 (UTC) Message-ID: References: <53c9d820-5852-730a-3728-793855c98a1a@gentoo.org> <6912b3d6-4d66-ef99-223c-5892549b571e@gentoo.org> <4bf31717-7dbe-78ec-30e1-78f12f63174e@gentoo.org> <9a4c73d7-34b7-d84e-b9f6-ff5abcc6ec31@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Pan/0.143 (Quaint little villages here and there; 720a1c5b3) X-Archives-Salt: 2f6aa5de-4e6b-41df-b9a5-170c861b5b80 X-Archives-Hash: 178b57cfedea574da1a10388e2132b72 M. J. Everitt posted on Sun, 13 Aug 2017 11:18:09 +0100 as excerpted: > On 13/08/17 11:11, Michael Orlitzky wrote: >> On 08/12/2017 10:52 PM, Duncan wrote: >>> How so? Are you arguing that deciding to system-wide switch to/from >>> pulseaudio, systemd, or gstreamer is nonsense? >>> >> The meaning of any one USE flag varies widely across packages. I could >> never say "I want to enable USE=gstreamer" for every package in the >> tree, because I have no idea what it does for most of them. Setting >> USE=whatever globally essentially means "make random changes to my >> system" -- hence my wording. >> >> The meaning of a USE flag is per-package, so per-package is the only >> meaningful way to set them. >> > Which is why we have GLOBAL use flags and LOCAL use flags, right?! > > I'm not sure I'm actually reading this discussion right now?! and I'm > *not* a dev ... Even then... given the descriptions of most flags, regardless of global or local, without reading the sources (assuming one /can/ read them) it's generally a WAG what a flag actually does on an individual package. The information simply isn't there, except in the sources, and few people care enough about what a flag does to actually go the work of reading /all/ affected sources. [TL;DR stop here] FWIW, here I set USE="-* ..." in make.conf[1], so I can't /not/ have a global policy. If the flag's in make.conf, global policy says it's on. If it's not, global policy says it's off. There's no longer an "on if someone else defaults it that way, subject to change without pre- notification" state. After a few years chasing down reasons for changes to see if I agreed or not, I simply found it simpler to ensure I was the only one toggling USE flags, in which case I'd know exactly why I did it. And it works surprisingly well, too, particularly when package.use is multiple files, each named after a flag, "0-flag" for negating exceptions to an on global policy, simply "flag" for "posating" exceptions to an off global policy. With dates and comments for each exception and all the exceptions in one place (it's easy to equery uses the settings for a package, not so easy to find all the exceptions to a global policy setting and why, unless the exceptions are all in one place organized by flag name), management is as simple as it's going to get. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman