1 |
On Saturday 05 November 2005 10:39, Brian wrote: |
2 |
> On Sat, 2005-05-11 at 01:55 +0900, Jason Stubbs wrote: |
3 |
> > On Friday 04 November 2005 22:33, Marius Mauch wrote: |
4 |
> > > Ciaran McCreesh wrote: |
5 |
> > > > On Thu, 03 Nov 2005 23:14:20 -0800 Brian <dol-sen@×××××.net> wrote: |
6 |
> > > > | emerge -pv <package> |
7 |
> > > > | |
8 |
> > > > | would actually continue listing (modified normal)after finding a |
9 |
> > > > | dependency is masked rather than stop on, and report only, the |
10 |
> > > > | first one. The masked packages would need to be marked as such |
11 |
> > > > | [hard masked, keyword masked], possibly shown grouped in blocks |
12 |
> > > > | [KEYWORD, HARD MASKED, STABLE]. |
13 |
> > > > |
14 |
> > > > Problem is, once you hit one bad dependency, you can't carry on and |
15 |
> > > > guarantee what the rest of the dep tree is going to be. Example: |
16 |
> > > > |
17 |
> > > > emerge -pv foo |
18 |
> > > > |
19 |
> > > > foo DEPENDs upon bar and baz |
20 |
> > > > bar DEPENDS upon fnord, and is MASKED |
21 |
> > > > baz DEPENDs upon || ( gerbil fnord ) |
22 |
> > > |
23 |
> > > Well, that and other semantic issues (what to do with multiple |
24 |
> > > candidates for example?). |
25 |
> > |
26 |
> > Multiple candidates is the most worrying for me as well. a-1.1 is masked |
27 |
> > and requires >=b-1.0. b has 1.0 and 1.1 both of which are masked. b-1.0 |
28 |
> > requires c-1.0 while b-1.1 requires c-1.1. c-1.1 masked but c-1.0 isn't. |
29 |
> > Should the above "keep going" just grab the highest *masked* version at |
30 |
> > each stage? |
31 |
> |
32 |
> Isn't that what users end up with after adding each package to |
33 |
> package.keywords then emerge-pv <package> again, and again... |
34 |
> unless they do detailed research for each failed dep. I know I never |
35 |
> looked that close at the packages each time it happened as long as it |
36 |
> wasn't hard masked. |
37 |
|
38 |
So whatever atom it was that has all packages masked should be unmasked? That |
39 |
seems like it would work. The next problem is the four/five types of masking |
40 |
currently in use; ~arch, -arch, arch not specified, package.mask and |
41 |
profile's packages. |
42 |
|
43 |
> > Either way, while there are bugs such as error messages being truncated, |
44 |
> > requests such as "allow me to break my system easier" are truly far from |
45 |
> > my mind. Of course, supplied patches will always be reviewed. |
46 |
> |
47 |
> Well, I don't know that I could supply patches to portage. I have enough |
48 |
> to keep track of in porthole let alone learn the intricacies of package |
49 |
> management. It sounds like this is something easier done in porthole |
50 |
> where we can display all relevant packages in a dialog with checkboxes |
51 |
> for package selection and possibly an adjustable search depth. That way |
52 |
> package research could be done in porthole's main window to help decide |
53 |
> whether they wish to proceed and or which version to select. |
54 |
|
55 |
Actually, it would take a fair bit of work on the portage side. At the moment, |
56 |
there's no existing function to figure out how a package is masked, nor is |
57 |
there an easy way change the configuration after it is read in from the |
58 |
config files. Unless you plan to parsing the text returns from |
59 |
getmaskingstatus() and manually inserting data into this and that config, |
60 |
you'll need to patch portage anyway... |
61 |
|
62 |
-- |
63 |
Jason Stubbs |
64 |
-- |
65 |
gentoo-portage-dev@g.o mailing list |