"Banf, Oliver 3843 EXT EPE-8" <[EMAIL PROTECTED]> writes:

> " Pixel <mailto:[EMAIL PROTECTED]> writes:
> 
> > > I've already done that, but still have no clue about the numbers
> > > behind the packages and categories.
> > 
> > I've added this:
> > 
> > #- lower bound on the left ( aka 90 means [90-100[ )
> > my %compssList = (
> >   90 => __("must have"), #- every install have these packages 
> > (unless hand de-selected in expert, or not enough room)
> >   80 => __("important"), #- every custom install have these packages
> (unless not enough space)
> >                          #- has minimum X install (XFree86 + >
> icewm)(normal)
> >   70 => __("very nice"), #- KDE(normal)
> >   60 => __("nice"),      #- gnome(normal)
> >   50 => __("interesting"),
> >   40 => __("interesting"),
> >   30 => __("maybe"),
> >   20 => __("maybe"),
> >   10 => __("useless"),
> >    0 => __("garbage"),
> > );
> > 
> > it will be used in the individual package selection to 
> > display the Rating for each package
> 
> O.K. I'll try this. But what about the negative numbers?
> I saw something like -30 in the file.

ok, i add more :)


#- lower bound on the left ( aka 90 means [90-100[ )
my %compssList = (
  90 => __("must have"), #- every install have these packages (unless hand de-selected 
in expert, or not enough room)
  80 => __("important"), #- every beginner/custom install have these packages (unless 
not enough space)
                         #- has minimum X install (XFree86 + icewm)(normal)
  70 => __("very nice"), #- KDE(normal)
  60 => __("nice"),      #- gnome(normal)
  50 => __("interesting"),
  40 => __("interesting"),
  30 => __("maybe"),
  20 => __("maybe"),
  10 => __("useless"),
   0 => __("garbage"),
#- if the package requires locales-LANG and LANG is chosen, rating += 90
 -10 => __("i18n (important)"), #- every install in the corresponding lang have these 
packages
 -20 => __("i18n (very nice)"), #- every beginner/custom install in the corresponding 
lang have theses packages
 -30 => __("i18n (nice)"),
);
#- HACK: rating += 10 if the group is selected and it is not a kde package (aka name 
!~ /^k/)


tell me if i'm still missing something!

Reply via email to