actionless / pikaur

AUR helper with minimal dependencies. Review PKGBUILDs all in once, next build them all without user interaction.
GNU General Public License v3.0
875 stars 89 forks source link

In Sysupgrade prompt show explicitly installed packages first #825

Open Anarky opened 3 months ago

Anarky commented 3 months ago
pikaur -Vq

Pikaur v1.23
Pacman v6.1.0 - libalpm v14.0.0 - pyalpm v0.10.6
Description:

Would it be possible to add an option to show explicitly installed packages first during an upgrade?

I tried to peruse the code, if you can give me some pointers I can try to implement it myself.

actionless commented 3 months ago

https://github.com/actionless/pikaur/blob/1ba61ef4ea8037f1aaf57e6d0136db14627458aa/pikaur/print_department.py#L634-L641

https://github.com/actionless/pikaur?tab=readme-ov-file#upgradesorting-default-versiondiff

https://github.com/actionless/pikaur/blob/1ba61ef4ea8037f1aaf57e6d0136db14627458aa/pikaur/print_department.py#L200-L207