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

V1.1 changes to Information endpoint #58

Merged
merged 8 commits into from
Sep 8, 2021
Merged

Conversation

ashpatil-msft
Copy link
Contributor

This PR contains the changes related to V1.1 schema updates for Information Endpoint.

  • Added Unsupported and required fields introduced in V1.1 schema
  • Added Source Agreements

Tests:

  • Manually tested WinGet commands install, search, show and list with the endpoints and they are showing new data and installing packages as expected.

src/WinGet.RestSource.Functions/ManifestSearchFunctions.cs Outdated Show resolved Hide resolved
};

/// <summary>
/// Unsupported package match fields.
/// Note: NormalizedPackageNameAndPublisher field is added here to demonstrate how this property can be used.
Copy link
Contributor

Choose a reason for hiding this comment

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

Does the reference implementation support NormalizedPackageNameAndPublisher? If so, disabling it here seems like a problem for anyone looking to standup the reference implementation out of the box.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently Reference impl doesn't have NormalizedPackageNameAndPublisher field support. I have opened an issue for this for future extension.

src/WinGet.RestSource/Models/Schemas/Information.cs Outdated Show resolved Hide resolved
@ashpatil-msft ashpatil-msft linked an issue Sep 8, 2021 that may be closed by this pull request
@ashpatil-msft ashpatil-msft merged commit fb66134 into master Sep 8, 2021
@palenshus palenshus deleted the user/ashpatil/V11part2 branch November 10, 2021 22:31
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.

v1.1 schema support
2 participants