microsoft / microsoft/winget-studio

Conflict with resource playground and configuration file management

Open
#144 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature
Dominant language
C#
Stars
67
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Description of the new feature / enhancement

If a configuration file is running, and I try to use the resource playground, WinGet Studio should warn me about a potential conflict.

It might be fine for me to have a configuration running and play with another resource that isn't a part of the running configuration.

It might be fine for me to use the resource playground to install an arbitrary package using the Microsoft.WinGet/Package resource, but it might be bad if I use it to uninstall a package that need to be present for the configuration in progress.

I wouldn't worry too much about deeply complex scenarios, but WinGet Studio should know about the resources being used in a configuration file that is executing such that I get a warning in the resource playground if I'm trying to do something with one of those resources.

Eg, I have Microsoft.Windows.Settings/WindowsSettings resource to enable developer mode (a requirement for something in the configuration file) in a running configuration, but I go into the resource playground and I change it to disabled. That could break the running configuration. I might be doing that intentionally to test something, but I should be informed a configuration file in progress depends on the resource I'm playing with.

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 locating how running configuration resources and the resource playground are represented; done means the playground warns when an action targets a resource used by an active configuration while allowing unrelated resources.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.