When All Versions is applied to a configured source, GUI shows all versions of a package are installed #1062
Description
Checklist
- I confirm there are no unresolved issues reported on the Chocolatey Status page.
- I have verified this is the correct repository for opening this issue.
- I have verified no other issues exist related to my problem.
- I have verified this is not an issue for a specific package.
- I have verified this issue is not security related.
- I confirm I am using official, and not unofficial, or modified, Chocolatey products.
What You Are Seeing?
When a configured source is selected within Chocolatey GUI and All Versions is checked, if there are multiple versions of the same package within the repository, it shows the 'Installed' banner on all versions of that package.
What is Expected?
If there are multiple versions of the same package, Chocolatey GUI should only have the Installed banner on the version of the package that is actually installed on the local machine.
Screenshot of Chocolatey GUI v1.1.3:
Screenshot of Chocolatey GUI v2.0.0 and greater:
How Did You Get This To Happen?
- Have multiple versions of the same package in a configured source (in my case, I used
vscode.install
). - Launch Chocolatey GUI.
- Select the configured source and then select the All Versions checkbox.
- All versions of the package are marked with the 'Installed' banner.
System Details
- Operating System: Windows 10 / Windows Server 2022
- Windows PowerShell Version: 5.1
- Chocolatey CLI Version: 2.3.0
- Chocolatey Licensed Extension version: 6.2.1
- Chocolatey GUI version: 2.0.0 and greater
- Chocolatey License type (Professional / Business / ?): BusinessTrial
- Repository Solution(s): Sonatype Nexus / ProGet
- Terminal/Emulator: Windows PowerShell
Installed Packages
N/A
Output Log
N/A
Additional Context
Workarounds
In Chocolatey GUI v1.1.3 (with Chocolatey v1.4.0 and Chocolatey Licensed Extension v5.0.6) when All Versions is checked, one version is marked as 'Out of Date' and one version is marked as 'Installed'.
Proposed Solution
If the functionality present in Chocolatey GUI v1.1.3 can be replicated, that would be ideal.
Activity