FS#16244 - Required By information in the output of -Si

Attached to Project: Pacman
Opened by Laszlo Papp (djszapi) - Friday, 18 September 2009, 04:24 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 24 March 2010, 03:35 GMT
Task Type Feature Request
Category Backend/Core
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version 3.3.0
Due in Version 3.4.0
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Hello!

It's nice if the output of -Si options would contain the 'Required By' field like in case of -Qi.
Maybe It would be slower procedure at this momment, but with the final solution, tar backend, it won't be so much time i hope :)

Thanks in advance.
This task depends upon

Closed by  Dan McGee (toofishes)
Wednesday, 24 March 2010, 03:35 GMT
Reason for closing:  Implemented
Additional comments about closing:  cdbb90aceb288034dbf4f228fc4c49da1e2ed0c0
Comment by Allan McRae (Allan) - Friday, 18 September 2009, 04:37 GMT
So required by on your computer, or in the whole repo?
Comment by Xavier (shining) - Friday, 18 September 2009, 10:49 GMT
I guess he wants the whole repo.

So instead of looking at only one entry in the repo.
We would have to look at... ALL of them.
Comment by Dan McGee (toofishes) - Friday, 18 September 2009, 13:45 GMT
So if database access time was not a concern, I don't think I'd object to this, although you may want to show it under -Sii as the list would get very long for some [core] packages.

We do this for a local database, where getting -Qi output requires reading the whole local DB. I'd be fine with doing this for the sync DB, and maybe that would encourage us to make our DB faster.
Comment by Laszlo Papp (djszapi) - Friday, 18 September 2009, 18:35 GMT
Thanks the feedbacks.

@Allan: the whole repo
@Dan: I think so, encouragement is a good thing in most cases :)
Comment by Xavier (shining) - Friday, 18 September 2009, 20:56 GMT
patch welcome
Comment by Allan McRae (Allan) - Saturday, 06 March 2010, 10:51 GMT
allan@arch ~
> pacman -Si | grep Depends | grep perl | wc -l
400

allan@arch ~
> pacman -Si | grep Depends | grep glibc | wc -l
474

Definitely an -Sii candidate!
Comment by Dan McGee (toofishes) - Saturday, 06 March 2010, 15:03 GMT
Agreed- remember I posted a patch for this way back actually:
http://code.toofishes.net/cgit/dan/pacman.git/log/?h=requiredby

Loading...