Skip to content

Fix Fedora manual-install CI failures by removing rev dependency from installer fallback (#3450)#3453

Merged
plengauer merged 1 commit into
release/v5.53from
backport/bc5711cc1824ce107b036f922119e10e430c20ef
May 18, 2026
Merged

Fix Fedora manual-install CI failures by removing rev dependency from installer fallback (#3450)#3453
plengauer merged 1 commit into
release/v5.53from
backport/bc5711cc1824ce107b036f922119e10e430c20ef

Conversation

@plengauer
Copy link
Copy Markdown
Owner

Automated backport of commit bc5711c

…om installer fallback (#3450)

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 17, 2026 13:47
@plengauer plengauer requested a review from moflwi as a code owner May 17, 2026 13:47
@plengauer plengauer enabled auto-merge (squash) May 17, 2026 13:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the manual installer fallback path to avoid relying on rev (which can be missing on some distros like Fedora), improving resilience of the “download latest release” logic when the GitHub API path fails.

Changes:

  • Add a POSIX-shell extract_release_version() helper to parse the redirect location: header and extract the release tag version.
  • Replace the previous rev | cut | rev parsing in fallback download paths with extract_release_version.
  • Add a unit test covering version extraction behavior for valid vs invalid redirect URLs.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
INSTALL.sh Replaces rev-based version parsing with extract_release_version() in the curl-verbose fallback download flow.
tests/unit/test_unit_install_extract_release_version.sh Adds a unit test validating the release version extraction logic for redirect URLs.

Comment thread INSTALL.sh
Comment thread tests/unit/test_unit_install_extract_release_version.sh
@plengauer plengauer merged commit 969f7b9 into release/v5.53 May 18, 2026
579 checks passed
@plengauer plengauer deleted the backport/bc5711cc1824ce107b036f922119e10e430c20ef branch May 18, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants