vn971 / rua

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

Blacklist #221

Open cacilhas opened 3 months ago

cacilhas commented 3 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 3 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 3 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?