pikaur icon indicating copy to clipboard operation
pikaur copied to clipboard

Overriding repo priority per package

Open GrabbenD opened this issue 2 years ago • 3 comments

Is it possible to specify which repository a package should always be installed from

For instance, with this package it's possible to achieve it this way:

sudo pacfree add-rule <repo_name>/<pkg_name> <repo_name>/<pkg_name> <repo_name>/<pkg_name> 
sudo pacfree update
sudo pacfree upgrade

GrabbenD avatar Jul 29 '23 11:07 GrabbenD

i'm not really interested in implementing this feature, because i think that managing priority per repository is more robust for the upgrade procedure

but feel free to implement it and send a pull request with the code and unittests

actionless avatar Jul 29 '23 13:07 actionless

@actionless It seems like a odd request for sure but the usecase for this is folks who use alternative initd systems like OpenRC and dinit (which is blazing fast), you can force certain packages to be installed from Artix and the rest from x86_64-v3 optimized repositories like CachyOS and ALHP

GrabbenD avatar Jul 30 '23 08:07 GrabbenD

i'm not one of them - so those folks free to make a pull request or buy the feature

actionless avatar Jul 30 '23 10:07 actionless