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

repo: ignore key download errors if skip_if_unavailable #2094

Conversation

evan-goode
Copy link
Member

In repo::RepoSack::update_and_load_repos, log and ignore errors related to reading or downloading GPG keys if we are using skip_if_unavailable=false

Resolves #2065

@evan-goode
Copy link
Member Author

Related: #2064. It would still be nice if a message were printed to stderr (not just the log) listing repos that were skipped.

In repo::RepoSack::update_and_load_repos, log and ignore errors related
to reading or downloading GPG keys if we are using
skip_if_unavailable=false

Resolves rpm-software-management#2065
@evan-goode evan-goode force-pushed the evan-goode/gpg-skip-if-unavailable branch from 628125a to 575284e Compare February 28, 2025 15:51
@kontura kontura self-assigned this Mar 3, 2025
Copy link
Contributor

@kontura kontura left a comment

Choose a reason for hiding this comment

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

Thanks.

@kontura kontura added this pull request to the merge queue Mar 5, 2025
Merged via the queue into rpm-software-management:main with commit 0f1242b Mar 5, 2025
21 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.

Repo with missing key and repo_gpgcheck enabled causes fail even with skit_if_unavailable
2 participants