weasel: Add version 0.17.4#17826
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThis 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)
✏️ 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. Comment |
There was a problem hiding this comment.
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 64bitAs 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
📒 Files selected for processing (1)
bucket/weasel.json
|
/verify |
|
All changes look good. Wait for review from human collaborators. weasel
|
Closes #17825
<manifest-name[@version]|chore>: <general summary of the pull request>