microsoft / microsoft/winget-cli

Provide a way to add a moniker for apps from msstore source

Open
#3,048 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Area-External Issue-Feature msstore
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Description of the new feature/enhancement

Currently I believe it is not possible to add a manifest for an app from the msstore source (if this is wrong, please correct me and close this issue). To install one of these apps, the user must type something like winget install 9PHJSNP1CZ8J, which is not exactly intuitive. Devs who provide packages for the MS Store should be able to provide a moniker to make the install easier.

Proposed technical implementation details (optional)

Allow a dev to use msstore as the source for a manifest. This manifest would be extremely basic: it would simply map a store product ID to a moniker, possibly customize the description text, but it would not have version numbers. Instead it would be published at, e.g. /manifests/k/Kiwix/KiwixJS/9PHJSNP1CZ8J (i.e. /manifests/[alpha]/[publisher]/[product]/[msstore-product-id]).

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 by tracing how the CLI resolves monikers and how manifests are handled for the msstore source. Review the proposed manifest path /manifests/[alpha]/[publisher]/[product]/[msstore-product-id] and the 9PHJSNP1CZ8J example. Done should allow winget install to use a developer-provided moniker while mapping it to the store product ID without requiring version numbers.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.