Skip to content

fix(scoop-update): Show the available version of a pinned app - #6819

Merged
niheaven merged 4 commits into
developfrom
fix/scoop-update-pinned-version
Nov 6, 2026
Merged

niheaven merged 4 commits into
developfrom
fix/scoop-update-pinned-version

Conversation

@niheaven

@niheaven niheaven commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Description

An app installed with a specific version (scoop install app@1.0) keeps that version, but scoop update app reported it as being at the latest version.
app_status resolves the version from the bucket again, scoop update reports the available version and leaves the app alone, and scoop status marks it as pinned. scoop update -f app still upgrades it to the bucket HEAD.

Motivation and Context

How Has This Been Tested?

  • scoop update app warns that the app is pinned to its installed version, names the available version, lists the app as skipped and does not update the app.
  • scoop status lists the app with its installed and the available version and marks it as pinned.
  • scoop update -f app still upgrades the app to the bucket HEAD.
  • An app installed from a local manifest path is not treated as pinned and still updates as before.

Checklist:

  • I have read the Contributing Guide.
  • I have ensured that I am targeting the develop branch.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.
  • I have added an entry in the CHANGELOG.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no blocking issues remain.

Summary

The PR shows available bucket versions for pinned apps while leaving them unchanged unless forced.

  • Pinned apps show the bucket version and stay put unless forced.
  • scoop list marks apps installed from a generated manifest as pinned.

Reviews (2) · Last reviewed commit: "test(scoop-update): Assert how a pinned ..." · Reviewed by Greptile

Comment thread test/Scoop-Install.Tests.ps1 Resolved
@niheaven
niheaven merged commit 878f8eb into develop Nov 6, 2026
3 checks passed
@niheaven
niheaven deleted the fix/scoop-update-pinned-version branch November 6, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant