1 |
On Saturday 07 July 2007, Kent Fredric wrote: |
2 |
> On 7/8/07, Mike Frysinger <vapier@g.o> wrote: |
3 |
> > On Saturday 07 July 2007, Kent Fredric wrote: |
4 |
> > > Implementation details wise, I would like to see packages have |
5 |
> > > possibly 2 functions, |
6 |
> > > 1: Info, and 2: Check. |
7 |
> > > Reason Being that you wont be able to fetch installation status info |
8 |
> > > on a package thats not installed, and if a package is failing to |
9 |
> > > install, you're more likely wanting to check the status of the things |
10 |
> > > it depends on, not the package itself. |
11 |
> > |
12 |
> > i dont really understand what you're going for here ... the point was to |
13 |
> > get extended information on things that are installed ... i dont know |
14 |
> > what you'd want/expect for trying to query packages that arent installed |
15 |
> > |
16 |
> > > Check would contain manual tests for a given package, thats either |
17 |
> > > installed or not installed ,as well as names of packages to run info |
18 |
> > > on. |
19 |
> > > |
20 |
> > > Info would be more usefull in diagnosing mis-installed packages or |
21 |
> > > packages that failed to run properly despite being compiled and |
22 |
> > > installed without a hitch ( it happens ) |
23 |
> > |
24 |
> > sounds like you're duplicating the point of src_test() but without any |
25 |
> > real way of quantifying it or making it useful to coordinate things ... |
26 |
> > please expound on what you're going for because i'm just not seeing it |
27 |
> > ... |
28 |
> |
29 |
> 50% of bugs I tend to see are compile failures. |
30 |
> |
31 |
> Compile Failures are often a result of things that the compile was |
32 |
> dependant on. |
33 |
> |
34 |
> Thus, finding info on a given package to understand what its problem |
35 |
> is, you should be info-querying its dependants, not the package |
36 |
> itself, no? |
37 |
> |
38 |
> Information you want sent to bug reports are related to the software |
39 |
> that it depended on, no? ( ie: xine-libs wont compile : emerge --info |
40 |
> xine-libs should report information on ffmpeg, which has changed, |
41 |
> causing the failure ) |
42 |
> |
43 |
> And if xine libs wasnt installed, it would be pointless to report |
44 |
> information about xine-libs installation when its not installed |
45 |
> becasue it cant be ;) |
46 |
> |
47 |
> So instead of asking the user what version of X dependant they have, |
48 |
> emerge --info atom should report that in a standardised way, making |
49 |
> them able to provide more relevant information in the initial report |
50 |
|
51 |
so you're asking for `emerge --info <atom>` to walk the dependency tree and |
52 |
include --info for all things that <atom> depends on ? how is this relevant |
53 |
to the check() function you proposed ? |
54 |
|
55 |
you are trying to install package X which depends on package Y which is |
56 |
broken ... i dont think it's possible/feasible to have ebuilds try and |
57 |
diagnosis itself automatically to figure out *how* exactly package Y is |
58 |
broken ... if it were possible, we'd be able to write self-healing ebuilds |
59 |
-mike |