Skip to content

weasel: Add version 0.17.4#17826

Open
scillidan wants to merge 2 commits into
ScoopInstaller:masterfrom
scillidan:weasel
Open

weasel: Add version 0.17.4#17826
scillidan wants to merge 2 commits into
ScoopInstaller:masterfrom
scillidan:weasel

Conversation

@scillidan
Copy link
Copy Markdown
Contributor

Closes #17825

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

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

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: 662c9420-e843-4e56-8dc8-df274e19739c

📥 Commits

Reviewing files that changed from the base of the PR and between e030117 and 87111a1.

📒 Files selected for processing (1)
  • bucket/weasel.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • bucket/weasel.json

📝 Walkthrough

Walkthrough

This pull request adds bucket/weasel.json, a new Scoop package manifest for Weasel (Rime Input Method Engine) version 0.17.4. The manifest includes package metadata (description, homepage, license), a download URL and SHA-256 hash for the 64-bit installer, pre-installation cleanup to remove the plugins directory, a desktop shortcut configuration, GitHub-based version checking, and an autoupdate URL template.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'weasel: Add version 0.17.4' is clear and specific, directly describing the primary change of adding a new version manifest for the Weasel package.
Description check ✅ Passed The PR description includes a closed issue reference (#17825) and confirms the two required checkboxes for conventional PR title and reading the Contributing Guide, meeting template requirements.
Linked Issues check ✅ Passed The code changes fully satisfy the requirements from issue #17825: the manifest packages Weasel version 0.17.4 with correct homepage, version-specific download URL, SHA-256 hash, and standard installation logic.
Out of Scope Changes check ✅ Passed All changes are directly within scope—only the bucket/weasel.json manifest file was added to fulfill the issue #17825 requirement of packaging Weasel for Scoop.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
bucket/weasel.json (1)

1-30: Run the standard Scoop manifest validation flow before merge.

scoop config debug true
scoop config gh_token <your-github-token>
.\bin\checkver.ps1 -App weasel -f
.\bin\formatjson.ps1 -App weasel
scoop install .\bucket\weasel.json -a 64bit

As per coding guidelines: “Provide clear instructions for testing the manifest locally before submission.”

🤖 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/weasel.json` around lines 1 - 30, Run the standard Scoop manifest
validation steps locally and fix any issues before merging: set scoop debug and
a GH token, then run the checkver and formatjson flows and attempt a local
64-bit install to validate hashes and URLs; specifically verify the "checkver"
entry, the "autoupdate" template (architecture.64bit.url and $buildVersion
handling), the installer URL/hash under "architecture.64bit.url" and "hash", and
the PowerShell quoting in "pre_install" so the removal command works as
expected. Ensure you execute the recommended commands (debug true, gh_token,
.\bin\checkver.ps1 -App weasel -f, .\bin\formatjson.ps1 -App weasel, scoop
install .\bucket\weasel.json -a 64bit) and fix any validation errors reported.
🤖 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.

Inline comments:
In `@bucket/weasel.json`:
- Around line 19-26: Autoupdate URL uses an undefined $buildVersion
(checkver.github only provides $version), so update the autoupdate.url to
hardcode the fourth segment (".0") to match release assets; specifically modify
the autoupdate -> architecture -> 64bit -> url string (and any other platform
urls) to use weasel-$version.0-installer.exe#/dl.7z instead of
weasel-$version.$buildVersion-installer.exe#/dl.7z so autoupdate generates a
valid asset URL.

---

Nitpick comments:
In `@bucket/weasel.json`:
- Around line 1-30: Run the standard Scoop manifest validation steps locally and
fix any issues before merging: set scoop debug and a GH token, then run the
checkver and formatjson flows and attempt a local 64-bit install to validate
hashes and URLs; specifically verify the "checkver" entry, the "autoupdate"
template (architecture.64bit.url and $buildVersion handling), the installer
URL/hash under "architecture.64bit.url" and "hash", and the PowerShell quoting
in "pre_install" so the removal command works as expected. Ensure you execute
the recommended commands (debug true, gh_token, .\bin\checkver.ps1 -App weasel
-f, .\bin\formatjson.ps1 -App weasel, scoop install .\bucket\weasel.json -a
64bit) and fix any validation errors reported.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: e029890a-623f-4acc-816d-dfd296414a6a

📥 Commits

Reviewing files that changed from the base of the PR and between ce27fb1 and e030117.

📒 Files selected for processing (1)
  • bucket/weasel.json

Comment thread bucket/weasel.json
@scillidan
Copy link
Copy Markdown
Contributor Author

/verify

@github-actions
Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

weasel

  • 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.

[Request]: Weasel

1 participant