moson-mo / pacseek

A terminal user interface for searching and installing Arch Linux packages
MIT License
348 stars 9 forks source link

[Feature request] IgnorePkg and IgnoreGroup #18

Closed Mudskipper875 closed 2 years ago

Mudskipper875 commented 2 years ago

Packages and groups can be blacklisted from updating the IgnorePkg and IgnoreGroup options in pacman.conf.

It may be better if these packages are hidden from the upgradable packages list when running pacseek -u. (The default sysupgrade command yay doesn't install these packages anyway)

moson-mo commented 2 years ago

I guess one could argue both ways:

I mean, usually you'd use IgnorePkg to temporarily block an upgrade, like for example if there is some bug in version 1.2.3 of a program. Now you'd probably still want to be notified if there is an upgrade available. Maybe the bug got fixed in 1.2.4. Showing these updates would probably remind you of trying the new version and eventually removing it from IgnorePkg.

What I can think of as a good compromise is to visualize an ignored package on the upgrades screen.

f.e. something like this:

image

Does that make sense?

Mudskipper875 commented 2 years ago

Yes marking them as ignored or changing the text color is a better idea 👍.

And also how about placing the ignored packages list below the sysupgrade button?

moson-mo commented 2 years ago

This looks pretty decent I think:

image

Ignored packages will be placed at the bottom of the list.

Mudskipper875 commented 2 years ago

Looks good 👍