Skip to content

chatboxai: Update checkver regex#17489

Closed
ParkSnoopy wants to merge 1 commit into
ScoopInstaller:masterfrom
ParkSnoopy:upstream-pr-staging
Closed

chatboxai: Update checkver regex#17489
ParkSnoopy wants to merge 1 commit into
ScoopInstaller:masterfrom
ParkSnoopy:upstream-pr-staging

Conversation

@ParkSnoopy

@ParkSnoopy ParkSnoopy commented Mar 28, 2026

Copy link
Copy Markdown

Latest 2026.03.26 build v1.20.0-beta.3 is not matching with current regexp

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

Recently chatbox released version 1.20.0-beta.3 which does not match current regex pattern.

PS C:\Users\ParkSnoopy\Documents\GITHUB\Extras> .\bin\checkver.ps1 chatboxai -u
chatboxai: 1.20.0-beta.3 (scoop version is 1.19.1) autoupdate available
Autoupdating chatboxai
DEBUG[1774734520.29309] [$updatedProperties] = [url hash] -> C:\Users\ParkSnoopy\scoop\apps\scoop\current\lib\autoupdate.ps1:491:5
DEBUG[1774734520.31876] $substitutions (hashtable) -> C:\Users\ParkSnoopy\scoop\apps\scoop\current\lib\autoupdate.ps1:221:5
DEBUG[1774734520.31876] $substitutions.$buildVersion                                                                                                                                                     
DEBUG[1774734520.31876] $substitutions.$match1                        1.20.0-beta.3                                                                                                                      
DEBUG[1774734520.31876] $substitutions.$preReleaseVersion             beta.3                                                                                                                             
DEBUG[1774734520.31876] $substitutions.$version                       1.20.0-beta.3                                                                                                                      
DEBUG[1774734520.31876] $substitutions.$patchVersion                  0                                                                                                                                  
DEBUG[1774734520.31876] $substitutions.$urlNoExt                      https://download.chatboxai.app/releases/Chatbox-1.20.0-beta.3-Setup                                                                
DEBUG[1774734520.31876] $substitutions.$dotVersion                    1.20.0.beta.3                                                                                                                      
DEBUG[1774734520.31876] $substitutions.$cleanVersion                  1200beta3                                                                                                                          
DEBUG[1774734520.31876] $substitutions.$underscoreVersion             1_20_0_beta_3                                                                                                                      
DEBUG[1774734520.31876] $substitutions.$minorVersion                  20                                                                                                                                 
DEBUG[1774734520.31876] $substitutions.$url                           https://download.chatboxai.app/releases/Chatbox-1.20.0-beta.3-Setup.exe                                                            
DEBUG[1774734520.31876] $substitutions.$majorVersion                  1                                                                                                                                  
DEBUG[1774734520.31876] $substitutions.$matchTail                     -beta.3                                                                                                                            
DEBUG[1774734520.31876] $substitutions.$basenameNoExt                 Chatbox-1.20.0-beta.3-Setup                                                                                                        
DEBUG[1774734520.31876] $substitutions.$basename                      Chatbox-1.20.0-beta.3-Setup.exe                                                                                                    
DEBUG[1774734520.31876] $substitutions.$dashVersion                   1-20-0-beta-3                                                                                                                      
DEBUG[1774734520.31876] $substitutions.$baseurl                       https://download.chatboxai.app/releases                                                                                            
DEBUG[1774734520.31876] $substitutions.$matchHead                     1.20.0                                                                                                                             
DEBUG[1774734520.38951] $hashfile_url = $null -> C:\Users\ParkSnoopy\scoop\apps\scoop\current\lib\autoupdate.ps1:224:5
Downloading Chatbox-1.20.0-beta.3-Setup.exe to compute hashes!
Chatbox-1.20.0-beta.3-Setup.exe (194.1 MB) [===================================================================================================================================================] 100%
Computed hash: ed7a854aab28e73075af50567b787e5e2c0ffada1db4f70e085cc6da9ca80ab5
DEBUG[1774734562.78173] $substitutions (hashtable) -> C:\Users\ParkSnoopy\scoop\apps\scoop\current\lib\autoupdate.ps1:221:5
DEBUG[1774734562.78173] $substitutions.$buildVersion                                                                                                                                                     
DEBUG[1774734562.78173] $substitutions.$match1                        1.20.0-beta.3                                                                                                                      
DEBUG[1774734562.78173] $substitutions.$preReleaseVersion             beta.3                                                                                                                             
DEBUG[1774734562.78173] $substitutions.$version                       1.20.0-beta.3                                                                                                                      
DEBUG[1774734562.78173] $substitutions.$patchVersion                  0                                                                                                                                  
DEBUG[1774734562.78173] $substitutions.$urlNoExt                      https://download.chatboxai.app/releases/Chatbox-1.20.0-beta.3-Setup                                                                
DEBUG[1774734562.78173] $substitutions.$dotVersion                    1.20.0.beta.3                                                                                                                      
DEBUG[1774734562.78173] $substitutions.$cleanVersion                  1200beta3                                                                                                                          
DEBUG[1774734562.78173] $substitutions.$underscoreVersion             1_20_0_beta_3                                                                                                                      
DEBUG[1774734562.78173] $substitutions.$minorVersion                  20                                                                                                                                 
DEBUG[1774734562.78173] $substitutions.$url                           https://download.chatboxai.app/releases/Chatbox-1.20.0-beta.3-Setup.exe                                                            
DEBUG[1774734562.78173] $substitutions.$majorVersion                  1                                                                                                                                  
DEBUG[1774734562.78173] $substitutions.$matchTail                     -beta.3                                                                                                                            
DEBUG[1774734562.78173] $substitutions.$basenameNoExt                 Chatbox-1.20.0-beta.3-Setup                                                                                                        
DEBUG[1774734562.78173] $substitutions.$basename                      Chatbox-1.20.0-beta.3-Setup.exe                                                                                                    
DEBUG[1774734562.78173] $substitutions.$dashVersion                   1-20-0-beta-3                                                                                                                      
DEBUG[1774734562.78173] $substitutions.$baseurl                       https://download.chatboxai.app/releases                                                                                            
DEBUG[1774734562.78173] $substitutions.$matchHead                     1.20.0                                                                                                                             
DEBUG[1774734562.79394] $hashfile_url = $null -> C:\Users\ParkSnoopy\scoop\apps\scoop\current\lib\autoupdate.ps1:224:5
Downloading Chatbox-1.20.0-beta.3-Setup.exe to compute hashes!
Loading Chatbox-1.20.0-beta.3-Setup.exe from cache
Computed hash: ed7a854aab28e73075af50567b787e5e2c0ffada1db4f70e085cc6da9ca80ab5
Writing updated chatboxai manifest

