fix(uninstall): import url_filename from download.ps1#6530
Merged
niheaven merged 3 commits intoScoopInstaller:developfrom Nov 11, 2025
Merged
fix(uninstall): import url_filename from download.ps1#6530niheaven merged 3 commits intoScoopInstaller:developfrom
niheaven merged 3 commits intoScoopInstaller:developfrom
Conversation
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
WalkthroughImported Changes
Sequence Diagram(s)sequenceDiagram
participant CLI as scoop CLI
participant Uninstall as libexec/scoop-uninstall.ps1
participant Download as lib/download.ps1
participant Install as lib/install.ps1
CLI->>Uninstall: request uninstall <app>
Note right of Uninstall `#D3E4CD`: import download.ps1 (new)
Uninstall->>Download: call url_filename(urls...)
Download-->>Uninstall: filename(s)
Uninstall->>Install: resolve installer path using filename
Install-->>Uninstall: uninstaller command / path
Uninstall->>CLI: run uninstaller / report result
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Author
Member
|
Please update the changelog |
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Deide
pushed a commit
to Deide/scoop
that referenced
this pull request
Feb 14, 2026
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
Resolved missing import issue by importing the
url_filenamefunction fromdownload.ps1.Motivation and Context
Closes #6514
Relates to #6095
Relates to #6527
How Has This Been Tested?
At this moment, this only happens on the develop branch.
In my usage, the error occurs during the
Invoke-Installercalls inlibexec\scoop-uninstall.ps1, which depend on theurl_filenamefunction.You can replicate by uninstall an app which uses the uninstaller.file and uninstaller.args. For example:
Checklist:
developbranch.Summary by CodeRabbit