Skip to content

rtss@7.3.7: Fix url & checkver#16262

Merged
z-Fng merged 1 commit into
ScoopInstaller:masterfrom
z-Fng:fix-rtss
Oct 3, 2025
Merged

rtss@7.3.7: Fix url & checkver#16262
z-Fng merged 1 commit into
ScoopInstaller:masterfrom
z-Fng:fix-rtss

Conversation

@z-Fng

@z-Fng z-Fng commented Oct 3, 2025

Copy link
Copy Markdown
Member

Changes

This PR makes the following changes:

  • rtss@7.3.7: Fix url & checkver. Encode filename to pass CI and fix installation.
Checking hash of [Guru3D]-RTSSSetup737Build28314.zip ... InvalidOperation: D:\Scoop\apps\scoop\current\lib\download.ps1:734
Line |
 734 |      $actual = (Get-FileHash -Path $file -Algorithm $algorithm).Hash.T …
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
ERROR Hash check failed!
App:         extras/rtss
URL:         https://ftp.nluug.nl/pub/games/PC/guru3d/afterburner/[Guru3D]-RTSSSetup737Build28314.zip
Expected:    9b084a8cb3e53ec1a673894d0b66e22b16c9fd8785636b020b2d422f3f2a820e
Actual:

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=rtss%407.3.7%3a+hash+check+failed

Related Issues/PRs/Commits

Summary by CodeRabbit

  • Bug Fixes

    • Fixed URL encoding for installer downloads so filenames containing brackets are handled correctly.
  • Refactor

    • Improved update-check parsing to extract version and file path from redirects more reliably while keeping the final download URL unchanged.

@coderabbitai

coderabbitai Bot commented Oct 3, 2025

Copy link
Copy Markdown

Walkthrough

Updated the Scoop manifest bucket/rtss.json: checkver now parses the server's 302 redirect Location to extract file_path and file_name, percent-encodes brackets in filenames, and constructs versioned paths; autoupdate regex/path logic adjusted to use the redirect-based generic captured path segment.

Changes

Cohort / File(s) Summary of Changes
RTSS manifest updates
bucket/rtss.json
checkver now parses the 302 Location header to extract file_path and file_name; percent-encodes brackets in file_name; constructs version + file_path + '/' + file_name; updated autoupdate regex/path construction to use a generic captured path segment instead of a fixed full-URL pattern.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor User
  participant Scoop as rtss.json (checkver/autoupdate)
  participant Server as Download Server

  rect rgba(220,240,255,0.35)
    Note over Scoop,Server: checkver (redirect-parsing)
    User->>Scoop: trigger checkver
    Scoop->>Server: request version URL
    Server-->>Scoop: 302 Redirect (Location: .../<file_path>/<file_name>.exe)
    Scoop->>Scoop: parse Location → file_path, file_name
    Scoop->>Scoop: percent-encode brackets in file_name
    Scoop-->>User: computed version + file_path + "/" + file_name
  end

  rect rgba(240,255,220,0.35)
    Note over Scoop,Server: autoupdate (generic path capture)
    User->>Scoop: trigger autoupdate
    Scoop->>Server: fetch latest redirect
    Server-->>Scoop: 302 Redirect with path
    Scoop->>Scoop: apply generic regex to captured path, rebuild URL
    Scoop-->>User: updated download URL / hashes
  end
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

I hopped through redirects with bright delight,
Encoded the brackets to keep names tight.
I parsed the Location, traced every trail,
Rebuilt the paths so updates won't fail.
A rabbit's small fix—manifest gleams at night. 🐇✨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description Check ⚠️ Warning The PR description does not include a proper “Closes #XXXX” or “Relates to #XXXX” directive as specified in the repository’s description template, even though related issue #16256 is mentioned informally; all required checklist items are present but the related-issues directive is missing. Please add a “Closes #16256” or “Relates to #16256” directive in the description according to the template so that related issues are properly tracked and automatically closed or linked.
✅ Passed checks (2 passed)
Check name Status Explanation
Title Check ✅ Passed The title succinctly summarizes the main change by specifying the manifest (rtss@7.3.7) and the action (fix URL and checkver), following the repository’s conventional PR title format.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 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

github-actions Bot commented Oct 3, 2025

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.

rtss

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

Check the full log for details.

@z-Fng

z-Fng commented Oct 3, 2025

Copy link
Copy Markdown
Member Author

/verify

@github-actions

github-actions Bot commented Oct 3, 2025

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.

rtss

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

Check the full log for details.

@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: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1a901f3 and 1c5682e.

📒 Files selected for processing (1)
  • bucket/rtss.json (2 hunks)
⏰ 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

Comment thread bucket/rtss.json Outdated
@z-Fng

z-Fng commented Oct 3, 2025

Copy link
Copy Markdown
Member Author

/verify

@github-actions

github-actions Bot commented Oct 3, 2025

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.

rtss

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

Check the full log for details.

@z-Fng

z-Fng commented Oct 3, 2025

Copy link
Copy Markdown
Member Author

/verify

@github-actions

github-actions Bot commented Oct 3, 2025

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

rtss

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

Check the full log for details.

@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: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1f6110b and 6e0b391.

📒 Files selected for processing (1)
  • bucket/rtss.json (2 hunks)
⏰ 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

Comment thread bucket/rtss.json Outdated
@z-Fng

z-Fng commented Oct 3, 2025

Copy link
Copy Markdown
Member Author

/verify

@github-actions

github-actions Bot commented Oct 3, 2025

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

rtss

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

Check the full log for details.

@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: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6e0b391 and dc7f80c.

📒 Files selected for processing (1)
  • bucket/rtss.json (2 hunks)
⏰ 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: WindowsPowerShell
  • GitHub Check: PowerShell

Comment thread bucket/rtss.json
@z-Fng z-Fng merged commit 8dbe8f2 into ScoopInstaller:master Oct 3, 2025
3 checks passed
@z-Fng z-Fng deleted the fix-rtss branch October 3, 2025 11:38
@coderabbitai coderabbitai Bot mentioned this pull request Jan 20, 2026
2 tasks
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.

1 participant