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

Basic validation of index files #1281

Merged
merged 2 commits into from
Jan 16, 2020
Merged

Basic validation of index files #1281

merged 2 commits into from
Jan 16, 2020

Conversation

nfnt
Copy link
Member

@nfnt nfnt commented Jan 15, 2020

What this PR does / why we need it:
This adds some validation of index files. This will result in a more meaningful error message when trying to use outdated repositories as reported in #1271.

Ideally, a different validation approach will be used in the future once backwards-compatibility of KUDO has been specified. The future approach would use the apiVersion of the index to determine validation rules.

Copy link
Contributor

@zen-dog zen-dog left a comment

Choose a reason for hiding this comment

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

One nit, but otherwise LGTM

@nfnt nfnt merged commit 35dd036 into master Jan 16, 2020
@nfnt nfnt deleted the nfnt/validate-index branch January 16, 2020 09:10
ANeumann82 pushed a commit that referenced this pull request Feb 13, 2020
Adds some validation of index files. This will result in a more meaningful error message when trying to use outdated repositories.

Signed-off-by: Andreas Neumann <aneumann@mesosphere.com>
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.

None yet

3 participants