microsoft / microsoft/winget-create

Integrate functionality of SandboxTest.ps1 script

Open
#98 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature
Dominant language
C#
Stars
651
Forks
114
Avg merge
7h 52m
Merged PRs (30d)
3

Description

Description of the new feature/enhancement

We already have the SandboxTest.ps1 script to test manifests in the Windows Sandbox, which is super useful but currently does not integrate well with wingetcreate. I suggest to include a command in wingetcreate to perform the same more conveniently via the tool. We might even want to consider adding a prompt to the manifest creation process, asking whether to test the installation in the sandbox before submitting a PR.

Proposed technical implementation details (optional)

In essence, wingetcreate could do exactly the same as the SandboxTest.ps1 script, just integrated into the tool.

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 Tools/SandboxTest.ps1 and the wingetcreate manifest creation flow to identify the existing sandbox behavior and available command entry points. Define the command and whether it should be offered during manifest creation, then verify that it performs the same sandbox installation test and reports its result before submission.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
cli, devtools, operating-systems
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.