cromite: Update to version 148.0.7778.168, fix checkver#17881
Conversation
📝 WalkthroughWalkthroughThis PR updates bucket/cromite.json: it bumps the manifest version from 147.0.7727.56 to 148.0.7778.168, replaces the Windows x64 download URL and its SHA256 hash to match the new release, and simplifies the checkver.regex to match tags of the form v- without a /releases/tag/ prefix. Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
🚥 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/cromite.json (1)
40-51: Run the manifest validation flow before merge.Please run:
scoop config debug truescoop config gh_token <your-github-token>(optional, read-only).\bin\checkver.ps1 -App cromite -f.\bin\formatjson.ps1 -App cromitescoop install bucket/cromite.json -a 64bitAlso keep these handy for submission checks:
- https://github.com/ScoopInstaller/.github/blob/main/.github/CONTRIBUTING.md
- https://github.com/ScoopInstaller/Scoop/wiki/App-Manifests
As per coding guidelines: "Provide clear instructions for testing the manifest locally before submission" and "always provide a link to the official contribution guide or wiki".
🤖 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/cromite.json` around lines 40 - 51, Run the manifest validation and local install checks for the cromite manifest: enable debug with `scoop config debug true`, optionally set `scoop config gh_token`, then run the checkver and formatters (`.\bin\checkver.ps1 -App cromite -f` and `.\bin\formatjson.ps1 -App cromite`) and attempt installing the 64bit manifest (`scoop install bucket/cromite.json -a 64bit`); if validation fails, adjust the "checkver" block (url, jsonpath, or regex "v([\\d.]+)-(?<sha>[0-9a-f]+)") or the "autoupdate" 64bit url template (`https://github.com/uazo/cromite/releases/download/v$version-$matchSha/chrome-win.zip`) until the checker and install succeed, and follow the contribution guide and wiki for submission: https://github.com/ScoopInstaller/.github/blob/main/.github/CONTRIBUTING.md and https://github.com/ScoopInstaller/Scoop/wiki/App-Manifests.
🤖 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/cromite.json`:
- Around line 41-43: The current checkver JSONPath for cromite selects all
non-prerelease tags and can pick releases that lack the Windows asset; update
the "jsonpath" value in cromite.json so it filters releases to those whose
.assets array contains a browser_download_url matching the Windows zip (e.g.
using @.assets[?(@.browser_download_url =~ /chrome-win\\.zip/i)]) and still
returns the .tag_name (so keep the overall selector like $[?(@.prerelease==false
&& @.assets[?(@.browser_download_url =~ /chrome-win\.zip/i)])].tag_name); modify
the "jsonpath" entry accordingly in the cromite manifest.
---
Nitpick comments:
In `@bucket/cromite.json`:
- Around line 40-51: Run the manifest validation and local install checks for
the cromite manifest: enable debug with `scoop config debug true`, optionally
set `scoop config gh_token`, then run the checkver and formatters
(`.\bin\checkver.ps1 -App cromite -f` and `.\bin\formatjson.ps1 -App cromite`)
and attempt installing the 64bit manifest (`scoop install bucket/cromite.json -a
64bit`); if validation fails, adjust the "checkver" block (url, jsonpath, or
regex "v([\\d.]+)-(?<sha>[0-9a-f]+)") or the "autoupdate" 64bit url template
(`https://github.com/uazo/cromite/releases/download/v$version-$matchSha/chrome-win.zip`)
until the checker and install succeed, and follow the contribution guide and
wiki for submission:
https://github.com/ScoopInstaller/.github/blob/main/.github/CONTRIBUTING.md and
https://github.com/ScoopInstaller/Scoop/wiki/App-Manifests.
🪄 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: 35cfe06a-771d-4d91-b234-56ab6c98dac7
📒 Files selected for processing (1)
bucket/cromite.json
|
/verify |
|
All changes look good. Wait for review from human collaborators. cromite
|
There was a problem hiding this comment.
♻️ Duplicate comments (1)
bucket/cromite.json (1)
42-42:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winConstrain checkver to releases with
chrome-win.zipasset.The regex pattern is correct, but without a
jsonpathfilter, checkver may select releases that lack the Windows asset. As noted in the previous review, add a jsonpath constraint to filter for releases containing the chrome-win.zip asset.Suggested fix
"checkver": { "github": "https://github.com/uazo/cromite", + "jsonpath": "$[?(@.draft == false && @.prerelease == false && @.assets[?(@.browser_download_url =~ /chrome-win\\.zip$/i)])].tag_name", "regex": "v([\\d.]+)-(?<sha>[0-9a-f]+)" },🤖 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/cromite.json` at line 42, The checkver config currently only has the "regex": "v([\\d.]+)-(?<sha>[0-9a-f]+)" which can match tags from releases that don't include the Windows asset; update the release check to include a jsonpath filter that selects only releases containing an asset named "chrome-win.zip" (add a "jsonpath" entry alongside the existing "regex" in cromite.json) so checkver only considers releases with that asset.
🤖 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.
Duplicate comments:
In `@bucket/cromite.json`:
- Line 42: The checkver config currently only has the "regex":
"v([\\d.]+)-(?<sha>[0-9a-f]+)" which can match tags from releases that don't
include the Windows asset; update the release check to include a jsonpath filter
that selects only releases containing an asset named "chrome-win.zip" (add a
"jsonpath" entry alongside the existing "regex" in cromite.json) so checkver
only considers releases with that asset.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 6445332a-d1c8-467e-b6d0-feaf94b57015
📒 Files selected for processing (1)
bucket/cromite.json
z-Fng
left a comment
There was a problem hiding this comment.
Thanks for your contribution!
Closes #17880.
Relates to #17844.
<manifest-name[@version]|chore>: <general summary of the pull request>