Skip to content

cascadeur: Update to version 2025.3.101, fix checkver & autoupdate#16665

Merged
z-Fng merged 1 commit into
ScoopInstaller:masterfrom
SorYoshino:cascadeur
Nov 27, 2025
Merged

cascadeur: Update to version 2025.3.101, fix checkver & autoupdate#16665
z-Fng merged 1 commit into
ScoopInstaller:masterfrom
SorYoshino:cascadeur

Conversation

@SorYoshino

@SorYoshino SorYoshino commented Nov 27, 2025

Copy link
Copy Markdown
Contributor

Summary

This includes removing invalid characters, updating metadata fields, correcting cleanup logic, and improving version-matching patterns.

Changes

  • Correcte version from _2025.3.101 to 2025.3.101
  • Update pre_install logic for safer and more accurate cleanup:
  • Improve checkver.regex for clarity, case-insensitivity, and stricter version/build extraction
  • Simplifie autoupdate URL using $matchName to avoid redundant filename reconstruction

Testing

┏[ D:\Software\Scoop\Local\apps\scoop\current\bin][ master ≡]
└─> .\checkver.ps1 -App cascadeur -Dir 'D:\Temporary\Software\Microsoft\Windows Sandbox\Repositories\Scoop\Buckets\Extras\bucket' -f
cascadeur: 2025.3.101 (scoop version is 2025.3.101)
Forcing autoupdate!
Autoupdating cascadeur
DEBUG[1764267144] [$updatedProperties] = [url hash] -> D:\Software\Scoop\Local\apps\scoop\current\lib\autoupdate.ps1:491:5
DEBUG[1764267144] $substitutions (hashtable) -> D:\Software\Scoop\Local\apps\scoop\current\lib\autoupdate.ps1:221:5
DEBUG[1764267144] $substitutions.$matchVersion                  2025.3
DEBUG[1764267144] $substitutions.$matchTail
DEBUG[1764267144] $substitutions.$dotVersion                    2025.3.101
DEBUG[1764267144] $substitutions.$matchHead                     2025.3.101
DEBUG[1764267144] $substitutions.$version                       2025.3.101
DEBUG[1764267144] $substitutions.$basenameNoExt                 Cascadeur__2025.3
DEBUG[1764267144] $substitutions.$buildVersion
DEBUG[1764267144] $substitutions.$cleanVersion                  20253101
DEBUG[1764267144] $substitutions.$minorVersion                  3
DEBUG[1764267144] $substitutions.$basename                      Cascadeur__2025.3.exe
DEBUG[1764267144] $substitutions.$patchVersion                  101
DEBUG[1764267144] $substitutions.$majorVersion                  2025
DEBUG[1764267144] $substitutions.$matchBuild                    101
DEBUG[1764267144] $substitutions.$baseurl                       https://cdn.cascadeur.com/builds/windows/101
DEBUG[1764267144] $substitutions.$matchName                     Cascadeur__2025.3.exe
DEBUG[1764267144] $substitutions.$preReleaseVersion             2025.3.101
DEBUG[1764267144] $substitutions.$urlNoExt                      https://cdn.cascadeur.com/builds/windows/101/Cascadeur__2025.3
DEBUG[1764267144] $substitutions.$url                           https://cdn.cascadeur.com/builds/windows/101/Cascadeur__2025.3.exe
DEBUG[1764267144] $substitutions.$underscoreVersion             2025_3_101
DEBUG[1764267144] $substitutions.$dashVersion                   2025-3-101
DEBUG[1764267144] $hashfile_url = $null -> D:\Software\Scoop\Local\apps\scoop\current\lib\autoupdate.ps1:224:5
Downloading Cascadeur__2025.3.exe to compute hashes!
Loading Cascadeur__2025.3.exe from cache
Computed hash: eb0120b0959c695138c9d8cb6d69cba21045c0e7c9f7dddcb900198d1a58e019
Writing updated cascadeur manifest

┏[ D:\Software\Scoop\Local\apps\scoop\current\bin][ master ≡]
└─> scoop install Unofficial/cascadeur
Installing 'cascadeur' (2025.3.101) [64bit] from 'Unofficial' bucket
Loading Cascadeur__2025.3.exe from cache.
Checking hash of Cascadeur__2025.3.exe ... ok.
Extracting Cascadeur__2025.3.exe ... done.
Running pre_install script...done.
Linking D:\Software\Scoop\Local\apps\cascadeur\current => D:\Software\Scoop\Local\apps\cascadeur\2025.3.101
Creating shortcut for Cascadeur (cascadeur.exe)
'cascadeur' (2025.3.101) was installed successfully!
  • Use conventional PR title: <manifest-name[@version]|chore>: <general summary of the pull request>
  • I have read the Contributing Guide

Summary by CodeRabbit

  • Chores
    • Standardized version numbering format
    • Refined package metadata including homepage URL and description cleanup
    • Enhanced installation script with improved error handling and reliability
    • Updated automated version detection and download resolution mechanism

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Nov 27, 2025

Copy link
Copy Markdown

Walkthrough

The PR updates the Cascadeur package manifest, refining version metadata formatting, improving the pre-install script with safer error handling, and adjusting the version-check regex and download URL pattern to use dynamic asset name matching instead of template-based substitution.

Changes

Cohort / File(s) Summary
Manifest metadata & automation updates
bucket/cascadeur.json
Version formatting normalized (underscore prefix removed), homepage URL refined, description trailing space removed. Pre-install script enhanced with explicit path handling and silent error suppression. Checkver regex refactored to case-insensitive multi-group capture (build, name, version). Autoupdate URL pattern switched from template variables ($matchVersion) to dynamic asset name ($matchName) resolution.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

  • Verify the new case-insensitive regex pattern correctly matches expected download filenames across Windows build directories
  • Confirm the $matchName substitution in the autoupdate URL produces valid paths and doesn't break existing or future release downloads
  • Validate the updated pre-install script patterns (specifically 'unins*' and '$*') properly target intended artifacts

