Pacman

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#22870 - handle needed before group selection

Attached to Project: Pacman
Opened by Xavier (shining) - Saturday, 12 February 2011, 18:02 GMT
Last edited by Allan McRae (Allan) - Friday, 12 February 2016, 12:52 GMT
Task Type Feature Request
Category General
Status Assigned
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version git
Due in Version 5.1.0
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Rather than keeping it in my bookmarks, it makes more sense to keep that request in the bug tracker.

Allan:
Doing a "pacman -S base --needed" processes the --needed after the selection
dialog which is annoying... is that easily changed? It does not matter if
not.

Xavier:
Ah uhm right.
Here is how it works now :
1) alpm_find_grp_pkgs gives to the frontend a list of sync packages,
members of a specified group
2) interactive selection in frontend
3) alpm_add_pkg called on each package, where the --needed check is
done (this means checking for existing local package and comparing
versions)

It's definitely possible to add needed check in the backend in 1) or
in the frontend just before 2).
Not sure where it would fit, I will let others decide that and I can
then implement it if needed (no pun intended).

Allan:
I am really torn between front and backend implementation of this... I think I am leaning towards backend.

This task depends upon

Loading...