1 |
On Sunday 26 February 2006 11:06, Bo Andresen <bo.andresen@×××××.com> wrote |
2 |
about 'Re: [gentoo-user] What happens with masked packages?': |
3 |
> On Sunday 26 February 2006 06:16, Boyd Stephen Smith Jr. wrote: |
4 |
> > Again, hard to do automatically. Wheras, if I could just set |
5 |
> > ACCEPT_UPSTREAM="BETA" I'd get all the betas. Or I could use |
6 |
> > package.upstream and but in "kde-extra/kaffeine ALPHA" and get |
7 |
> > anything assigned more than a snapshot number for that package. |
8 |
> > (Instead of manually checking after each sync to see if there's a new, |
9 |
> > masked version.) |
10 |
> |
11 |
> How exactly is is you want this to work. |
12 |
|
13 |
My proposal at this point, would be for an additional restriction on |
14 |
packages based on a new UPSTREAM variable in the ebuild itself, |
15 |
ACCEPT_UPSTREAM variable in make.conf / the environment, and the |
16 |
package.upstream file in /etc/portage. |
17 |
|
18 |
These would be directly analogous to KEYWORDS, ACCEPT_KEYWORDS, and |
19 |
package.keywords, as would its interaction with package.mask. |
20 |
|
21 |
> I mean for example |
22 |
> gaim-2.0.0_beta2-r1 is a beta and it's very unstable (well, it crashed |
23 |
> occasionally for me). In order to get it you need to put it in |
24 |
> package.unmask and package.keywords. |
25 |
|
26 |
For any specific package, I'd have to know why it's in package.mask and why |
27 |
it's ~ARCH instead of ARCH. |
28 |
|
29 |
If something like my proposal were actually implemented, there would be |
30 |
some transitional period that you might see a _beta ebuild in package.mask |
31 |
or marked as ~ARCH simply because it's beta, but that would go away with |
32 |
new ebuilds (well, not entirely...) |
33 |
|
34 |
Hazarding a guess for this package, I'd say it would be removed from |
35 |
package.mask but the ebuild would retain the ~ARCH instead of ARCH |
36 |
(likely, the ebuild is also unstable, but I don't know.) |
37 |
|
38 |
> Do you want to have to put it |
39 |
> package.upstream too? |
40 |
|
41 |
Yes, you'd have to add 'net-im/gaim BETA' to package.upstream if you wanted |
42 |
all gaim betas. Many users would probably be better served with |
43 |
'=net-im/gaim-2* BETA'. |
44 |
|
45 |
You could remove it from your package.unmask because it wouldn't have to be |
46 |
masked by package.unmask (the default ACCEPT_UPSTREAM would not include |
47 |
BETA). |
48 |
|
49 |
> Or don't you want it to be masked even though it's |
50 |
> very unstable? |
51 |
|
52 |
I would like package.mask reserved for migration issues, package suite |
53 |
issues, and ebuilds and packages that destructively interfere with other |
54 |
packages. |
55 |
|
56 |
I'm guessing that the gaim beta doesn't have any of these issues, so it |
57 |
would not be in package.mask but would be labeled UPSTREAM="BETA". |
58 |
|
59 |
> Should package.upstream override package.mask? |
60 |
|
61 |
No, it would only change your ACCEPT_UPSTREAM for certain packages, similar |
62 |
to the way package.keywords changes your ACCEPT_KEYWORDS. |
63 |
|
64 |
At this point, I'd really like to take this theoretical discussion off the |
65 |
the general user list; I doubt many users will be interested. I haven't |
66 |
done any coding work on this proposal or even began writing a GLEP, so |
67 |
this is all theory without any action at this point. |
68 |
|
69 |
I'm absolutely willing and eager to discuss things further via private |
70 |
email. My email address is in the from header, unmunged. I just don't |
71 |
want to waste the bandwidth of users that aren't interested in my |
72 |
vapor-proposal. |
73 |
|
74 |
-- |
75 |
"If there's one thing we've established over the years, |
76 |
it's that the vast majority of our users don't have the slightest |
77 |
clue what's best for them in terms of package stability." |
78 |
-- Gentoo Developer Ciaran McCreesh |
79 |
-- |
80 |
gentoo-user@g.o mailing list |