axodotdev / axodotdev/cargo-dist

windows package manager support?

Open
#87 2 comments 7 reactions 0 assignees View on GitHub
feature request feature request - new integration help wanted
Dominant language
Rust
Stars
2.1k
Forks
149
Avg merge
1d 11h
Merged PRs (30d)
32

Description

Related issues: https://github.com/axodotdev/cargo-dist/issues/76, https://github.com/axodotdev/cargo-dist/issues/23, https://github.com/axodotdev/cargo-dist/issues/21

It would be amazing if `cargo-dist` could generate [Windows Package Manifest files](https://learn.microsoft.com/en-us/windows/package-manager/package/manifest?tabs=minschema%2Cversion-example) which can be submitted to the [Winget Package Manifest Repository](https://github.com/microsoft/winget-pkgs) so they can be installed using the [Windows Package Manager](https://learn.microsoft.com/en-us/windows/package-manager/winget/) (`winget`). The recommended workflow in the docs is to use the [`wingetcreate`](https://learn.microsoft.com/en-us/windows/package-manager/package/manifest?tabs=minschema%2Cversion-example#using-wingetcreate-utility) ([github](https://github.com/microsoft/winget-create)) tool for this.

I think it should be possible to write some custom logic to generate manifests without the tool, but maybe shelling out to it could be helpful to get an MVP working? The tool also supports uploading packages to the Manifest Repository (by submitting a PR on GitHub) - will publishing to package managers be eventually in scope for `cargo-dist` ?

Contributor guide

Open the contributing guide

Research direction

No source file or test is identified in the issue. Start by reviewing related issues 76, 23, and 21, then read the cargo-dist documentation and the Windows Package Manifest and wingetcreate references. Done should mean the intended manifest-generation and publishing scope is decided and implemented with validation for the resulting manifests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.