Skip to content

Conversation

Trenly
Copy link
Contributor

@Trenly Trenly commented Mar 28, 2025

Many contributors to the community repository may not upgrade to schema 1.10 unless necessary to do so, as there were no additional fields in the manifest that are usable in the community repository. In addition to manifest creation tools lagging behind a little bit (as of this PR, both Komac and WingetCreate are still at version 1.9 manifests), some submitters use mechanisms outside of these tools which use older manifest versions.

This first PR changes the schema header validation so that it happens for any manifest schema 1.7 or newer to cover a larger range of submissions.

I have manually validated this change against every manifest currently in the community repository. Three had to be corrected, and now none are failing validation

image


Microsoft Reviewers: Open in CodeFlow

@Trenly Trenly requested a review from a team as a code owner March 28, 2025 04:12
@yao-msft
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Trenly
Copy link
Contributor Author

Trenly commented Mar 28, 2025

Ahhhh, I forgot the tests :(

@yao-msft
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Trenly
Copy link
Contributor Author

Trenly commented Mar 28, 2025

@yao-msft - Would you be able to help me understand what tests are failing? I don’t seem to be able to find them from my end

@yao-msft
Copy link
Contributor

image
I think you'll go over all the test manifests of these tests and add the header for those 1.7.0 or later. For the V1_7 and V1_9 tests, I think the singleton ones are missing the headers.

@yao-msft
Copy link
Contributor

yao-msft commented Apr 3, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yao-msft
Copy link
Contributor

yao-msft commented Apr 7, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yao-msft
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Trenly
Copy link
Contributor Author

Trenly commented Apr 14, 2025

Copilot has failed me :(

@Trenly
Copy link
Contributor Author

Trenly commented Apr 14, 2025

I've run the tests on my machine and they succeed (except for the one unrelated one that always fails), so hopefully it will work this time

image

@yao-msft
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Trenly
Copy link
Contributor Author

Trenly commented Apr 14, 2025

Finally! Thanks for all the patience!!

@yao-msft yao-msft merged commit 2ee1f09 into microsoft:master Apr 14, 2025
9 checks passed
@Trenly Trenly deleted the LowerSchemaValidationVersion branch April 14, 2025 23:36
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