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

dnf-context: Do not modify global configuration when setting options #1640

Open
jan-kolarik opened this issue Jan 16, 2024 · 1 comment
Open

Comments

@jan-kolarik
Copy link
Member

During the work on the #1635, I discovered several places where option setters in dnf-context are modifying the global configuration and therefore affect other context instances:

dnf_context_set_best();
dnf_context_set_install_weak_deps();
dnf_context_set_allow_vendor_change();
dnf_context_set_keep_cache();
dnf_context_set_zchunk();
dnf_context_set_plugins_all_disabled();

Maybe there are other places, I didn't investigate deeply.

@jan-kolarik
Copy link
Member Author

It seems it might be on purpose looking at the #998.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant