Skip to content

Change format to long for installer success codes - #1533

Merged
Ryan (ryfu-msft) merged 2 commits into
masterfrom
schemaChange
Sep 30, 2021
Merged

Ryan (ryfu-msft) merged 2 commits into
masterfrom
schemaChange

Conversation

@ryfu-msft

@ryfu-msft Ryan (ryfu-msft) commented Sep 30, 2021 •

Copy link
Copy Markdown
Contributor

Resolves an issue where the installer success codes for some manifests were larger than the range of an int datatype, which can cause issues for winget-create's model as it is expecting a valid int.

microsoft/winget-create#155

Changes the integer format to long in the v1.0 and v1.1 schema to increase the range of values.

Verification:

  • Passes all unit tests
Microsoft Reviewers: Open in CodeFlow

@ryfu-msft
Ryan (ryfu-msft) requested a review from a team as a code owner September 30, 2021 19:33
@yao-msft

Copy link
Copy Markdown
Contributor

Please update the singleton schemas too for consistency

@ryfu-msft
Ryan (ryfu-msft) merged commit 5a97e26 into master Sep 30, 2021
@ryfu-msft
Ryan (ryfu-msft) deleted the schemaChange branch September 30, 2021 19:45
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