Skip to content

Update Pinget to version 0.12.0 - #5364

Merged
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
bump/pinget-0.12.0
Sep 9, 2026
Merged

Update Pinget to version 0.12.0#5364
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
bump/pinget-0.12.0

Conversation

@GabrielDuf

Copy link
Copy Markdown
Contributor

What was broken

On machines where winget.exe isn't resolvable by name, the WinGet section came up empty. Pinget shells out to the system WinGet for source operations, and list propagated a failed source refresh:

Manager WinGet failed to list installed packages with exception InvalidOperationException: Pinget exited with code 1:
error: failed to run winget source command: program not found

Sources still listed fine (they answer from the store loaded at open), which is why the report shows WinGet "ready" with zero packages.

Why this PR is two lines

The fix belongs in Pinget, and it shipped there in 0.12.0
(Devolutions/pinget#44):

  • WinGet is resolved past the PATH — PINGET_WINGET_PATH, the running executable's directory and the PATH exactly as before, then the App Execution Alias directory and the newest registered App Installer package. Only the last two are new, so a machine that already worked resolves the very same executable.
  • A query that cannot re-mirror the sources keeps the mirror it cached earlier and reports a warning instead of failing. Commands that change sources still fail loudly, since they have to see the real source list.
  • list/upgrade re-export at most every 15 minutes instead of spawning WinGet on every enumeration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The matching published dependencies restore successfully and directly provide the described upstream fix.

Pull request overview

Updates Pinget to 0.12.0, incorporating WinGet resolution and source-cache fixes from Pinget #44.

Changes:

  • Updates Pinget Core and bundled Rust CLI dependencies in sync.
  • Restores successfully across Windows and Linux CI jobs.
File summaries
File Description
src/UniGetUI.PackageEngine.Managers.WinGet/UniGetUI.PackageEngine.Managers.WinGet.csproj Updates Pinget Core.
src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj Updates the bundled Pinget CLI.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@randy-but-a-ro randy-but-a-ro Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Pull request was approved automatically: the AI review is complete and all its review threads are resolved. 🎉

Integration Details
{
	"deliveryId": "c06e55c0-ac7a-11f1-9437-038e936e85ca",
	"headSha": "b3299212e2a16ea25facde2cdbddea0978160a15",
	"reviewer": "copilot-pull-request-reviewer[bot]"
}

@GabrielDuf
Gabriel Dufresne (GabrielDuf) merged commit 093a1d0 into main Sep 9, 2026
6 checks passed
@GabrielDuf
Gabriel Dufresne (GabrielDuf) deleted the bump/pinget-0.12.0 branch September 9, 2026 18:34
@GabrielDuf Gabriel Dufresne (GabrielDuf) linked an issue Sep 9, 2026 that may be closed by this pull request
4 tasks
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.

[BUG] Installed packages missing Winget packages

2 participants