Skip to content

Conversation

@mdanish-kh
Copy link
Contributor

@mdanish-kh mdanish-kh commented Nov 30, 2024

This PR makes it so that empty list fields like Tags: [], Agreements: [] are removed from the manifest before it's serialized.

Validation

Updated unit tests to cover empty lists. For a manual example try:

wingetcreate update VeyonSolutions.Veyon --urls https://github.com/veyon/veyon/releases/download/v4.9.1/veyon-4.9.1.0-win32-setup.exe https://github.com/veyon/veyon/releases/download/v4.9.1/veyon-4.9.1.0-win64-setup.exe --version 2.0.0

and see that Tags: [] is not present in the manifest with this change


Microsoft Reviewers: Open in CodeFlow

@mdanish-kh mdanish-kh requested review from a team, ryfu-msft and yao-msft and removed request for a team November 30, 2024 09:57
Copy link
Contributor

@ryfu-msft ryfu-msft left a comment

Choose a reason for hiding this comment

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

:shipit:

@ryfu-msft
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mdanish-kh
Copy link
Contributor Author

@ryfu-msft Looks like it's the same error that you were tackling in

@ryfu-msft ryfu-msft merged commit 94c5d21 into microsoft:main Dec 10, 2024
3 of 5 checks passed
@mdanish-kh mdanish-kh deleted the empty-lists branch December 10, 2024 07:09
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