microsoft / microsoft/winget-cli

Winget confuses vim.vim and vim.vim.nightly

Open
#5,196 15 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-External Area-Matching Blocking-Issue Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

I installed vim.vim (currently at v. 9.1.1039), but afterward, winget thinks I have vim.vim.nightly installed and therefore offers to "upgrade" it (to v. 9.1.1071).

Steps to reproduce
  1. Install vim.vim (only when the vim.vim.nightly version doesn't match, I presume).
  2. Do winget list vim and/or winget upgrade
Expected behavior

Package is shown as vim.vim and no upgrade is offered.

Actual behavior

Package is listed as vim.vim.nightly and an available upgrade is shown.

Environment
Windows Package Manager v1.9.25200
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.4751
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.25200.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the mismatch with winget list vim and winget upgrade after installing vim.vim at a version different from vim.vim.nightly. Trace the package identity or matching logic responsible for selecting vim.vim.nightly; done means the installed package is listed as vim.vim and no incorrect upgrade is offered.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.