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

refactor --setopts handling #464

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from

Conversation

oliverkurth
Copy link
Contributor

@oliverkurth oliverkurth commented Jan 11, 2024

This is a draft, not yet ready to submit.

This refactors the implementation of --setopt= for parity with dnf: any setting with --setopt should override config settings, or in the case of lists (like baseurl) append to them. With the patterns --setopt=<repo>.foo= a setting in the repo config will be reset.

This also adds support for all rpm transaction flags, and support for setting them in the config file.

TODO:

  • replace TDNFHasOpt() in client/plugins.c
  • replace AddSetOptWithValues in tools/cli/lib/parseargs.c

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

Successfully merging this pull request may close these issues.

2 participants