microsoft / microsoft/winget-cli
InstallerSwitches field for Agreements
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Description of the new feature / enhancement
Some applications have agreements, but also require a switch that goes with those agreements in order to install silently.
Instead of putting that special switch into Silent or Custom, it would be best if there were a switch type for Agreements that would be added when a user has agreed to the package agreements.
Proposed technical implementation details
If the Default Locale has agreements, and user accepts package agreements, add the switch to the installer
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 by locating the installer switch handling and the code that processes package agreements, then trace how the Default Locale exposes agreements. Determine where an Agreements switch type would be represented and applied after the user accepts the agreements. Done means the switch is added for packages with agreements without requiring it in Silent or Custom, with relevant behavior covered by tests if existing installer 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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100