microsoft / microsoft/winget-cli
Winget confuses vim.vim and vim.vim.nightly
Nobody has claimed this yet.
- 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
- Install vim.vim (only when the vim.vim.nightly version doesn't match, I presume).
- Do
winget list vimand/orwinget 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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