Skip to content

android-performance-analyzer: Add version 0.8.1#17941

Open
Vixb1122 wants to merge 2 commits into
ScoopInstaller:masterfrom
Vixb1122:apa
Open

android-performance-analyzer: Add version 0.8.1#17941
Vixb1122 wants to merge 2 commits into
ScoopInstaller:masterfrom
Vixb1122:apa

Conversation

@Vixb1122

@Vixb1122 Vixb1122 commented May 31, 2026

Copy link
Copy Markdown
Contributor

Closes #17856

  • 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 31, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The PR adds a new Scoop package manifest for Android Performance Analyzer version 0.8.0-RC3. The manifest specifies the Windows 64-bit download URL, SHA256 hash, and extraction directory name. It includes a version-check regex pattern to detect updates from the Android IDE zip distribution URL and autoupdate configuration that automatically derives the download URL and extracts the SHA256 hash from the project page.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title states '0.8.1' but the actual version added is '0.8.0-RC3', creating a mismatch between the title and the changeset. Update the PR title to 'android-performance-analyzer: Add version 0.8.0-RC3' to accurately reflect the version being added in the changeset.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The PR successfully fulfills all coding requirements from issue #17856: adds manifest for Android Performance Analyzer with correct version, download URL, SHA256 hash, and autoupdate configuration.
Out of Scope Changes check ✅ Passed The only change is adding the android-performance-analyzer.json manifest file, which is directly scoped to the requirement in issue #17856.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed PR description includes issue reference and completed checklist items confirming conventional title format and Contributing Guide review.

✏️ 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: 2

🤖 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/android-performance-analyzer.json`:
- Around line 22-33: Run the version detection and autoupdate validation for the
manifest by testing the "checkver" regex and the "autoupdate.hash.regex" against
the Android Performance Analyzer page and ensure the captured "version" group
matches the "autoupdate.architecture.64bit.url" v$version pattern; if the regex
doesn't match, update "checkver" or "autoupdate.hash.regex" to the correct
patterns (or adjust the basename/sha256 anchor) so the filename and SHA256 are
found, then run the manifest formatter/linter and perform a local install test
for 64bit to confirm installation succeeds.
- Around line 1-34: The manifest file bucket/android-performance-analyzer.json
currently uses LF line endings; convert the file to CRLF (\r\n) line endings
before merging. Open bucket/android-performance-analyzer.json (the JSON
containing keys like "version" and "checkver") and change line endings to CRLF
in your editor or run git with core.autocrlf=true, then re-save and commit the
file so the repository stores CRLF line endings. Ensure the committed file shows
CRLF via git ls-files --eol before merging.
🪄 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: 4184da79-4a53-4413-a168-8c844b809543

📥 Commits

Reviewing files that changed from the base of the PR and between 429584c and 371a076.

📒 Files selected for processing (1)
  • bucket/android-performance-analyzer.json

Comment on lines +1 to +34
{
"version": "0.8.0-RC3",
"description": "Optimize your app or game with Android's new profiler and performance analysis tool for the Android ecosystem.",
"homepage": "https://developer.android.com/android-performance-analyzer",
"license": {
"identifier": "Freeware",
"url": "https://developer.android.com/studio/terms"
},
"architecture": {
"64bit": {
"url": "https://dl.google.com/android/apa/ide-zips/v0.8.0-RC3/android-performance-analyzer-windows.zip",
"hash": "5dd973d9aa8a36895f172935b713ac856f663537e7235037add12b01e6bb4689",
"shortcuts": [
[
"bin\\apa64.exe",
"Android Performance Analyzer"
]
]
}
},
"extract_dir": "apa-windows",
"checkver": "/ide-zips/v(?<version>[\\w.-]+)/android-performance-analyzer-windows.zip",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://dl.google.com/android/apa/ide-zips/v$version/android-performance-analyzer-windows.zip",
"hash": {
"url": "https://developer.android.com/android-performance-analyzer",
"regex": "(?sm)$basename.*?$sha256"
}
}
}
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion | 🟠 Major | ⚡ Quick win

Ensure the manifest uses CRLF line endings.

Scoop manifests must use CRLF (\r\n) line endings, not LF (\n). Please verify that this file uses CRLF line endings before merging.

You can check and convert line endings in your editor or using Git:

# Check current line endings
git ls-files --eol bucket/android-performance-analyzer.json

# Ensure CRLF on checkout (if needed)
git config core.autocrlf true

See the Contribution Guide for more details.

🤖 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/android-performance-analyzer.json` around lines 1 - 34, The manifest
file bucket/android-performance-analyzer.json currently uses LF line endings;
convert the file to CRLF (\r\n) line endings before merging. Open
bucket/android-performance-analyzer.json (the JSON containing keys like
"version" and "checkver") and change line endings to CRLF in your editor or run
git with core.autocrlf=true, then re-save and commit the file so the repository
stores CRLF line endings. Ensure the committed file shows CRLF via git ls-files
--eol before merging.

Comment on lines +22 to +33
"checkver": "/ide-zips/v(?<version>[\\w.-]+)/android-performance-analyzer-windows.zip",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://dl.google.com/android/apa/ide-zips/v$version/android-performance-analyzer-windows.zip",
"hash": {
"url": "https://developer.android.com/android-performance-analyzer",
"regex": "(?sm)$basename.*?$sha256"
}
}
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion | 🟠 Major | ⚡ Quick win

Verify checkver and autoupdate configuration, then test locally.

The checkver regex and autoupdate configuration look reasonable, but should be tested to ensure they work correctly:

  1. The checkver pattern searches for version strings in the URL structure.
  2. The autoupdate.hash.regex assumes the homepage contains the filename followed by the SHA256 hash.

Please test the manifest locally using the following commands:

# Optional: Enable debug mode and set GitHub token (read access only for GitHub API)
scoop config debug true
scoop config gh_token <your-github-token>

# Force version detection and autoupdate
.\bin\checkver.ps1 -App android-performance-analyzer -f

# Auto-format (Lint) the JSON manifest
.\bin\formatjson.ps1 -App android-performance-analyzer

# Test installation for 64-bit architecture
scoop install bucket\android-performance-analyzer.json -a 64bit

See the Contribution Guide and App Manifests wiki for more details.

🤖 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/android-performance-analyzer.json` around lines 22 - 33, Run the
version detection and autoupdate validation for the manifest by testing the
"checkver" regex and the "autoupdate.hash.regex" against the Android Performance
Analyzer page and ensure the captured "version" group matches the
"autoupdate.architecture.64bit.url" v$version pattern; if the regex doesn't
match, update "checkver" or "autoupdate.hash.regex" to the correct patterns (or
adjust the basename/sha256 anchor) so the filename and SHA256 are found, then
run the manifest formatter/linter and perform a local install test for 64bit to
confirm installation succeeds.

arvdk added a commit to arvdk/Extras that referenced this pull request Jun 9, 2026
@Vixb1122 Vixb1122 changed the title android-performance-analyzer: Add version 0.8.0-RC3 android-performance-analyzer: Add version 0.8.1 Jun 10, 2026
@Vixb1122

Copy link
Copy Markdown
Contributor Author

/verify

@github-actions

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

android-performance-analyzer

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

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]: Android Performance Analyzer

1 participant