Gentoo Archives: gentoo-dev

From: Vlastimil Babka <caster@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: QA: package.mask policies
Date: Sun, 08 Nov 2009 23:46:58
Message-Id: 4AF75860.30300@gentoo.org
In Reply to: [gentoo-dev] Re: QA: package.mask policies by Duncan <1i5t5.duncan@cox.net>
1 Duncan wrote:
2 > In theory that's what those stupid version string thingys are for, but
3 > it's soooo much easier just to forget one! =:^[
4 >
5 > Maybe something about this should go in the handbook -- a suggestion that
6 > if one is going to use a package.unmask entry, that they copy the
7 > package.mask entry over, thus at least letting the devs minimize the
8 > version spread damage with their package.mask entries. That's what I've
9 > started doing, and it works surprisingly well, as I have right there the
10 > comment on why it was masked (and add a comment on why I'm unmasking,
11 > when I think I might wonder, later), and it's the exact same versions the
12 > devs masked in the first place, so I don't have to worry so much about
13 > unintended version spread -- at least as long as the devs doing the
14 > masking worried about it then. =:^)
15 >
16 > What do you devs think? Would that be a practical hint for the
17 > handbook? Would it be helpful in allowing /you/ to control the version
18 > spread of the unmask, by consequence of your control of the version
19 > spread on the mask in the first place?
20
21 Hi,
22
23 handbook is one thing, but maybe portage could make it more prominent
24 when it displays the packages to be merged, so that the users hopefuly
25 notice?
26 - visibly distinguish (red color and stuff?) packages that are to be
27 installed thanks to package.unmask or ** keyword
28 - print extra warnings about those entries in package.unmask and **
29 keywords that are not version restricted, if they contain the packages
30 to be merged. This could follow the suggestion above - aside from the
31 distinguished packages, below the list and above the yes/no (if --ask is
32 used) there would be "Warning: the following packages have broad
33 unmasks, you sure you want these versions?" and the list.
34
35 Vlastimil