Home :: Documentation :: Download :: Development :: Community :: Wiki :: Ports :: Bugs :: Links :: About
Welcome to CRUX bug tracking.
Tasklist

FS#593 - prt-get: isatty(1) check for quickdep to increase usability

Attached to Project: CRUX
Opened by Anonymous Submitter - Sunday, 23 May 2010, 16:28 GMT+2
Last edited by Juergen Daubert (jue) - Saturday, 04 December 2010, 10:34 GMT+2
Task Type Feature Request
Category tools → prt-get
Status New
Assigned To Johannes Winkelmann (jw)
Operating System CRUX
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
  • Anonymous Submitter (2010-05-24)
Private No

Details

I added following functionality to prt-get quickdep:

when stdout is a tty, behave as it is right now, otherwise
print every quick dependency on a line of it's own since it makes dependency exclusion easier, for instance:

prt-get install `prt-get quickdep thepackage | grep -v ^gnome-`

if you don't want to install dependencies starting with gnome. This is in my opionion closer to the KISS way of crux package management utilities.

the tty stuff was done since
1. grep operates on lines and thus can't operate if the seperator is " "
2. for packages with many dependencies, many lines look ugly, thus using " " in the tty case increases readability.

git diff attached.
This task depends upon

Loading...