microsoft / microsoft/winget-cli
Reference to strange package when searching for "."
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 wanted to install a locally created package and accidentally entered winget install . (instead of winget install -m .). Then the winget package manager started the installation of a strange Chinese package.
Steps to reproduce
Enter winget show .
Expected behavior
There should be no package listed under the "." label/moniker. If so, it should have something to do with a dot.
Actual behavior
The dot character seems to be the moniker to a strange package.
Environment
Windows-Paket-Manager (Vorschau) v1.3.692-preview
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.
Windows: Windows.Desktop v10.0.19043.1645
Paket: Microsoft.DesktopAppInstaller v1.18.692.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
Start by reproducing winget show . with the reported WinGet version and inspect the CLI's package-resolution path for the dot moniker. Done means that . no longer resolves to an unrelated package and local package installation still requires the intended command form.
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
- 35/100