Morganamilo / paru

Feature packed AUR helper
GNU General Public License v3.0
6.24k stars 239 forks source link

Display date when a package was marked out of date during update #285

Open rbutoi opened 3 years ago

rbutoi commented 3 years ago

EDIT: during an update

This is useful to know if an AUR package is long out of date, and should be considered for removal, or if it's just a fast-updating upstream and it's only a short matter of time before the AUR package is updated as well. IIRC pikaur displays this info, and it's quite useful.

I could try taking on the implementation of this myself and sending a PR.

Have you checked the readme and man page for this feature? yes

Have you checked previous issues for this feature? yes

Morganamilo commented 3 years ago

-Si and -Ss both do this.

rbutoi commented 3 years ago

Should've specified: during an update. Like when the list of out of date packages is given, put it beside there. Is that reasonable? I wouldn't want to cross-check -Si for each packages every update.

Morganamilo commented 3 years ago

It's not that hard imo. Just copy paste the packages and paru -Si <pkgs> | grep "Out of date". I think displaying the date during the normal warnings may take up too much space.

rbutoi commented 3 years ago

Gotcha. I switched from pikaur to paru for ... some reason (I think better overall handling of devel packages? something about your code made it worthwhile to switch :) ) but this is the one feature I miss. From what I recall the display wasn't so bad / took up too much space.

If anything, I'll go back and compare what I liked about pikaur's way of doing it and see if it can be done here, and toy with my own fork until I can get something presentable with before/after screenshots. Feel free to close this (or not)