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

main: add new --use-librepo switch #786

Merged
merged 5 commits into from
Jan 17, 2025
Merged

main: add new --use-librepo switch #786

merged 5 commits into from
Jan 17, 2025

Conversation

mvo5
Copy link
Collaborator

@mvo5 mvo5 commented Jan 8, 2025

This commit adds a new --use-librepo switch that will
enable librepo based downloading so that people can play with
the new backend.

Note that --use-librepo defaults to False currently until we have sufficient testing that all cases (including when secrets are required) work.

(with that we can re-enable the fedora iso test-case as it should be no longer flaky and works fine in my local test. however it will increase the test run times again as the isos are pretty "expensive")

@mvo5 mvo5 changed the title main: add new experimental --use-librepo switch main: add new --use-librepo switch Jan 15, 2025
mvo5 added 4 commits January 17, 2025 11:04
The NewAnacondaContainerInstaller renamed SquashfsCompression
to RootfsCompression.
This commit adds a new `--use-librepo` switch that will
enable librepo based downloading so that people can play with
the new backend.

But not turn it on by default yet.
This commit make the use of librepo part of the testcases
and enables it for the problematic testcases like fedora
and centos-10.

Eventually we should switch entirely to librepo but there
is a regression risk with secrets so for now make it
optional.
@mvo5 mvo5 marked this pull request as ready for review January 17, 2025 10:37
Document `--use-librepo` in the README and encourage its usage
in the default example. It should be fine for centos and this
way we hopefully get more exposure and bugreport (if there are
issues).
Copy link
Member

@ondrejbudai ondrejbudai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome, thank you!

@ondrejbudai ondrejbudai added this pull request to the merge queue Jan 17, 2025
@ondrejbudai ondrejbudai removed this pull request from the merge queue due to a manual request Jan 17, 2025
Copy link
Member

@achilleas-k achilleas-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it!

@mvo5 mvo5 added this pull request to the merge queue Jan 17, 2025
Merged via the queue into osbuild:main with commit 10bd4cf Jan 17, 2025
9 of 12 checks passed
@mvo5 mvo5 deleted the use-librepo branch January 17, 2025 16:19
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