Summary by CodeRabbit

  • Chores
    • Version detection system now supports pre-release and build-style version identifiers, enabling recognition of a broader range of release version formats.

Latest `2026.03.26` build `v1.20.0-beta.3` is not matching with current regexp
@coderabbitai

coderabbitai Bot commented Mar 28, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3bdc21fa-b8da-4c16-9f40-ca9f33a5753e

📥 Commits

Reviewing files that changed from the base of the PR and between d2f0ee1 and dd32a09.

📒 Files selected for processing (1)
  • bucket/chatboxai.json

Walkthrough

Updated the checkver.regex pattern in the manifest to capture version strings with optional hyphenated suffixes, changing from a simple numeric capture to a pattern supporting pre-release identifiers like 1.0.0-beta in release URLs.

Changes

Cohort / File(s) Summary
Version Detection Configuration
bucket/chatboxai.json
Updated checkver.regex from ([0-9.]+) to ([0-9.]+(?:-[a-zA-Z0-9.]+)?)-Setup.exe to capture version strings with optional hyphenated suffixes (e.g., pre-release identifiers).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested labels

review-needed

Suggested reviewers

  • z-Fng

Poem

🐰 A regex refined with care,
Now hyphens dance freely there,
Pre-release tags, oh what a sight,
Version strings captured just right!
ChatBox glows with versions bright ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

Your changes did not pass all checks.

Please address the issues in the manifest and comment starting with /verify to rerun the checks.

chatboxai

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

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.

2 participants