On Tuesday 21 March 2006 10:47, Joshua Schmidlkofer wrote:
> So, WFM [works for me], hope it's useful to others.
>
> In any case, this is a resend of the script, since I got some
> ambiguous 'blocked message' errors, I put it up on my website, and
> left it for all:
>
> Secure: https://embassy.asylumware.com/projects/asylumware/wiki/bastard
> Plain: http://embassy.asylumware.com/projects/asylumware/wiki/bastard

 # emerge -vp =gnome-2.14*

These are the packages that would be merged, in order:

Calculating dependencies   
!!! All ebuilds that could satisfy "=gnome-2.14*" have been masked.
!!! One of the following masked packages is required to complete your request:
- gnome-base/gnome-2.14.0 (masked by: package.mask, ~x86 keyword)
# John N. Laliberte <[EMAIL PROTECTED]> (12 Mar 2006)
# GNOME 2.14 mask. You must follow instructions here:
# http://d.g.o/~allanonjl/gnome/2.13/adding.from.overlay.txt    
# for adding files from our overlay.
#Most of these packages will break/not compile because of eclass
#changes that won't be made until every package is in the tree.
#Don't unmask these and don't file bugs for them
# Start GNOME 2.14 mask

Did you the read comments here (d.g.o refers to dev.gentoo.org in case anyone 
is wondering)? I most certainly wouldn't go ahead and unmask any package with 
that kind of explanation why it was masked in the first place. What bothers 
me about this, however, is not the fact that you did unmask it but rather the 
fact the you leave a script here which is supposed to be able to unmask and 
unkeyword any package without giving any kind of warnings about this.

IMHO any script that is made public and which does what your script is doing 
should print out the reason why each package it unmasks was originally masked 
and perhaps even ask for confirmation.

Also I think it is a bit amusing that running your script without any 
arguments tells me that I should include the versioned name of any package 
that I want unmasked/unkeyworded. And then giving any kind of argument(s) 
makes it unmask/unkeyword gnome-2.14*. Without checking the argument(s) that 
I gave. I know.. it's just a minor bug. I also think (without knowing it) 
that it will in fact work for most packages when that minor bug is 
corrected. ;)

It does, however, work for gnome-2.14.0 and it does add a LOT of lines to 
package.keyword and package.mask. E.g. media-libs/gst-plugins-base adds five 
lines to package.keyword i.e. version 0.10.0 to 0.10.4 on a line each. I 
don't think the results will ever differ on the first two version numbers so 
I think the optimal solution for this would be to just add version 0.10*. I'm 
not sure that it will never differ though.

Just for the record I am not trying to offend you here. This is supposed to be 
constructive critisism. ;)

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list

Reply via email to