1 |
On Thu, Aug 18, 2005 at 11:37:05AM -0400, Chris Gianelloni wrote: |
2 |
> Other distributions are also binary-only, so there's no real comparison |
3 |
> here. While I think having "client" and "server" type USE-flags is |
4 |
> really a bad idea, I don't see a problem with providing a library. |
5 |
> |
6 |
> I 100% disagree with splitting the package into client and server, but |
7 |
> don't think it would be bad to have it like this: |
8 |
> |
9 |
> net-libs/libmysqlclient |
10 |
> dev-db/mysql |
11 |
> |
12 |
> You'll notice that there is no server package. The dev-db mysql package |
13 |
> should be the entire distribution. Splitting out a separate library for |
14 |
> client-only shouldn't be too bad, but I still disagree with it, for the |
15 |
> most part. |
16 |
Splitting it out is just as bad as breaking it into server/client |
17 |
chunks from the added QA and maintenance standpoint, thing is, in this |
18 |
case splitting out the lib *is* breaking it up into subpackages, so |
19 |
it's no better :) |
20 |
|
21 |
Best solution in my opinon? Two use flags address this, client, and |
22 |
server. Regardless of the setting of the two, you get the library; |
23 |
from there, you just set client and server as defaulting to on, and |
24 |
packages use dep on whatever chunk of it they need (quite likely no |
25 |
use dep in this case, since they probably only need the lib). |
26 |
|
27 |
Better tweak to it is not the usual use.defaults addition, but |
28 |
specifying the default state of the USE flag in IUSE, as proposed by |
29 |
spanky/others. |
30 |
|
31 |
Kind of curious about people's opinion on the IUSE default use flag |
32 |
thing, initial syntax was (using the above example) |
33 |
IUSE="+client server" |
34 |
with client defaulting to on unless the user's config disables it- |
35 |
note, strictly enabling from IUSE, no auto-negation. |
36 |
I forgot to add this, but it's a 10 line change if people still view |
37 |
it as worthwhile. |
38 |
~harring |