Repository navigation
fix(scoop-update): Show the available version of a pinned app - #6819
Merged
Merged
Conversation
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
An app installed with a specific version (
scoop install app@1.0) keeps that version, butscoop update appreported it as being at the latest version.app_statusresolves the version from the bucket again,scoop updatereports the available version and leaves the app alone, andscoop statusmarks it as pinned.scoop update -f appstill upgrades it to the bucket HEAD.Motivation and Context
scoop update <app>does not update application when a specific version was previously installed #6812-fupgrades@versionpins to the bucket HEAD #6730How Has This Been Tested?
scoop update appwarns 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 statuslists the app with its installed and the available version and marks it as pinned.scoop update -f appstill upgrades the app to the bucket HEAD.Checklist:
developbranch.

Confidence 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.
scoop listmarks apps installed from a generated manifest as pinned.Reviews (2) · Last reviewed commit: "test(scoop-update): Assert how a pinned ..." · Reviewed by Greptile