Skip to content

Fix Pinget UniGetUI JSON contract and Rust/C# parity#26

Merged
Gabriel Dufresne (GabrielDuf) merged 3 commits into
masterfrom
pinget-fixes
May 22, 2026
Merged

Fix Pinget UniGetUI JSON contract and Rust/C# parity#26
Gabriel Dufresne (GabrielDuf) merged 3 commits into
masterfrom
pinget-fixes

Conversation

@mamoreau-devolutions
Copy link
Copy Markdown
Contributor

Summary

  • normalize the UniGetUI-facing Pinget JSON contract
  • add explicit JSON contract tests for the C# and Rust CLIs
  • fix Rust plain \list\ correlation so canonical WinGet package IDs and \SourceName\ are returned instead of raw ARP IDs
  • keep \LocalId\ as the raw installed identity while returning canonical package \Id\

Validation

  • dotnet test dotnet/src/Devolutions.Pinget.Core.Tests/Devolutions.Pinget.Core.Tests.csproj -c Release
  • cargo test -p pinget-core --manifest-path rust/Cargo.toml
  • cargo test -p pinget-cli --manifest-path rust/Cargo.toml
  • cargo build -p pinget-cli --manifest-path rust/Cargo.toml
  • manual UniGetUI Avalonia verification with both C# and Rust bundled Pinget builds

@GabrielDuf Gabriel Dufresne (GabrielDuf) merged commit 74d5b15 into master May 22, 2026
13 checks passed
@GabrielDuf Gabriel Dufresne (GabrielDuf) deleted the pinget-fixes branch May 22, 2026 19:59
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