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

ignore non-available repositories when syncing prod #350

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Conversation

evgeni
Copy link
Member

@evgeni evgeni commented Feb 27, 2024

when there is no prod repo, reposync will fail otherwise. same applies to the repodiff step later.

This is not a problem on EL7 and Fedora, as those set skip_if_unavailable=True by default, but EL8+ sets it to False.

when there is no prod repo, reposync will fail otherwise.
same applies to the repodiff step later.

This is not a problem on EL7 and Fedora, as those set
`skip_if_unavailable=True` by default, but EL8+ sets it to `False`.
@@ -136,6 +136,8 @@ def sync_prod_repository(collection, version, target_dir, dist, arch):

cmd = [
'dnf',
'--config',
f'tmp/dnf.conf',
Copy link
Member Author

Choose a reason for hiding this comment

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

this should be {base_dir}/dnf.conf but we don't pass base_dir to those functions and I was lazy to make it so

@ekohl ekohl merged commit 8ddd5bc into master Feb 27, 2024
3 checks passed
@ekohl ekohl deleted the dnf-el8-2 branch February 27, 2024 09:41
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.

2 participants