Improved architecture handling

Open
#276 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
api, backend

Research direction

The issue names no files, tests, or entry points, so first map the REST endpoint handling for install, upgrade, and download flows. Define how latest and specific-version requests should select architectures, including the explicit architecture argument and the option to download all architectures; done means those scenarios return the expected versions.

Written by the indexing model from the issue text.

Description

Issue-Feature
Description of the new feature / enhancement

Some packages offer a different "latest" version of an application based on the architecture supported.

When the WinGet client is communicating with a REST endpoint the communications should be optimized to deal with different versions for different architectures.

The default flow should provide a better customer experience for both the "install" and "upgrade" scenarios.

When a specific architecture is specified using arguments, the response should honor the architecture specified.

When the "download" flow is being used, there should be an affordance to download the latest versions for "all" architectures.
There may also be caveats when a specific version is requested as opposed to just the "latest" version.

Proposed technical implementation details

No response

Dominant language
C#
Stars
317
Forks
79
PR merge metrics
No merged PRs in 30d

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.

More from microsoft/winget-cli-restsource

All issues in microsoft/winget-cli-restsource

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.