FS#35559 - Turning off colors for pacman-optimize via config

Attached to Project: Arch Linux
Opened by aksr (aksr) - Thursday, 30 May 2013, 17:02 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 30 May 2013, 17:13 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Since pacman, makepkg etc. have this option `settable'.
Meaning, to have this option configurable via some config.
This effects me because I turned off the colors for pacman and makepkg and pacman-optimize has them on, by default.
I'm aware about its *--nocolor* switch and I'm aware that pacman-optimize is just a quick, hacked script.
It would be nice that pacman-optimize is complement with them.


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


Steps to reproduce:
This task depends upon

Closed by  Dave Reisner (falconindy)
Thursday, 30 May 2013, 17:13 GMT
Reason for closing:  Won't implement
Comment by aksr (aksr) - Thursday, 30 May 2013, 17:08 GMT
Only thing is, I'm not sure is it worth the effort.. :/
Comment by Dave Reisner (falconindy) - Thursday, 30 May 2013, 17:12 GMT
It'd be nice if people would stop using this script. The most valuable thing it does is fault pages to cache the DBs in RAM. You could replace the script with the below and get *very* similar mileage:

find /var/lib/pacman -type f -exec stat {} + &>/dev/null

Really, this script needs to die. We do not need to add useless bells and whistles to it.

Loading...