This repository was archived by the owner on Feb 6, 2026. It is now read-only.
feat: add Winget manifest templates for Windows distribution#76
Merged
feat: add Winget manifest templates for Windows distribution#76
Conversation
Add Winget manifest files to enable distribution via Windows Package Manager (`winget install OpenCLICollective.cfl`). Manifest structure: - Version manifest: package identifier and version - Installer manifest: zip URLs for x64/arm64 with portable nested type - Locale manifest: descriptions, tags, license info These are templates with placeholder version (0.0.0). To publish: 1. Update version and checksums from a real release 2. Submit PR to microsoft/winget-pkgs repository Fixes #72
3 tasks
winget validate parses all files in the directory as YAML manifests. The README.md with markdown code fences causes YAML parsing errors (backticks cannot start YAML tokens).
- Validate manifest schema with HTTPS placeholder URLs (required by winget) - Test installation with local file:// URLs (for actual install verification) - Use separate directories for each test phase
winget requires this setting to be enabled before using --manifest flag. Also add --ignore-local-archive-malware-scan for local testing.
Local install testing requires HTTP server setup which is overengineered. The actual install flow is validated by winget-pkgs CI when we submit the manifest PR. Schema validation catches YAML/manifest errors early.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Winget manifest templates to enable distribution via Windows Package Manager:
Manifest Structure
Installer Configuration
zip(our releases are zip archives)portable(standalone executable)cfl(command users type)CI Testing
Added
.github/workflows/test-winget.ymlthat validates manifest schema on Windows usingwinget validate.We opted for schema validation only (not full install testing) because:
Publishing Process
Winget manifests are submitted via PR to microsoft/winget-pkgs. See README for details. Issue #77 tracks the actual submission.
Template Placeholders
These manifests use
0.0.0as a placeholder version. To publish:checksums.txtAlso Updated
CLAUDE.md- added Winget to packaging sectionCloses #72