winget source add
doesn't warn you when adding an unsupported source.
#1416
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Milestone
Brief description of your issue
winget source add
doesn't warn you when adding an unsupported source.Steps to reproduce
winget source add -n <name of repo> <address of repo> --type "Microsoft.Rest"
Expected behavior
An error when you try to add the unsupported source. (So winget should reach out to the information endpoint and check the
ServerSupportedVersions
then. Or, better yet, have the winget client be able to handle minor schema changes, as right now it can't talk to 1.1.0 REST sources even if I set theServerSupportedVersions
to 1.0.0 because it doesn't know to ignore the new fields. but that's probably a separate bug).Actual behavior
Environment
The text was updated successfully, but these errors were encountered: