FS#40857 - [pacman] Request for colours in pacman output about Optional dependences

Attached to Project: Pacman
Opened by Antek Aduszkiewicz (senjin) - Monday, 16 June 2014, 10:39 GMT
Last edited by Allan McRae (Allan) - Sunday, 29 June 2014, 10:15 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
When there is 'Color' option set in pacman.conf, could pacman use colours when printing information about optional dependences when installing packages, and querying for installed packages. Namely use bold-cyan for the "[installed]" text, as in 'pacman -Ss'. Perhaps also the not installed optional dependences could be marked with, say, yellow?

Below I include example output and I mark lines I'm thinking about:

$ sudo pacman -S xfig
resolving dependencies...
looking for inter-conflicts...

Packages (1): xfig-3.2.5c-2

Total Installed Size: 15.21 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [----------------------] 100%
(1/1) checking package integrity [----------------------] 100%
(1/1) loading package files [----------------------] 100%
(1/1) checking for file conflicts [----------------------] 100%
(1/1) checking available disk space [----------------------] 100%
(1/1) installing xfig [----------------------] 100%
Optional dependencies for xfig
transfig: to use the frontend to convert fig files [installed] ← colour "[installed]"

$ pacman -Qi xfig
Name : xfig
Version : 3.2.5c-2
Description : An interactive drawing tool
Architecture : x86_64
URL : http://www.xfig.org/userman/
Licences : custom
Groups : None
Provides : None
Depends On : libpng libjpeg libxaw libxi desktop-file-utils gsfonts
Optional Deps : transfig: to use the frontend to convert fig files [installed] ← colour "[installed]"
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 15577.00 KiB
Packager : Eric Belanger <eric@archlinux.org>
Build Date : Fri 24 Jan 2014 04:38:57 CET
Install Date : Mon 16 Jun 2014 12:34:35 CEST
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature


Additional info:
* package version(s)
pacman 4.1.2-6
* config and/or log files etc.

This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 29 June 2014, 10:15 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#40857 

Loading...