wingetcreate update
should not be case-sensi-weird
#30
Labels
Issue-Feature
Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Resolution-Fix-Committed
Milestone
Brief description of your issue
I was trying to update node.js to the latest ver of of the 14.x branch, but by running
winget show openjs.nodejs --versions
I noticed its missing 14.16.1 and 14.17.0.So I tried submitting it:
OK... it doesn't seem to be recognizing that this is an existing package. Maybe there's a different command for updating the existing package? I cancel out, run
wingetcreate --help
, ahah, yes, of course there is, it's calledupdate
.Well that's really weird because when I run
winget list
it explicitly says I haveOpenJS.Nodejs
installed:So I go to github to try and figure out what it's actually listed as. I find
https://github.com/microsoft/winget-pkgs/tree/master/manifests/o/OpenJS/NodeJS
and try again, changing it to capitalJS
to match the github URL. And indeed, that seems to have found something:But it thinks its 16.2.0 for some reason and doesn't even prompt to ask otherwise. But maybe that's issue #23 ?
Anyway, I'm calling this sensi-weird because it does appear to be case-sensitive but it doesn't match the case that
winget list
shows, so that's kinda weird.Steps to reproduce
Try running
wingetcreate update -i
using an existing package but "wrong" case.Expected behavior
Just do a case-insensitive match. If different packages are allowed to have the same name but in different cases, that's going to be a whole 'nother problem.
And also, maybe a separate issue, but make
winget list
show the actual ID in the ID column.Actual behavior
Doesn't match
Environment
The text was updated successfully, but these errors were encountered: