1 |
-----BEGIN PGP SIGNED MESSAGE-----
|
2 |
Hash: SHA1
|
3 |
|
4 |
On Tue, 25 Sep 2012 12:19:21 -0400
|
5 |
Ian Stakenvicius <axs@g.o> wrote:
|
6 |
> > a) How do we provide a good user interface for it? It took an awful |
7 |
> > lot of experimenting to get the exheres-0 suggestions user |
8 |
> > interface to be good, and it requires quite a bit more information |
9 |
> > from the package side than this proposal is providing. We want to |
10 |
> > avoid a REQUIRED_USE here... |
11 |
> |
12 |
> Standard USE flag interface. This doesn't need anything special. Why |
13 |
> will a user care if the flag doesn't trigger a package rebuild? |
14 |
|
15 |
One of the big selling points of suggestions is displaying them to the
|
16 |
user in a useful way (i.e. not via a bunch of einfo messages). If
|
17 |
you're not planning to allow for that, then you're losing a primary
|
18 |
benefit.
|
19 |
|
20 |
> > b) How is consistency checking to be done? Related, what happens |
21 |
> > when a runtime switch introduces a dependency that then requires a |
22 |
> > non-runtime rebuild of the original package? |
23 |
> |
24 |
> flag needs to be dropped from IUSE_RUNTIME, so the rebuild would |
25 |
> occur. |
26 |
|
27 |
Uh, you're requiring ebuilds to ensure consistency of every
|
28 |
possible configuration of the entire tree?
|
29 |
|
30 |
> > c) How do we deal with flag? ( cat/dep[foo] ) or flag? ( |
31 |
> > >=cat/dep-2.1 ) cases where cat/dep[-foo] or =cat/dep-2.0 is |
32 |
> > installed and flag is off? From experience, quite a few places |
33 |
> > where you'd want to use suggestions will break if their suggested |
34 |
> > package is installed but doesn't meet version or use requirements. |
35 |
> |
36 |
> Use flag deps are dealt with identically to the way they are now. the |
37 |
> only difference , again, is that the package doesn't get re-emerged. |
38 |
> The VDB would still update imo as if the package did get re-emerged |
39 |
> (ie: USE and RDEPEND would update), to handle the use flag change |
40 |
> info in metadata but from what I can tell nothing else would need to |
41 |
> be touched. |
42 |
|
43 |
So such packages would just break at runtime?
|
44 |
|
45 |
> > However, addressing these probably isn't enough, since this is |
46 |
> > just the things we had to think about for SDEPEND-style |
47 |
> > suggestions... There are likely to be things I've not thought of |
48 |
> > specific to this method that won't crop up until someone tries to |
49 |
> > deliver a decent implementation. This isn't a trivial feature. |
50 |
> |
51 |
> ..it really is. It piggy backs entirely on the current USE |
52 |
> implementation, and only skips triggering rebuilds because the |
53 |
> files-on-disk for a package don't need to change. |
54 |
|
55 |
It's only trivial if you don't try to do anything with it...
|
56 |
|
57 |
- --
|
58 |
Ciaran McCreesh
|
59 |
-----BEGIN PGP SIGNATURE-----
|
60 |
Version: GnuPG v2.0.19 (GNU/Linux)
|
61 |
|
62 |
iEYEARECAAYFAlBh2xgACgkQ96zL6DUtXhGyFwCfYnK+RGbE+bR1Y53t/X3P7UKb
|
63 |
OW4An3fjTeXsXaksDTSAwf/yENunCGpC
|
64 |
=bWvu
|
65 |
-----END PGP SIGNATURE----- |