paru icon indicating copy to clipboard operation
paru copied to clipboard

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

Open rbutoi opened this issue 3 years ago • 4 comments

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

rbutoi avatar Mar 18 '21 20:03 rbutoi

-Si and -Ss both do this.

Morganamilo avatar Mar 18 '21 20:03 Morganamilo

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.

rbutoi avatar Mar 18 '21 23:03 rbutoi

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.

Morganamilo avatar Mar 18 '21 23:03 Morganamilo

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)

rbutoi avatar Mar 18 '21 23:03 rbutoi