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

Don't put ARP version data into tracking catalog #4964

Closed JohnMcPMS closed 2 weeks ago

JohnMcPMS commented 2 weeks ago

Change

A previous change was made to block overlapping ARP ranges being put into the index. The fact that this was potentially impactful to the tracking catalog was put off until now.

This change removes ARP version information (when present) from the manifest before placing it into the tracking catalog. We are not using this data, and I don't see a reason that we would. Attempting to preserve it would probably require removing all existing ARP version information when adding/updating the tracking manifest.

Validation

Added a test that to insert an overlapping range into the tracking catalog.

Microsoft Reviewers: Open in CodeFlow