microsoft / microsoft/winget-cli

WinGet should skip dependencies on upgrade if they were skipped on install

Open
#5,717 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Relevant area(s)

WinGet CLI

Description of the new feature / enhancement

What's the point of installing with --skip-dependencies if winget just installs those dependencies the next time you upgrade? Memorizing which packages you skipped dependencies for is obviously not viable. upgrade --all is also useless as a result, which is exacerbated by the fact that there's currently no reliable way to upgrade multiple packages: #2686.

Proposed technical implementation details

Record the IDs of packages which were installed with the --skip-dependencies flag and automatically apply --skip-dependencies for those packages on upgrade.

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 CLI's install and upgrade paths, then identify where package installation state is persisted and read. Verify the behavior with a skipped-dependency install followed by a package upgrade and upgrade --all; done means those packages retain the skip-dependencies behavior without requiring users to remember IDs.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.