Skip to content

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

Open
@pauby

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    0 - BacklogIssue is accepted, but is not ready to be worked on or not in current sprintBugIssues where something has happened which was not expected or intendedCustomerBug reported or feature requested by a licensed customer of Chocolatey

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions