20.08.2015 20:42, Michał Górny пишет:
> 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?
> 

<qa team lead hat>
While i am all for unification, i do not think that this is the case,
where QA should be involved. "Dedicated server" is established phrase,
that all users, who wants to maintain such services, know. So, i do not
think that our direct interaction is needed here. If we want to change
something in this direction - it should be done in tight connection with
Games team
</qa team lead hat>

Ok, now my personal opinion follows. USE flag description for
'dedicated' is contrintuitive for me.

 - - dedicated : Add support for dedicated game servers (some packages
do not provide clients and servers at the same time)

It seems that it build ONLY servers for some packages and for others -
it allows you to have dedicated server IN ADDITION to regular client.
That's confusing.

Now, THAT should be fixed either way - by moving 'dedicated' to
'server'(for those packages), or, preferabbly - by allowing
USE='dedicated' to work as hasufell said - build ONLY dedicated server
and no client at all.

-- 
Best regards, Sergey Popov
Gentoo developer
Gentoo Desktop Effects project lead
Gentoo Quality Assurance project lead
Gentoo Proxy maintainers project lead

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to