yay v13 and the AURpocalypse
9 points by hugoarnal
9 points by hugoarnal
Nice.
I wish some sort of semantic diff could be done on the various stages of the PKGBUILD and show it in the list when updating. Building on the example in the post, something like this:
:: Synchronizing package databases...
core downloading...
extra downloading...
:: Searching AUR for updates...
:: Searching databases for updates...
:: 14 packages to upgrade/install.
5 core/procps-ng 4.0.6-1 -> 4.0.6-2 [prepare() +2] # this could be malicious
4 extra/git-delta 0.19.2-1 -> 0.19.2-2 [new-file LICENSE]
3 extra/github-cli 2.93.0-1 -> 2.94.0-1 [package() +3/-2]
2 extra/python-tqdm 4.68.1-1 -> 4.68.2-1 [depends +1, makedepends -1]
1 aur/yay 12.5.7-1 -> 12.6.0-1 [8d4h]
It would require some more elaborate logic than just displaying the PKGBUILD: fetch previous version alongside the current version, and then diffing them with this hypothetical semantic diff tool. However I think it would provide quite valuable information.