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

Add support for UnsupportedArguments #2216

Merged
merged 14 commits into from Jun 21, 2022

Conversation

ryfu-msft
Copy link
Contributor

@ryfu-msft ryfu-msft commented Jun 3, 2022

Resolves #1277

Changes:

  • Fixes the schema as UnsupportedArguments was defined by not included in the installer object.
  • Checks if arguments are provided that match the unsupportedArguments present in the manifest and shows an error message to the user.

Tests:

  • Verifies that the correct error message is shown if an unsupported argument is provided
Microsoft Reviewers: Open in CodeFlow

@ryfu-msft ryfu-msft requested a review from a team as a code owner Jun 3, 2022
@msftbot msftbot bot added Area-Manifest This may require a change to the manifest Issue-Feature This is a feature request for the Windows Package Manager client. labels Jun 3, 2022
@ryfu-msft ryfu-msft requested a review from florelis Jun 6, 2022
src/AppInstallerCLICore/Workflows/InstallFlow.cpp Outdated Show resolved Hide resolved
src/AppInstallerCLICore/Workflows/InstallFlow.cpp Outdated Show resolved Hide resolved
src/AppInstallerCLICore/Workflows/InstallFlow.cpp Outdated Show resolved Hide resolved
src/AppInstallerCLICore/Workflows/InstallFlow.h Outdated Show resolved Hide resolved
src/AppInstallerCLITests/WorkFlow.cpp Outdated Show resolved Hide resolved
src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp Outdated Show resolved Hide resolved
src/AppInstallerCLICore/Workflows/InstallFlow.cpp Outdated Show resolved Hide resolved
src/AppInstallerCLICore/Workflows/InstallFlow.cpp Outdated Show resolved Hide resolved
src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp Outdated Show resolved Hide resolved
@ryfu-msft ryfu-msft requested a review from JohnMcPMS Jun 7, 2022
src/AppInstallerCLICore/Argument.h Outdated Show resolved Hide resolved
src/AppInstallerCLICore/Workflows/InstallFlow.cpp Outdated Show resolved Hide resolved
@ryfu-msft ryfu-msft requested a review from JohnMcPMS Jun 9, 2022
src/AppInstallerCLICore/Commands/UpgradeCommand.cpp Outdated Show resolved Hide resolved
src/AppInstallerCLICore/Workflows/InstallFlow.cpp Outdated Show resolved Hide resolved
@ryfu-msft ryfu-msft merged commit c854548 into microsoft:master Jun 21, 2022
3 of 5 checks passed
@ryfu-msft ryfu-msft deleted the UnsupportedArgs branch Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Manifest This may require a change to the manifest Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add the ability to identify unsupported arguments
4 participants