Gentoo Archives: gentoo-dev

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: QA: package.mask policies
Date: Sun, 08 Nov 2009 01:26:27
Message-Id: 8cd1ed20911071726k7d2817fcn66b2db3851b7d37d@mail.gmail.com
In Reply to: Re: [gentoo-dev] Re: QA: package.mask policies by Nirbheek Chauhan
1 On Sun, Nov 8, 2009 at 1:08 PM, Nirbheek Chauhan <nirbheek@g.o>wrote:
2
3 > On Sun, Nov 8, 2009 at 12:33 AM, Duncan <1i5t5.duncan@×××.net> wrote:
4 > > 2) That won't necessarily stop the bugs from rolling in. Some devs may
5 > > get tired of live pkg bugs and package.mask it, thus putting up a double-
6 > > barrier to the live ebuild. If users jump BOTH barriers and fall over
7 > > the ledge, well... maybe they /need/ that Darwin Award! =:^]
8 > >
9 >
10 > We had something interesting happen with policykit. It was masked for
11 > a very long time, and so all users of policykit had
12 > "sys-auth/policykit" in p.unmask. Then it was unmasked, but of course
13 > who bothers cleaning up their local configuration as long as it works?
14 >
15 > Months later, policykit-0.92 was added (masked) which was ABI, API,
16 > UI, everything incompatible. Naturally portage on said users' boxes
17 > was very happy to see such an update on the system and it very
18 > promptly upgraded policykit.
19 >
20 > And of course it completely hosed everything on top of X.
21 >
22 > We received bug reports for this a *long* time after adding it. After
23 > getting sick of duping, and since the new ebuild was broken in a few
24 > ways too (and we had decided to rename policykit-0.92 it to
25 > sys-auth/polkit), we finally decided to remove it.
26 >
27 > Lesson to be learnt: users are morons with short attention spans[1].
28 > But we cannot ignore that fact.
29 >
30 >
31 >
32 In such cases users should be using version specific/version ranges for
33 p.keywords/p.unmask.
34
35 I don't recall seeing much literature on this practice though with regards
36 to standard recommendations of users and how they should use their own
37 p.keywords and p.unmask.
38
39 Maybe a good standard practice would be to *not* use ranged p.masks and have
40 explicit =version p.masks, so that users who use the commonly available
41 scripts that just copy from p.mask to p.unmask don't get silently bitten as
42 a consequence.
43
44 --
45 Kent
46
47 perl -e "print substr( \"edrgmaM SPA NOcomil.ic\\@tfrken\", \$_ * 3, 3 )
48 for ( 9,8,0,7,1,6,5,4,3,2 );"
49
50 http://kent-fredric.fox.geek.nz