Skip to content

GH-51817: [Dev][Release] Add support for RC curl in download_rc_binaries.py - #51818

Merged
raulcd merged 1 commit into
apache:mainfrom
kou:download-rc-binaries-rc-curl
Oct 6, 2026
Merged

raulcd merged 1 commit into
apache:mainfrom
kou:download-rc-binaries-rc-curl

Conversation

@kou

@kou kou commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Rationale for this change

curl --version uses the ${MAJOR}.${MINOR}.${PATCH}-rc${RC} format for RC curl and Debian GNU/Linux sid uses RC curl.

What changes are included in this PR?

Accept the -rc${RC} part and ignore it.

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

Was AI used for this PR?

In accordance to the AI generation guidelines, please disclose below whether and how AI was used in this PR.

PR code and description written by:

  • Human
  • AI

Reviewed before submission by:

  • Human
  • AI
  • Not reviewed

Copilot AI balanced review requested due to automatic review settings October 6, 2026 04:36
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

⚠️ GitHub issue #51817 has been automatically assigned in GitHub to PR creator.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The regex correctly handles both stable and RC curl version formats without changing version comparisons.

Review effort: Balanced
Findings: None

What changed in this PR

Updates release tooling to recognize curl release-candidate version strings.

Changes:

  • Accepts and ignores optional -rcN suffixes when parsing curl versions.
File Description
dev/​release/​download_rc_binaries.py Extends curl version parsing for RC builds.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@raulcd
raulcd merged commit 258df1c into apache:main Oct 6, 2026
31 checks passed
@raulcd raulcd removed the awaiting committer review Awaiting committer review label Oct 6, 2026
@github-actions github-actions Bot added the awaiting merge Awaiting merge label Oct 6, 2026
@kou
kou deleted the download-rc-binaries-rc-curl branch October 6, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge Awaiting merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants