Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When All Versions is applied to a configured source, GUI shows all versions of a package are installed #1062

Open
6 tasks done
pauby opened this issue Sep 2, 2024 · 0 comments
Labels
0 - Backlog Issue is accepted, but is not ready to be worked on or not in current sprint Bug Issues where something has happened which was not expected or intended Customer Bug reported or feature requested by a licensed customer of Chocolatey

Comments

@pauby
Copy link
Member

pauby commented Sep 2, 2024

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:
image

Screenshot of Chocolatey GUI v2.0.0 and greater:
image

How Did You Get This To Happen?

  1. Have multiple versions of the same package in a configured source (in my case, I used vscode.install).
  2. Launch Chocolatey GUI.
  3. Select the configured source and then select the All Versions checkbox.
  4. 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.

Related Issues and Tickets

@pauby pauby added Bug Issues where something has happened which was not expected or intended 0 - Backlog Issue is accepted, but is not ready to be worked on or not in current sprint Customer Bug reported or feature requested by a licensed customer of Chocolatey labels Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - Backlog Issue is accepted, but is not ready to be worked on or not in current sprint Bug Issues where something has happened which was not expected or intended Customer Bug reported or feature requested by a licensed customer of Chocolatey
Projects
None yet
Development

No branches or pull requests

1 participant