greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
GNU General Public License v3.0
2.82k stars 472 forks source link

packages: add `ignore_updates_regex` #1958

Closed MaxVerevkin closed 5 months ago

MaxVerevkin commented 8 months ago

We already have warning_updates_regex and critical_updates_regex. A new option can be added to filter the list of outdated packages.

bim9262 commented 8 months ago

For pacman wouldn't you just want to ignore the package in pacman.conf? What would be the benefit of ignoring it in the status bar, but actually updating it when you go to update your system?

I imagine other package managers have similar configs that allow packages to be ignored.

MaxVerevkin commented 8 months ago

I have some -git packages installed from chaotic-aur which are updated multiple times a day. I do want to keep them up-to-date, but in context of status bar, these packages generate a lot of noise.

zheltikov commented 8 months ago

Hello @MaxVerevkin ! I've opened a pull request to add this ignore_updates_regex option to blocks/apt: #1967 Please have a look at it :)