Skip to content

Add Option to download package manifests along with the installers#4862

Merged
Gabriel Dufresne (GabrielDuf) merged 3 commits into
mainfrom
Download-package-manifest
Jun 2, 2026
Merged

Add Option to download package manifests along with the installers#4862
Gabriel Dufresne (GabrielDuf) merged 3 commits into
mainfrom
Download-package-manifest

Conversation

@GabrielDuf
Copy link
Copy Markdown
Contributor

Adds an opt-in setting so that, when downloading a WinGet package's installer, UniGetUI also saves the package's YAML manifest next to it — matching what native winget download produces. This gives users maintaining offline/reproducible software repositories a self-contained snapshot (installer + metadata) instead of just the bare .exe/.msi. #4817

How it works

  • New setting WinGetDownloadFullManifest (off by default), exposed as a checkbox in the WinGet section of the package-manager settings page (both the WinUI and Avalonia settings UIs).
  • New WinGetManifestDownloadOperation that invokes pinget/winget download --download-directory … instead of the plain HTTP installer grab. The download verb writes the installer plus a flattened YAML manifest.
  • The download dispatch in AppOperationHelper (WinUI) and AvaloniaPackageOperationHelper (Avalonia) routes WinGet packages through the new operation when the setting is enabled, and falls back to the existing DownloadOperation for every other manager / when the toggle is off. Because the verb writes a folder rather than a single file, the single-package path uses a folder picker when the setting is on.

Picks up the pre-indexed search fix (non-correlated tag/command
subqueries that previously hung the WinGet source under Turso, leaving
Discover empty) and the resilient source-index replace.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@GabrielDuf Gabriel Dufresne (GabrielDuf) merged commit c1a784f into main Jun 2, 2026
3 checks passed
@GabrielDuf Gabriel Dufresne (GabrielDuf) deleted the Download-package-manifest branch June 2, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants