Skip to content

bulk-crap-uninstaller@6.2.0: update links to point to the BCUninstall…#18011

Open
BlackWinnerYoshi wants to merge 2 commits into
ScoopInstaller:masterfrom
BlackWinnerYoshi:bcu-linkupdate
Open

bulk-crap-uninstaller@6.2.0: update links to point to the BCUninstall…#18011
BlackWinnerYoshi wants to merge 2 commits into
ScoopInstaller:masterfrom
BlackWinnerYoshi:bcu-linkupdate

Conversation

@BlackWinnerYoshi

Copy link
Copy Markdown
Contributor

…er org

autoupdate should also be edited to get SHA-256 from GitHub, not sure how to do that though.

  • Use conventional PR title: <manifest-name[@version]|chore>: <general summary of the pull request>
  • I have read the Contributing Guide

@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 74552389-7200-474e-aa17-9ebd1f7f831c

📥 Commits

Reviewing files that changed from the base of the PR and between 637152c and 5689d76.

📒 Files selected for processing (1)
  • bucket/bulk-crap-uninstaller.json
💤 Files with no reviewable changes (1)
  • bucket/bulk-crap-uninstaller.json

📝 Walkthrough

Walkthrough

This PR updates the Bulk Crap Uninstaller Scoop package manifest in a single JSON file. The changes restructure the license field from a string to an object containing identifier and URL, migrate the 64-bit portable download source from the Klocman GitHub repository to BCUninstaller, update the associated hash value, add a post-uninstall script to persist settings, introduce GitHub Releases-based version checking with regex extraction, and update the auto-update template URL to use the new repository path.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • ScoopInstaller/Extras#17329: Both PRs update bucket/bulk-crap-uninstaller.json by changing version/checkver logic and restructuring the 64-bit portable download URL/hash and autoupdate fields.
  • ScoopInstaller/Extras#17357: Both PRs modify bucket/bulk-crap-uninstaller.json's 64-bit architecture URL/hash and autoupdate 64-bit URL template to point to updated BCUninstaller release assets.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is largely incomplete. While it includes the required checklist items and acknowledges the conventional PR title format, it lacks detailed explanation of changes, omits issue references, and contains unclear incomplete content. Add a comprehensive description of the changes made, include issue/PR references (Closes/Relates to), and clarify the note about SHA-256 extraction from GitHub. Provide complete sections for all relevant context.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title directly reflects the main change: updating links for bulk-crap-uninstaller to point to the BCUninstaller organization instead of Klocman.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai 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.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
bucket/bulk-crap-uninstaller.json (1)

48-51: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Hash algorithm mismatch will break autoupdate.

The current manifest uses a SHA-256 hash (line 12, 64 hex characters), but the autoupdate.hash block is configured to extract SHA-1 from SourceForge. Future automated updates will fail or use the wrong hash type.

Recommended fix: Remove the hash block entirely. Per Scoop's autoupdate behavior, when checkver uses GitHub and no explicit hash configuration is provided, Scoop will obtain the hash from the GitHub Releases API or compute it locally by downloading the file. This approach:

  • Aligns with your PR goal to obtain hashes from GitHub
  • Ensures SHA-256 is used automatically
  • Simplifies the manifest

Alternatively, if the BCUninstaller releases include a separate SHA-256 checksum file asset, you can point autoupdate.hash.url to that file instead.

🔧 Proposed fix: remove the hash block
     "autoupdate": {
         "architecture": {
             "64bit": {
                 "url": "https://github.com/BCUninstaller/Bulk-Crap-Uninstaller/releases/download/v$matchTag/BCUninstaller_$version_portable.zip"
             }
-        },
-        "hash": {
-            "url": "https://sourceforge.net/projects/bulk-crap-uninstaller/files/v$matchTag/",
-            "regex": "$basename.*?\"sha1\":\"$sha1"
         }
     }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@bucket/bulk-crap-uninstaller.json` around lines 48 - 51, The autoupdate.hash
block currently extracts a SHA-1 from SourceForge which conflicts with the
manifest's SHA-256 checksum and will break autoupdate; remove the entire "hash"
block (the autoupdate.hash configuration) from the manifest so Scoop will
derive/verify SHA-256 automatically based on the existing checkver (GitHub
releases), or if BCUninstaller provides a SHA-256 checksum asset instead,
replace autoupdate.hash with a URL pointing to that SHA-256 file so autoupdate
extracts the correct SHA-256 value.

Source: Learnings

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@bucket/bulk-crap-uninstaller.json`:
- Around line 48-51: The autoupdate.hash block currently extracts a SHA-1 from
SourceForge which conflicts with the manifest's SHA-256 checksum and will break
autoupdate; remove the entire "hash" block (the autoupdate.hash configuration)
from the manifest so Scoop will derive/verify SHA-256 automatically based on the
existing checkver (GitHub releases), or if BCUninstaller provides a SHA-256
checksum asset instead, replace autoupdate.hash with a URL pointing to that
SHA-256 file so autoupdate extracts the correct SHA-256 value.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 88fb3ab4-d34f-4a66-9df8-9c64adfe4e28

📥 Commits

Reviewing files that changed from the base of the PR and between 7880190 and 637152c.

📒 Files selected for processing (1)
  • bucket/bulk-crap-uninstaller.json

@BlackWinnerYoshi

Copy link
Copy Markdown
Contributor Author

/verify

@github-actions

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

bulk-crap-uninstaller

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

Check the full log for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant