Skip to content

revanced-cli@6.0.0: add manifest#17910

Open
grum-sudo wants to merge 5 commits into
ScoopInstaller:masterfrom
grum-sudo:add-revanced-cli
Open

revanced-cli@6.0.0: add manifest#17910
grum-sudo wants to merge 5 commits into
ScoopInstaller:masterfrom
grum-sudo:add-revanced-cli

Conversation

@grum-sudo

@grum-sudo grum-sudo commented May 27, 2026

Copy link
Copy Markdown

Closes #17907

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

@coderabbitai

coderabbitai Bot commented May 27, 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: 6fa47890-036a-432f-a05e-ae42812208b3

📥 Commits

Reviewing files that changed from the base of the PR and between 5647760 and 51f128b.

📒 Files selected for processing (1)
  • bucket/revanced-cli.json
✅ Files skipped from review due to trivial changes (1)
  • bucket/revanced-cli.json

📝 Walkthrough

Walkthrough

The PR updates bucket/revanced-cli.json to release revanced-cli v6.0.0. The manifest sets version 6.0.0, replaces the 64-bit download URL with the revanced-cli-6.0.0-all.jar GitHub release artifact, updates the SHA-256 hash, and sets the bin entry to revanced-cli-6.0.0-all.jar. Autoupdate templates continue to use the $version placeholder.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'revanced-cli@6.0.0: add manifest' clearly follows the conventional format and accurately summarizes the main change: adding a manifest file for the revanced-cli package at version 6.0.0.
Description check ✅ Passed The PR description includes required checklist items (conventional title and Contributing Guide confirmation), properly references the linked issue (#17907), and follows the template structure.
Linked Issues check ✅ Passed The PR successfully implements all requirements from issue #17907: adds revanced-cli manifest with correct version (6.0.0), homepage, download URL, and appropriate metadata matching the linked GitHub release.
Out of Scope Changes check ✅ Passed All changes are directly within scope—only the revanced-cli.json manifest file is added per the linked issue request, with no extraneous modifications.
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.

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

Actionable comments posted: 3

🧹 Nitpick comments (1)
bucket/revanced-cli.json (1)

1-38: Testing and formatting reminders

Before merging, please ensure:

  1. Line Endings: Scoop manifests must use CRLF line endings. Please verify your file uses CRLF (not LF).

  2. Auto-format the manifest:

    .\bin\formatjson.ps1 -App revanced-cli
  3. Test autoupdate (optional but recommended):

    # Optional: Enable debug mode and set GitHub token
    scoop config debug true
    scoop config gh_token <your-token>  # Read access only
    
    # Force version detection and autoupdate
    .\bin\checkver.ps1 -App revanced-cli -f
  4. Test installation:

    scoop install .\bucket\revanced-cli.json

For more details, see the Contribution Guide and App Manifests 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/revanced-cli.json` around lines 1 - 38, Convert
bucket/revanced-cli.json to CRLF line endings, run the formatting script
.\bin\formatjson.ps1 -App revanced-cli to fix JSON formatting (including
trailing commas in the "bin" arrays), then validate autoupdate by running
.\bin\checkver.ps1 -App revanced-cli -f (with scoop debug/gh_token set if
needed) and finally test installation with scoop install
.\bucket\revanced-cli.json; ensure the "architecture", "bin" and "autoupdate"
sections remain correct after these steps.
🤖 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/revanced-cli.json`:
- Around line 24-36: Remove the trailing comma after the second element in the
autoupdate bin tuple (the string "revanced-cli") inside the autoupdate ->
architecture -> any block; open the "autoupdate" object, locate the "bin" array
containing ["revanced-cli-$version-all.jar", "revanced-cli",] and delete the
trailing comma after "revanced-cli" so the JSON is strict-valid.
- Around line 9-14: The manifest's "architecture" entry currently lists a
"64bit" key for the Java JAR, but JARs are platform-independent and should use
the "any" architecture to match the autoupdate block; update the "architecture"
object to replace the "64bit" key with "any" (and keep the same "url" and "hash"
values) so the "architecture" symbol aligns with the autoupdate behavior and
avoids churn between runs.
- Around line 15-20: The JSON in the "bin" array contains an invalid trailing
comma after the string "revanced-cli",; remove that trailing comma so the array
element is a proper two-item array ["revanced-cli-6.0.0-all.jar",
"revanced-cli"] under the "bin" key, ensuring the file is strict JSON-valid (no
dangling commas) and passes static analysis.

---

Nitpick comments:
In `@bucket/revanced-cli.json`:
- Around line 1-38: Convert bucket/revanced-cli.json to CRLF line endings, run
the formatting script .\bin\formatjson.ps1 -App revanced-cli to fix JSON
formatting (including trailing commas in the "bin" arrays), then validate
autoupdate by running .\bin\checkver.ps1 -App revanced-cli -f (with scoop
debug/gh_token set if needed) and finally test installation with scoop install
.\bucket\revanced-cli.json; ensure the "architecture", "bin" and "autoupdate"
sections remain correct after these steps.
🪄 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: b9091d36-fb16-43bc-ae89-dfdb03f54204

📥 Commits

Reviewing files that changed from the base of the PR and between d84ea90 and 5647760.

📒 Files selected for processing (1)
  • bucket/revanced-cli.json

Comment thread bucket/revanced-cli.json
Comment on lines +9 to +14
"architecture": {
"64bit": {
"url": "https://github.com/ReVanced/revanced-cli/releases/download/v6.0.0/revanced-cli-6.0.0-all.jar",
"hash": "c25549bc17d59d2eb94fa5f86e60e9b77a02772ca88f7050f8f1276f923a9958"
}
},

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Architecture mismatch: Java JARs are platform-independent.

The top-level manifest uses "64bit" architecture, but Java JAR files are architecture-independent and should use "any" (matching your autoupdate block at line 26). When autoupdate runs, it will regenerate the manifest with "any", creating inconsistency.

🔧 Proposed fix
     "architecture": {
-        "64bit": {
+        "any": {
             "url": "https://github.com/ReVanced/revanced-cli/releases/download/v6.0.0/revanced-cli-6.0.0-all.jar",
             "hash": "c25549bc17d59d2eb94fa5f86e60e9b77a02772ca88f7050f8f1276f923a9958"
         }
     },
🤖 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/revanced-cli.json` around lines 9 - 14, The manifest's "architecture"
entry currently lists a "64bit" key for the Java JAR, but JARs are
platform-independent and should use the "any" architecture to match the
autoupdate block; update the "architecture" object to replace the "64bit" key
with "any" (and keep the same "url" and "hash" values) so the "architecture"
symbol aligns with the autoupdate behavior and avoids churn between runs.

Comment thread bucket/revanced-cli.json
Comment thread bucket/revanced-cli.json
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
arvdk added a commit to arvdk/Extras that referenced this pull request Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Request]: revanced-cli

1 participant