microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.37k stars 1.45k forks source link

Portable Packages can Overlap Display Version #4871

Open Trenly opened 1 month ago

Trenly commented 1 month ago

Brief description of your issue

With some of the recent discoveries around DisplayVersion and range mapping, it seems that portable packages were/are allowed to have DisplayVersion's that are exactly the same between two different package versions

Steps to reproduce

https://github.com/microsoft/winget-pkgs/pull/180092

Expected behavior

Portables are included in overlapping range check

Actual behavior

Error / Warning was not thrown

Environment

-