Skip to content

Handle HTTP 403 on missing repo metadata #61

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

Merged

Conversation

NamelessOne91
Copy link
Contributor

@NamelessOne91 NamelessOne91 commented Apr 7, 2025

Some repositories do not have metadata signing enabled even though they provide packages which are signed themselves.

This is the case of e.g. some Amazon Linux repositories: see amazonlinux/amazon-linux-2023#336 (comment)

This PR addresses the case in which a 403 is returned when trying to retrieve such repo metadata files and introduces a utility function to selectively ignore some HTTP error codes.

@NamelessOne91 NamelessOne91 self-assigned this Apr 7, 2025
Copy link

@Bischoff Bischoff left a comment

Choose a reason for hiding this comment

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

thank you

@NamelessOne91 NamelessOne91 merged commit d08044b into uyuni-project:master Apr 7, 2025
1 check 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.

2 participants