Skip to content

Conversation

@Vixb1122
Copy link
Contributor

@Vixb1122 Vixb1122 commented Oct 22, 2025

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

Summary by CodeRabbit

  • Chores
    • Version bumped to 0.8.0.
    • Homepage updated to the new domain.
    • Desktop download URL and checksum updated for the new release.
    • Automated update/check mechanisms adjusted to pull releases from the repository and reference the new desktop asset path.
    • Installer pre/post actions and uninstaller behavior remain unchanged.

@coderabbitai
Copy link

coderabbitai bot commented Oct 22, 2025

Walkthrough

Bumps Folo package from 0.7.0 → 0.8.0, updates homepage to https://folo.is/, replaces Windows x64 download URL and SHA-512 with desktop/v0.8.0 values, and switches checkver/autoupdate to use the GitHub Releases API with a desktop/v([\d.]+) version regex; install hooks unchanged.

Changes

Cohort / File(s) Change Summary
Folo manifest
bucket/folo.json
Version bump 0.7.0 → 0.8.0; homepage changed to https://folo.is/; Windows x64 download URL updated to desktop/v0.8.0 and SHA-512 replaced; checkver switched to GitHub Releases API (https://api.github.com/repositories/783512367/releases) with regex desktop/v([\d.]+); autoupdate asset URL pattern changed to desktop/v$version and hash lookup still uses latest.yml with regex for x64 exe; pre/post-install and uninstaller blocks unchanged.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • z-Fng

Poem

🐰 I bounced from .7 to .8 with cheer,
New URLs and hashes now appear.
The checkver sniffs releases via the API,
Desktop builds hop forward — oh my!
Little rabbit, manifest fixed and clear. 🥕

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed The PR description includes both required checklist items checked: the use of conventional PR title format and confirmation of reading the Contributing Guide. Both checkbox items align with the template requirements. While the issue reference section (Closes #XXXX or Relates to #XXXX) shown in the template is not filled in the description body itself, the pr_objectives indicate that a related issue (#16379) was referenced in a comment, and the issue reference appears to be a supplementary section rather than a critical checkbox requirement.
Title Check ✅ Passed The pull request title "folo: Update to version 0.8.0, update checkver" directly corresponds to the two primary changes documented in the raw_summary: the version bump from 0.7.0 to 0.8.0 and the checkver mechanism update to use the GitHub API. The title uses a conventional package-naming format (package: change1, change2), is concise and clear, and specifically identifies what is being updated without vague terminology. While the changeset includes additional modifications like homepage and URL updates, these are secondary consequences of the version bump and not required to be mentioned in the title per the stated criteria.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

@github-actions
Copy link
Contributor

All changes look good.

Wait for review from human collaborators.

folo

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

Check the full log for details.

Copy link

@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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
bucket/folo.json (1)

42-45: Looking at the search results, the v0.7.1 release includes multiple assets with SHA-256 checksums, but there's no mention of a latest.yml file. Let me check the GitHub API directly and verify whether the Windows executable exists with the expected hash format:

Now let me check if the Windows x64 executable is actually available in the Folo releases:

The autoupdate mechanism is broken and relies on a non-existent latest.yml file.

The Folo v0.7.1 Windows x64 release exists with SHA-256 checksum: 39f12eee308f6fadc81eeaa6afe53b680aed7922e267969bb7e84ec090d63fa8, but the manifest's hash retrieval expects a latest.yml file containing SHA-512 hashes at the release URL. This file does not exist—the curl request returned no content.

The regex pattern (?sm)x64.exe.*?sha512:\\s+$base64 will fail to extract any hash. When hash extraction fails, Scoop falls back to downloading and computing hashes locally, so the manifest may still function for updates, but the intended autoupdate mechanism is non-functional. Either the maintainer updates the manifest manually, or Scoop computes SHA-256 hashes at update time (which differs from the manifest's SHA-512 expectation).

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d6a339c and c70e54c.

📒 Files selected for processing (1)
  • bucket/folo.json (2 hunks)
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: o-l-a-v
PR: ScoopInstaller/Extras#16378
File: bucket/compactgui.json:20-22
Timestamp: 2025-10-19T13:58:23.389Z
Learning: In the ScoopInstaller/Extras repository, the CompactGUI manifest removed hash verification from the autoupdate block because the hash verification mechanism (scraping SHA-256 from release page HTML) is no longer available in newer CompactGUI releases. GitHub asset digests exist in beta releases but not in v3.8.0, and Scoop doesn't have built-in support for extracting from GitHub API asset digests.
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: PowerShell
  • GitHub Check: WindowsPowerShell
🔇 Additional comments (1)
bucket/folo.json (1)

2-2: No issues found. All metadata updates verified as accurate.

The release desktop/v0.7.1 exists and is publicly available on GitHub. The download URL is accessible, the homepage redirects correctly, and the autoupdate mechanism is properly configured to extract the SHA-512 hash from latest.yml. Version number, homepage URL change, and binary hash are all consistent with the actual release.

bucket/folo.json Outdated
Comment on lines 35 to 36
"url": "https://api.github.com/repos/RSSNext/Folo/releases",
"regex": "desktop/v([\\d.-]+)"
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Verify release tag naming pattern consistency.

The checkver mechanism assumes all releases use the "desktop/v" prefix format. This is a critical assumption—if any releases use different tag formats (e.g., plain "v0.7.1"), they will be missed by the version checker.

Verify that all releases consistently use this naming pattern:


🏁 Script executed:

#!/bin/bash
# Description: Check all release tag patterns to ensure they match the expected "desktop/v" format

echo "=== All release tags (to verify naming consistency) ==="
curl -s https://api.github.com/repos/RSSNext/Folo/releases | jq -r '.[].tag_name' | sort -V

echo "=== Tags matching 'desktop/v' pattern ==="
curl -s https://api.github.com/repos/RSSNext/Folo/releases | jq -r '.[].tag_name | select(test("^desktop/v"))' | wc -l

echo "=== Tags NOT matching 'desktop/v' pattern (if any) ==="
curl -s https://api.github.com/repos/RSSNext/Folo/releases | jq -r '.[].tag_name | select(test("^desktop/v") | not)'

Length of output: 625


Update checkver regex to match actual release tag format.

The regex desktop/v([\d.-]+) only matches a single release (desktop/v0.7.1), completely missing the primary releases that use the plain v prefix. The latest version is v0.7.0, which will not be detected by the current pattern.

Update the regex to: v([\d.-]+) to match the predominant release naming scheme.

🤖 Prompt for AI Agents
In bucket/folo.json around lines 35 to 36 the checkver regex
"desktop/v([\\d.-]+)" only matches tags prefixed with "desktop/v" and misses
primary releases like "v0.7.0"; update the regex to "v([\\d.-]+)" so it matches
the predominant release tag format (plain "v" prefix) ensuring latest versions
are detected.

@SorYoshino
Copy link
Contributor

@aliesbelik
Copy link
Collaborator

/verify

@github-actions
Copy link
Contributor

All changes look good.

Wait for review from human collaborators.

folo

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

Check the full log for details.

@aliesbelik aliesbelik changed the title folo: Update checkver and update to version 0.7.1 folo: Update to version 0.8.0, update checkver Oct 23, 2025
@aliesbelik aliesbelik merged commit 92997f3 into ScoopInstaller:master Oct 23, 2025
3 checks passed
@Vixb1122 Vixb1122 deleted the folo branch October 24, 2025 00:01
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.

3 participants