public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] QA bikeshed: killing USE=dedicated in favor of uniform USE=client+server
@ 2015-08-20 17:42 Michał Górny
  2015-08-20 18:03 ` hasufell
                   ` (5 more replies)
  0 siblings, 6 replies; 43+ messages in thread
From: Michał Górny @ 2015-08-20 17:42 UTC (permalink / raw
  To: gentoo-dev; +Cc: qa

[-- Attachment #1: Type: text/plain, Size: 1367 bytes --]

Hi,

Right now, a number of game packages are using USE=dedicated to control
'installing a dedicated game server only'. Aside to that, some game
packages also have USE=server that controls building the server itself.
Non-game package use USE=client and USE=server.

In order to improve uniformity of USE flags across different packages,
the QA team would like to deprecate USE=dedicated and use USE=client
and USE=server as appropriate.

The problems I see with USE=dedicated are:

- it is game-specific. The term 'dedicated server' is not used amongst
  other server/client model packages.

- It uses negative logic. Instead of enabling something, it disables
  client. Pretty much 'dedicated' == 'noclient'. Negative logic is
  confusing.

- In packages having USE=server as well, it can lead to really absurd
  combinations, like what does 'USE=dedicated -server' mean? Will it
  build no executables at all? If we add REQUIRED_USE='dedicated?
  ( server )', this gets quite unfriendly.

As an alternative, we would use USE=client and USE=server along with
proper IUSE defaults to control client & server builds appropriately.
Both flags use positive logic, and REQUIRED_USE='|| ( client server )'
is rather clear.

Does anyone see any real problems with that?

-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]

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

end of thread, other threads:[~2015-08-22 23:48 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-20 17:42 [gentoo-dev] QA bikeshed: killing USE=dedicated in favor of uniform USE=client+server Michał Górny
2015-08-20 18:03 ` hasufell
2015-08-20 19:32   ` James Le Cuirot
2015-08-20 20:17     ` hasufell
2015-08-20 19:56   ` Rich Freeman
2015-08-21  6:39     ` [gentoo-dev] " Duncan
2015-08-21 14:29   ` [gentoo-dev] " Ciaran McCreesh
2015-08-20 20:31 ` Alexander Berntsen
2015-08-20 21:19   ` [gentoo-dev] " Martin Vaeth
2015-08-20 21:33     ` hasufell
2015-08-20 22:06 ` [gentoo-dev] " Jason A. Donenfeld
2015-08-20 22:18   ` hasufell
2015-08-21  1:03     ` Rich Freeman
2015-08-21  3:11       ` Kent Fredric
2015-08-21  6:50     ` [gentoo-dev] games.eclass (was: Re: QA bikeshed: killing USE=dedicated in favor of uniform USE=client+server) Ulrich Mueller
2015-08-21 15:10       ` [gentoo-dev] games.eclass hasufell
2015-08-21 17:39         ` Rich Freeman
2015-08-21 18:17           ` hasufell
2015-08-21 18:44             ` Rich Freeman
2015-08-21 19:42           ` Daniel Campbell (zlg)
2015-08-21 21:09             ` James Le Cuirot
2015-08-22  7:33               ` Daniel Campbell (zlg)
2015-08-22  9:56                 ` Rich Freeman
2015-08-22 11:10                 ` hasufell
2015-08-22 14:32                   ` James Le Cuirot
2015-08-22 15:25                   ` Rich Freeman
2015-08-22 20:47                     ` hasufell
2015-08-22 23:48                       ` Rich Freeman
2015-08-22 18:01                   ` Daniel Campbell (zlg)
2015-08-22 21:16                     ` hasufell
2015-08-21  1:36 ` [gentoo-dev] QA bikeshed: killing USE=dedicated in favor of uniform USE=client+server Alexandre Rostovtsev
2015-08-21  7:16 ` Sergey Popov
2015-08-21  8:11   ` Kent Fredric
2015-08-21 10:58   ` Rich Freeman
2015-08-21 11:28     ` Alexander Berntsen
2015-08-21 12:04       ` Rich Freeman
2015-08-21 15:27         ` hasufell
2015-08-21 17:17           ` Rich Freeman
2015-08-21 18:29           ` [gentoo-dev] " Duncan
2015-08-21  8:31 ` [gentoo-dev] " Daniel Campbell (zlg)
2015-08-21 10:31   ` Rich Freeman
2015-08-21 11:01     ` Rich Freeman
2015-08-21 19:31     ` Daniel Campbell (zlg)

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