vn971 / rua

Build tool for Arch Linux providing control, review and jailed build options
GNU General Public License v3.0
426 stars 41 forks source link

Blacklist #221

Closed cacilhas closed 1 month ago

cacilhas commented 8 months ago

Pacman has IgnorePkg for blacklisting packages. I can’t find any feature in RUA similar to IgnorePkg.

I actually need something even more advanced: I would like to block ANY package powered by Electron, even from rua search. Is there that feature, or could it be implemented in a next release?

vn971 commented 8 months ago

Hi @cacilhas , you can use IgnorePkg with rua alerady. Just add the packages that you need to ignore to pacman, and rua will adhere to the selection, too.

Alternatively, you can specify the packages with rua upgrade --ignore X,Y,Z. You can read more about it in rua upgrade --help or https://github.com/vn971/rua?tab=readme-ov-file#use

Does this answer your question about ignoring?

vn971 commented 8 months ago

With regards to the more complex package ignoring. I'm not sure I fully understand the intention. You want to ignore not just Electron, but everything that depends on it?

What is the use case for doing that?

cacilhas commented 3 weeks ago

@vn971 Imagine you want to freeze some package version, but you still want to run upgrade for all other packages.