microsoft / microsoft/winget-create

Interactive update does not support architecture override

Open
#405 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.