Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Add the ability to use a separate pacman.conf #214

Open
Am0g-us opened this issue Aug 3, 2023 · 4 comments
Open

[Feature request] Add the ability to use a separate pacman.conf #214

Am0g-us opened this issue Aug 3, 2023 · 4 comments
Labels
feature-request New feature or request good first issue Good for newcomers

Comments

@Am0g-us
Copy link

Am0g-us commented Aug 3, 2023

This feature will be useful for those who use distributions like cachyos, where some aur packages are built with a version higher than in aur (e.g. zfs-utils-2.1.12-2 in cachyos and zfs-utils-2.1.12-1 in aur), which causes pacman to update them from the cachyos repository, which can be a problem if the user's processor supports x86_64v4. So I suggest to add the ability to set the list of ignored packages in a separate file or a separate pacman.conf.

@vn971
Copy link
Owner

vn971 commented Aug 5, 2023

Hi @Am0g-us, if you're talking about rua upgrade, would an --ignore flag work for your use case?

rua upgrade --help
...
...
OPTIONS:
        --ignore <ignored>    Don't upgrade the specified package(s). Accepts multiple arguments separated by `,`.

@Am0g-us
Copy link
Author

Am0g-us commented Aug 5, 2023

No. Just the opposite. Add the ability to update packages by ignoring IgnorePkg in pacman.conf. I think it is best to add a separate pacman.conf in ~/.config/rua/.system/

@vn971
Copy link
Owner

vn971 commented Aug 5, 2023

@Am0g-us I've taken a look. If you add a CLI option to specify an alternative pacman.conf location (Option<Path>) and use this value when calling pacman-conf (pacman.rs:13), I'll merge this in.
Otherwise, I might return to it a bit later when I have more time (or anyone else interested in the feature can)

@vn971 vn971 added feature-request New feature or request good first issue Good for newcomers labels Aug 5, 2023
@vn971
Copy link
Owner

vn971 commented Aug 5, 2023

I've also added a good first issue label now (because it is an easy/good first issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants