Skip to content

Conversation

@srbarrios
Copy link
Member

@srbarrios srbarrios commented Jan 14, 2026

Related card: https://github.com/SUSE/spacewalk/issues/29401

This just makes a sanity check to find .repo file inside the repo URL, if it doesn't find it it logs an error. But we need to improve this logic to consider Debian-like repos too.

@srbarrios srbarrios changed the title First small iteration Small improvement on sanity checks per MI repository provided on the autogenerated JSON Jan 14, 2026
@srbarrios srbarrios requested a review from a team January 14, 2026 15:40
@ktsamis
Copy link
Member

ktsamis commented Jan 14, 2026

I think because of the way we iterate on all possible urls and only use the valid ones this might give all the false negatives. Basically we try to see if an MI has a specific client tools repo and if it doesn't we don't use it, which is a valid case since not all MIs have all the suffixes. I think the way this would check, it would log all these non-repos and show them as errors. But I will review this better later on

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