microsoft / microsoft/winget-cli

Always record version when creating / updating pin

Open
#3,215 0 comments 0 reactions 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

When a pin is added, there is no way to know what version it was added at/for (with the exception of a gating pin). In the case of standard pins, this means there is no way for me to audit if a package upgraded itself outside of winget, since I don’t know what version it was originally pinned to.
Of course, I could use a gating pin with an exact version, but then I wouldn’t be able to upgrade it with an explicit upgrade.

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

The issue names no files, tests, or entry points. Start by reviewing how standard and gating pins are created and updated, including how explicit upgrades work. Done means a standard pin records the version present when it is created or updated while remaining upgradeable explicitly.

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.