[Aptitude-devel] Bug#584510: color for packages to downgrade?

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Sat Sep 12 14:05:16 UTC 2015


Control: tags -1 + pending


Hi Harald,

2010-06-04 08:27 Harald Dunkel:
>Package: aptitude
>Version: 0.6.2.1-2
>Severity: wishlist
>
>AFAICS new packages to install are shown in green, upgrades in blue,
>removed packages in magenta, conflicts in red, etc. My sources.list
>contains
>
>deb http://http.us.debian.org/debian sid main contrib
>deb http://http.us.debian.org/debian testing main contrib
>
>If I downgrade a package from sid to testing, then this change is shown
>in the default black on white. It would be very nice if we could get
>a special color for this, too.

I implemented this change, since for me it was also a bit confusing/odd
and it looked as if nothing would be done with the package, unless one
looked closer and noticed the versions.  Different versions which, often
enough and naturally, are remarkably similar, like 14.2.1-1 and
14.2.2-1.

It will be present in the next release, thus marking as +pending.

There are not many colours "left" in the limited choice, only
Yellow/Brown (same as downloads) and Blue.  Since Blue is used in the
menus and so on, I thought that Yellow/Brown would be better.

Downgrades and Downloads are never on the same screen, so I don't think
that there is any risk of confusing them.  But failing that, if we don't
want to reuse the colour for downloads and downgrades, I think that we
could use also the colour of "upgrade" (overloading the meaning as:
"upgrade/downgrade", or in other words "installed now and it will
continue to be installed, but version changes").


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list