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

get_dnf5_cmd: Do not set "reposdir" and "config_file_path" #1467

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

jrohel
Copy link
Contributor

@jrohel jrohel commented Mar 7, 2024

They are taken from installroot by default.
Setting it explicitly via the CLI will hide the default behavior. And it changes the behavior if dnf.conf is not present.

Moreover, it is more compatible with DNF4 tests. get_dnf4_cmd does not set "reposdir" and "config_file_path".

They are taken from installroot by default.
Setting it explicitly via the CLI will hide the default behavior.
And it changes the behavior if dnf.conf is not present.
@jan-kolarik
Copy link
Member

Created a follow-up issue to address this automatic overriding of parameters in CI scenarios generally: #1468.

@jrohel
Copy link
Contributor Author

jrohel commented Mar 8, 2024

All tests passed locally.

Here one test failed - Scenario: using mirror wihtout ranges supports and zchunk results in only two GET requests for primary (the first try is with range specified).
At first glance, it doesn't look like a problem caused by this PR.

@pkratoch
Copy link
Contributor

pkratoch commented Mar 8, 2024

The scenario passes with older librepo (when built without commit rpm-software-management/librepo@66c99da ), so the failure seems independent on this PR.

@pkratoch pkratoch merged commit ef08f52 into rpm-software-management:main Mar 8, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants