microsoft / microsoft/winget-cli
Allow archive manifest to reference files in switches
Nobody has claimed this yet.
- 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
Some installers contained within archives may need to reference other files in the archive within their switches. Safely allow switches to reference files within the archive.
Proposed technical implementation details
Add a new switch token that is only active when the installer is an archive (ex. <INSTALLER_ARCHIVE_ROOT>). This will be replaced with the location that the archive has been expanded to.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the WinGet CLI paths that process archive installers and installer switches. Trace how an archive's expanded location is represented and how switch tokens are substituted. Done means archive manifests can safely reference files under the expanded archive while non-archive installers do not activate the token; add or update coverage for both cases if matching tests are found.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100