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 Eli Schwartz (eschwartz) - Friday, 11 October 2019, 19:32 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version git
Due in Version 5.2.0
Due Date Undecided
Percent Complete 100%
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

Closed by  Eli Schwartz (eschwartz)
Friday, 11 October 2019, 19:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  https://git.archlinux.org/pacman.git/com mit/?id=02255fd97e831854d1f29e6fac687a4a 508f44fa

Loading...