1 |
Tom Wijsman wrote: |
2 |
> "Steven J. Long" wrote: |
3 |
> > The bit about the user explicitly opting-in to 'fragile' patches still |
4 |
> > is of concern, however. |
5 |
> |
6 |
> Why is this still of concern? |
7 |
.. |
8 |
> My original post mentions "3) The patch should not affect the build by |
9 |
> default.", which I later clarified with "It's just a matter of embedding |
10 |
> each + block in the diff with a config check and updating the counts."; |
11 |
> in detail we QA check whether all blocks contain such a config check. |
12 |
> |
13 |
> It does not change anything other than insert some code which won't be |
14 |
> parsed if you don't enable the relevant option in the menu config. |
15 |
|
16 |
In which case you're either not dealing with patches like aufs, or you're |
17 |
modifying them, when afaic they're still fragile, and the modification |
18 |
shouldn't even be done. Just let the user opt-in to patches that the QA |
19 |
process has picked up, or are known to affect the kernel unconditionally. |
20 |
|
21 |
> > [... SNIP ...]; and can hardly be called "Proper integration", imo. |
22 |
> |
23 |
> Why not? |
24 |
|
25 |
Because of this: |
26 |
> > After all, these are experimental patches. If they don't play nicely, |
27 |
> > don't let them out of the sandbox, unless the user tells us to. |
28 |
> |
29 |
> It's the user that can let each individual patch out of its sandbox. |
30 |
|
31 |
Not when you default them all to on, given one USE flag, they're not. |
32 |
|
33 |
> > Having a clear "policy" on that makes negotiating with patch authors |
34 |
> > much simpler too, and it's far more likely they'll fall into line |
35 |
> > where possible, just as upstreams are usually quite happy to apply |
36 |
> > portability patches: it means they get more users and feedback. |
37 |
> |
38 |
> Not sure what is meant by this; but given my above clarifications, I |
39 |
> think you were missing a detail in the approach that is taken. |
40 |
|
41 |
If you're saying you want to press ahead with modified patches, for things |
42 |
like aufs, then I think you should reconsider. As it sounds like a god-awful |
43 |
hack that will lead to complexity where it's not needed, nor useful, as well |
44 |
as a maintenance burden. |
45 |
|
46 |
Keep it simple, and let the user explicitly opt-in to patchsets like aufs, so |
47 |
the maintenance responsibility is theirs from the beginning, and they feel |
48 |
ownership of the wider implications of that decision[1]. That's all Walter and |
49 |
I are after (afaict in his regard, ofc.) |
50 |
|
51 |
It's also easier to implement, and draws the demarcation that I mentioned above, |
52 |
such that patchset authors have an incentive to "do the right thing" and again, |
53 |
the maintenance burden shifts to where it belongs: not on your shoulders. |
54 |
|
55 |
Regards, |
56 |
steveL, slightly puzzled as to why you *want* to add make-work. |
57 |
|
58 |
[1] No, asserting that "it's all under the experimental flag" is not enough. |
59 |
It's just a cop-out, afaic. |
60 |
-- |
61 |
#friendly-coders -- We're friendly, but we're not /that/ friendly ;-) |