Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".

* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.
Tasklist

FS#8798 - Allow -Qo to perform a functional 'which'

Attached to Project: Pacman
Opened by Aaron Griffin (phrakture) - Thursday, 29 November 2007, 22:01 GMT-4
Last edited by Dan McGee (toofishes) - Friday, 30 November 2007, 09:28 GMT-4
Task Type Feature Request
Category Output
Status Assigned
Assigned To Aaron Griffin (phrakture)
Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 3.0.6
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 4
Private No

Details

It'd be nice if "pacman -Qo" would perform the "which" step for you for binaries, maybe even do it only if no owner is found the first time through the list. /me shrugs
This task depends upon

Comment by Dan McGee (toofishes) - Friday, 30 November 2007, 09:28 GMT-4
Please don't assign new tasks to me just becuase it deals with Pacman, Roman... I know that they exist, I look at the task overview page all the time. Especially this one that Aaron opened so I'm sure he is more likely to implement it than I am. :)
Comment by Roman Kyrylych (Romashka) - Friday, 30 November 2007, 11:01 GMT-4
ok.
I just did it because there were cases in past when one of you wasn't aware of some bug because it was unassigned and thus no mail notification was created and thus no attention was brought because it didn't stand out from hundred of other similar reports.
(phew, what a long sentence :D)
Comment by Aaron Griffin (phrakture) - Friday, 30 November 2007, 11:49 GMT-4
For the record, I get email notifications for all new bugs. Secondly, I would have assigned it when I created it if I felt it was important. I'm more or less just "logging this idea"
Comment by André Prata (nDray) - Friday, 07 December 2007, 09:23 GMT-4
I don't believe this is useful... You can just pacman -Qo `which command`... If pacman starts looking for executables, latter someone asks to search the whole tree for regular files.....
Comment by Aaron Griffin (phrakture) - Friday, 07 December 2007, 11:44 GMT-4
No, searching the whole tree for files is different. There are many many files that would conflict. For instance, "README" or "LICENSE". Binaries, however, have a known level of priority, it's based on the PATH variable.

The reason the mini-which would work is simply because it's always the common case. It's the same rationale for 'find' having a -delete argument - you could easily use -exec and rm, but it's a common case, so it's covered.
Comment by Allan McRae (Allan) - Monday, 15 December 2008, 07:02 GMT-4 Comment by Laszlo Papp (djszapi) - Friday, 30 October 2009, 17:59 GMT-4
What's the state of this thread/patch ? I can't use it now, so maybe it wasn't trivial to implement it or not.
Comment by Allan McRae (Allan) - Saturday, 06 March 2010, 22:03 GMT-4

Loading...