-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Program names seem to be case sensitive #252
Comments
I found that I had to use syntax like this:
And despite what the help says, I could never use the --version switch. |
Yes, --version seems not to help.
|
I see the confusion here. We need to do a better job with examples and possibly commands/syntax. The current behavior 0.1.41331 has -v or --version as a "command" to tell you what version of the winget client is installed, and an "option" to specify a version of a package.
'winget show git.git --version 2.25.1` Shows some metadata for the specified version of the manifest
In the "install" command, the same --version or -v does something different. |
Okay, but in this issue -v doesn't work either.
|
It's not possible to specify an id in this case either
|
This worked for me. |
Surely the right answer is to make the tool obey Windows defaults, and be case insensitive. OR make another tool called LinuxGet or Linget.exe. |
winget install -e gimp.gimp may work, but that's not a solution, it's a workaround. Id's should be case insensitive und unique. . It's rediculous to have a package with the id "gimp.gimp" and one with "GIMP.GIMP". That only brings chaos to the repositories. Do you want multiple versions of the same package in a repository? (It's not a rhetorical question, I would like to know). Then packages of the same software should have identical ids and different versions. And please add a --latest command switch. PS: found another one. same id AND same version:
|
IN this day age, why is case sensitivity even an issue? Except for legacy commands really should be case insensitive although capable of remembering case. And even worse, If I attempt to install the coreremp package, I get: PS C:\foo> winget install coretemp
Multiple apps found matching input criteria. Please refine the input.
Name Id Version
--------------------------------
CoreTemp alcpu.coretemp 1.15.1.0
CoreTemp alcpu.CoreTemp 1.15.1 How do I 'refine' the input? And since the "help" text says that the default is the later version why is this just not working (and installing coretemp)? |
I think you refine it by using the -e (exact) parameter, or there would be no way to install it. |
Then why doesn't the error message say so? Good commands have actionable output. |
My actual first experience with the product. Please make sure the product is case-insensitive like the rest of Win32. Otherwise, your product will quickly become unusable. This is not Linux and even if the future plan is to integrate Linux/Android apps, real-world distros like Debian use decent naming conventions to avoid this very issue. Therefore, I urge you to just make things case-insensitive and possibly add a vendor field (backed by digital signature) rather than putting the vendor name in the ID.
|
Sorry, was unaware of the github magic incantation that was closing the issue based on the PR. Will avoid that in the future so that the issue can stay open until it is publicly available. |
This was resolved in https://github.com/microsoft/winget-cli/releases/tag/v0.1.42101-preview. |
Brief description of your issue
It is possible to upload program manifests that include names that are case sensitive.
Steps to reproduce
Run
winget install gimp
Expected behavior
Latest version of Gimp is being installed.
Actual behavior
Environment
Windows: Windows.Desktop v10.0.19628.1
Package: Microsoft.DesktopAppInstaller v1.0.41331.0
The text was updated successfully, but these errors were encountered: