microsoft / microsoft/winget-create
Interactive update does not support architecture override
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 651
- Forks
- 114
- Avg merge
- 7h 52m
- Merged PRs (30d)
- 3
Description
Brief description of your issue
When attempting to perform an interactive update to a package like junnegun.fzf. The architecture for each installer node is being overridden by the architecture that winget-create detects.
Steps to reproduce
wingetcreate update junegunn.fzf -i
Expected behavior
winget-create should preserve the existing architecture or at least allow the user to provide the same architecture override behavior as the autonomous flow.
Actual behavior
Updated manifest becomes invalid because all of the installer architectures are updated to 'x64' causing a duplicate installer error during validation.
Environment
Windows Package Manager Manifest Creator v1.2.7.0
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 with the wingetcreate update junnegun.fzf -i entry point and the manifest at manifests/j/junegunn/fzf/0.42.0/junegunn.fzf.installer.yaml. Compare the interactive update's architecture handling with the autonomous flow; done means existing installer architectures are preserved or an equivalent override is available and the updated manifest passes validation without duplicate installer errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100