Closed dalto8 closed 1 month ago
Can you try --nocombinedupgrade
in yay-git
and confirm if it does what you expect?
The results are quite interesting after testing yay-git
.
yay -Su --nocombinedupgrade
- Shows the upgrade menu and is combined
yay -Su --nocombinedupgrade --noupgrademenu
- Shows the upgrade menu and is combined
yay --nocombinedupgrade
- Does not show the upgrade menu
yay --nocombinedupgrade --upgrademenu
- Does not show the upgrade menu
the --upgrademenu
flag is just dangling currently and I think it can be unified with --combinedupgrade
.
It's true yay -Su
is not taking care of either --nocombinedupgrade --noupgrademenu
Currently these 2 flags generate 4 ramifications of install logic which complexifies flows quite a bit.
My proposal would be:
--nocombinedupgrade
does not show the upgrade menu for AUR and Repo and is "not combined" (repo and AUR packages are always installed separately anyway, but for visual purposes we can call it the "not combined" experience)
--combinedupgrade
shows the upgrade menu for AUR and Repo and the menu is combined
That sounds reasonable to me.
Should this issue be closed? --noupgrademenu
(or --upgrademenu
) is no longer a valid flag and --combinedupgrade
seems to do what @Jguer suggested in https://github.com/Jguer/yay/issues/2090#issuecomment-1500062965.
Affected Version
yay v12.0.3 - libalpm v13.0.2
Describe the bug
The option
--noupgrademenu
seems to be ignored. Even when using that option it still presents the upgrade menu asking which packages to ignore.Reproduction Steps
yay -Syu --noupgrademenu
Expected behavior
The upgrade menu should not be presented.
Output