Possibly related PRs

Suggested labels

review-needed

Suggested reviewers

  • z-Fng

Poem

🐰 A version takes shape without its leading dash,
URLs now dance with names, not builds to cache,
The regex glows with case-blind sight so keen,
Cascadeur climbs to heights we've never seen! ✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main changes: updating Cascadeur to version 2025.3.101 and fixing checkver & autoupdate logic, which aligns with the primary objectives of the pull request.
Description check ✅ Passed The description includes a clear summary, detailed changes section, comprehensive testing output, and confirms both required checklist items from the template are marked complete.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ac91f76 and 7207670.

📒 Files selected for processing (1)
  • bucket/cascadeur.json (3 hunks)
🧰 Additional context used
🧠 Learnings (5)
📓 Common learnings
Learnt from: Gitoffthelawn
Repo: ScoopInstaller/Extras PR: 16106
File: bucket/czkawka-gui.json:25-25
Timestamp: 2025-09-05T09:41:52.653Z
Learning: For czkawka-gui manifests in Scoop Extras, the correct upstream filename pattern for Windows GUI builds in recent versions uses "gtk46" (without underscore), not "gtk_46" (with underscore). The autoupdate URL should use "windows_czkawka_gui_gtk46.zip" format. This was confirmed by a working 10.0.0 update with valid hash.
📚 Learning: 2025-10-19T13:58:23.389Z
Learnt from: o-l-a-v
Repo: ScoopInstaller/Extras PR: 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.

Applied to files:

  • bucket/cascadeur.json
📚 Learning: 2025-09-05T09:41:52.653Z
Learnt from: Gitoffthelawn
Repo: ScoopInstaller/Extras PR: 16106
File: bucket/czkawka-gui.json:25-25
Timestamp: 2025-09-05T09:41:52.653Z
Learning: For czkawka-gui manifests in Scoop Extras, the correct upstream filename pattern for Windows GUI builds in recent versions uses "gtk46" (without underscore), not "gtk_46" (with underscore). The autoupdate URL should use "windows_czkawka_gui_gtk46.zip" format. This was confirmed by a working 10.0.0 update with valid hash.

Applied to files:

  • bucket/cascadeur.json
📚 Learning: 2025-10-16T15:59:21.258Z
Learnt from: o-l-a-v
Repo: ScoopInstaller/Extras PR: 16349
File: bucket/fvim.json:45-49
Timestamp: 2025-10-16T15:59:21.258Z
Learning: In Scoop manifests, the `autoupdate.url` and `autoupdate.architecture.<arch>.url` fields must be valid URIs according to the JSON schema (defined with `"format": "uri"`). Variables like `$matchUrlx64` that contain only path segments must be combined with a base URL (e.g., `https://github.com/.../releases/download/`) to form a complete valid URI.

Applied to files:

  • bucket/cascadeur.json
📚 Learning: 2025-09-05T09:41:52.653Z
Learnt from: Gitoffthelawn
Repo: ScoopInstaller/Extras PR: 16106
File: bucket/czkawka-gui.json:25-25
Timestamp: 2025-09-05T09:41:52.653Z
Learning: For czkawka-gui manifests in Scoop Extras, the correct upstream filename pattern for Windows GUI builds uses "gtk46" (without underscore), not "gtk_46" (with underscore). The autoupdate URL should use "windows_czkawka_gui_gtk46.zip" format.

Applied to files:

  • bucket/cascadeur.json
⏰ 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). (1)
  • GitHub Check: WindowsPowerShell
🔇 Additional comments (4)
bucket/cascadeur.json (4)

24-25: Verify checkver replace logic produces intended version string.

The checkver regex captures build and version separately, and the replace template "${version}.${build}" would concatenate them. If the regex matches windows/101/Cascadeur_2025.3.101.exe, the result would be 2025.3.101.101, but the manifest version field is 2025.3.101.

Clarify whether this template is correct or if only ${version} should be used for the final version string. The PR summary shows successful test output, so please confirm the expected behavior.


15-15: Pre-install script improvements are appropriate.

The changes add robustness:

  • Explicit -Path $dir flag for clarity
  • -Force flag for more aggressive cleanup
  • -ErrorAction SilentlyContinue for graceful handling of missing items

Pattern change from uninstall.* to unins* is semantically sound for uninstaller cleanup. Changes look good.


24-24: Checkver regex and autoupdate URL refactoring is well-structured.

The improvements are solid:

  • Case-insensitive regex ((?i)) replaces hardcoded case variants
  • Lowercase capture group names follow modern conventions
  • Dynamic $matchName in autoupdate URL (line 30) is more maintainable than reconstructing the filename with $matchVersion
  • Named name capture group enables flexible asset matching

Structure is sound pending resolution of the version/URL mismatch flagged above.

Also applies to: 30-30


2-2: The repository clone failed. Let me search for information about Cascadeur releases and Scoop manifest conventions to verify the concerns in the review comment.

Cascadeur 2025.3.101 release Windows installer filename


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
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

cascadeur

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

Check the full log for details.

@z-Fng z-Fng left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@z-Fng z-Fng merged commit dea83cf into ScoopInstaller:master Nov 27, 2025
4 checks passed
@SorYoshino SorYoshino deleted the cascadeur branch November 27, 2025 23:14
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.

2 participants