Open Porkepix opened 1 year ago
In the old engine yay would install those packages nonetheless but not properly warn you about it.
Maybe 14 Packages to upgrade.
-> 14 Packages to install/upgrade
.
And adding a small justification to the right?
8 extra/vala -> 0.56.4-1
->
8 extra/vala -> 0.56.4-1 (MakeDep, required by dino-git)
These changes will be easier to do once the old engine is removed
Off-topic: I can add a flag for toggling the new engine from the cmd args, at least temporarily
Well, To me it was making more sense to don't show them, especially if getting rid of them once makepkg
is done with it. This might also be configurable, but this would raise the question of the default value.
This looks particularly strange to show them with empty values in one column considering this should be an "upgrade" summary. Those packages are not upgrade.
Though, that makes me wonder if it would also show new dependencies. I had no situation where it would be the case for now, but iirc if a package had new dependencies it wasn't shown by yay
but only on the install confirmation request passed through yay
by pacman
.
Affected Version
yay v11.3.1.r116.g4e0a5c8 - libalpm v13.0.2
Describe the bug
Without the newengine, update diff on
yay -Syu
only shows diff of currently installed packages, not of the to-be-installed make dependencies for AUR packages updates that might end-up uninstalled right after.Reproduction Steps
yay -Syu
Expected behavior
The previous behavior of not showing make dependencies in the diff seemed to be better. The question of whether to uninstall those make dependencies or not afterwards seemed to come later in the process, too.
While we're at the difference in output, the new engine also seems to be more verbose right after the choice of the packages to exclude. But also to don't show anymore warning about skipped packages.
Output
EDIT: If testing this new engine and in case of a need to compare output and so on, is there a quick toggle between engines on the command-line? Json wouldn't even allow for comment in the config file.