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

[New Feature]: Validate that manifest files include schema header #83697

Open
Trenly opened this issue Oct 15, 2022 · 1 comment
Open

[New Feature]: Validate that manifest files include schema header #83697

Trenly opened this issue Oct 15, 2022 · 1 comment
Assignees
Labels
Area-Validation-Pipeline Issues related to the manifest validation pipeline. Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work.

Comments

@Trenly
Copy link
Contributor

Trenly commented Oct 15, 2022

Description of the new feature/enhancement

The current tooling for creating manifests adds the yaml schema header to manifest files; Because contributors may frequently load the files in editors which support the schema headers, it is beneficial for files to contain the headers. This feature would -

  1. Validate that all schema files have a # yaml-language-server: $schema= header

It would be great (but less important) if it could also

  1. Validate that the manifest type matches the schema header
  2. Validate that the manifest version matches the schema header

Proposed technical implementation details (optional)

Pipeline validation with a status label like Manifest-Schema-Error

@Trenly Trenly added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Oct 15, 2022
@ghost ghost added the Needs-Triage This work item needs to be triaged by a member of the core team. label Oct 15, 2022
@denelon denelon removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Oct 15, 2022
@denelon denelon added the Area-Validation-Pipeline Issues related to the manifest validation pipeline. label Feb 20, 2023
@denelon denelon added this to the 1.9 Packages milestone Jun 12, 2024
@denelon denelon added this to WinGet Oct 22, 2024
@denelon denelon moved this to To Do in WinGet Oct 25, 2024
@denelon denelon removed this from the 1.9 Packages milestone Dec 3, 2024
@Madhusudhan-MSFT Madhusudhan-MSFT self-assigned this Dec 31, 2024
@Madhusudhan-MSFT Madhusudhan-MSFT moved this from To Do to In Progress in WinGet Dec 31, 2024
@Trenly
Copy link
Contributor Author

Trenly commented Jan 18, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Validation-Pipeline Issues related to the manifest validation pipeline. Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Projects
Status: In Progress
Development

No branches or pull requests

3 participants