[pacman-dev] [PATCH] Put not explicitly installed packages in grey during update/install/removall

Guillaume Bouchard guillaume.bouchard at liris.cnrs.fr
Sun Feb 2 08:45:51 EST 2014


> That colour cases the dependencies to stand out more on a terminal with
> a white background.  I'd say bold would be better...

;) I agree on that part. I guess the best idea must be to create a
color class for depend and for explicit so that changing it latter may
be easier.

> However, the colour coding really is unclear.  How do people come into
> the knowledge of what it means?  For example, during an update I might
> think that a new package being pulled in as a dependency so it is
> highlighted.   Or is it entirely obvious and I am thinking too hard?

You are right. Perhaps a caption, like:

---------------------------------------------------------------------------
$ sudo pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Packages (21): **(Explict packages appears in bold)**

Name                              Old Version     New Version      Net
Change  Download Size

...

Total Download Size:    154.72 MiB
Total Installed Size:   491.30 MiB
Net Upgrade Size:       -1.28 MiB

:: Proceed with installation? [Y/n]
-----------------------------------------------------------------------------------------

?

(I had never though a *so simple* hack would generate so much discussion ;)

-- 
Guillaume


More information about the pacman-dev mailing list