[pacman-dev] Please make the colourised output exactly like that of "pacman-color"

Allan McRae allan at archlinux.org
Thu Mar 24 02:06:44 UTC 2016


On 24/03/16 09:31, Xavion wrote:
> Dear All,
> 
> I'm very sorry that it has taken me so long to come back to this thread.  I
> got bogged down with other things, and there was also the procrastination
> factor at play.
> 
> I have remerged my colourisation patch into the latest (Git) 'pacman'
> codebase.  I will attempt to post it to this thread via "git format-patch"
> soon.  I'm new to that command, so let's hope nothing goes wrong.
> 
> Refer to these screenshots <http://imgur.com/a/DL4ky> for a visual on how
> certain pacman operations will look if my patch is accepted.  If so, and
> when time permits, I can look into the prospect of colourising further
> pacman functionality.

It is difficult to judge the screenshots without side-by-side current vs
patched.  But from what I can see, most of the colour used is for the
sake of having colour.

Colour should be used to highlight the important information.  How do
you decide the URL is more important than the dependencies for -Si? Why
is the number of packages being installed highlighted yellow when that
is only used for warnings?

I'd like to see individual changes proposed, with justification of how
they improve the readability of the pacman output.

A


More information about the pacman-dev mailing list