Repository navigation
Create #292 - winget should install an app if there is an exact match.md - #358
Merged
Merged
Conversation
|
|
||
| The winget.exe client attempts to be generous with the `search` command, but is a bit too generous with `install`. The *id* | ||
| should be the unique key to identifying a package. It should also be case insensitve from the perspective of command execution, | ||
| but it should be case sensitive in terms of the displayed value. |
There was a problem hiding this comment.
Could you try rephrasing it should be case sensitive in terms of the displayed value. - do you mean that it's expected to display the original casing used in the manifest instead of a (lowercase, camelCase, PascalCase) formatted string?
Zach Carpenter (zachcarp)
approved these changes
May 29, 2020
|
|
||
| There are changes to how results should displayed to reduce the liklihood of a user mistakenly assuming the "Name" is a key value | ||
| for a package. The client commands should be case insensitive, but the display should still be case sensitive to support ease of | ||
| reading. Long names can be easier to understand when presnted in camel case, pascal case, or with a branded letter casing. |
|
|
||
| ## Future considerations | ||
|
|
||
| There are changes to how results should displayed to reduce the liklihood of a user mistakenly assuming the "Name" is a key value |
Collaborator
Author
There was a problem hiding this comment.
More sleep reduces mistakes... Maybe an IDE with a spell check wouldn't hurt.
| ## Abstract | ||
|
|
||
| The winget.exe client attempts to be generous with the `search` command, but is a bit too generous with `install`. The *id* | ||
| should be the unique key to identifying a package. It should also be case insensitve from the perspective of command execution, |
There was a problem hiding this comment.
Version should play a roll in identifying a package. We can default to a specific version where this is concerned, but we should keep it in mind as we move forward.
Collaborator
Author
There was a problem hiding this comment.
I will call version out.
|
Looks good to me 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Microsoft Reviewers: Open in CodeFlow