microsoft / microsoft/winget-cli
Provide a way to add a moniker for apps from msstore source
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
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
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 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