microsoft / microsoft/winget-cli

Compare configuration files

Open
#3,325 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Command-Configure 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

I'd like to be able to compare configuration files to determine if there are any potential conflicts.

Let's say for example I have two dsc configuration files.

They each set a windows setting to a different value.

If I try to apply the configuration that conflicts with an existing deployed DSC, does it stop and show me the conflict, or will it happily change the setting breaking the previous DSC configuration?

By @PilotBob in Discussions How does WinGet configuration deal with state conflicts?

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 by reading the linked Discussions thread, “How does WinGet configuration deal with state conflicts?”. Then locate the WinGet configuration handling entry point and its existing tests; the issue does not name files or tests, and completion would require an agreed conflict-comparison behavior and coverage for the relevant cases.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.