microsoft / microsoft/winget-cli

Add note to pins

Open
#3,213 0 comments 1 reaction 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.