microsoft / microsoft/winget-cli
Add note to pins
Open
Nobody has claimed this yet.
Command-Pin
Issue-Feature
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Description of the new feature / enhancement
As a user, I may not always remember why I have a package pinned. It would be nice if a note could be added when creating the pin and if the note could be shown when listing the pins
winget pin add NodeJs.NodeJs -v 17.* --note 'ProjectA requires version 17'
winget pin add Discord.Discord --note 'Squirrel installers go nuts with winget'
winget pin add PackageABC --blocking --note 'Upgrading wipes config - be sure to export config before update'
- Related to #3211
- Related to #3212
Proposed technical implementation details
No response
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 with the winget pin add and pin-listing command entry points, then review related issues #3211 and #3212 for surrounding pin behavior. Done means users can provide a note when creating a pin and see that note when listing pins, including the examples described here.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100