Skip to content

Haproxy 3.2.15 upgrade - #40

Merged
aokhovat merged 8 commits into
bloomberg:mainfrom
aokhovat:upgrade-3-2-15
May 19, 2026
Merged

Haproxy 3.2.15 upgrade#40
aokhovat merged 8 commits into
bloomberg:mainfrom
aokhovat:upgrade-3-2-15

Conversation

@aokhovat

@aokhovat aokhovat commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Description

  • Update patch files for Haproxy upgrade to version 3.2.15
  • As the github mirror does not have all the various version tags. Update activate.sh to get the source files from the Haproxy repo instead of the mirror image from github.

Type of Change

  • Bugfix
  • New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • [X ] New code contribution is covered by automated tests

@aokhovat
aokhovat requested a review from a team as a code owner April 7, 2026 18:54
@aokhovat aokhovat changed the title Haproxy 3.2.15 upgrade HAproxy 3.2.15 upgrade Apr 7, 2026
@aokhovat aokhovat changed the title HAproxy 3.2.15 upgrade Haproxy 3.2.15 upgrade Apr 7, 2026

@jacquesh jacquesh 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.

A bunch of whitespace fiddling that seem unintentional/unnecessary to me and I'm not sure about the change to fetch tags on every activation but the actual version upgrade looks good to me.

Comment thread haproxy-lua/patches/0001-Initial-commit-of-Weir-QoS.patch Outdated
Comment thread haproxy-lua/activate.sh Outdated
@aokhovat
aokhovat requested a review from jacquesh April 14, 2026 16:19
@jacquesh
jacquesh requested review from csch1n and rohit2219 May 19, 2026 14:08

@jacquesh jacquesh 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.

I'm not 100% convinced that the complexity of handling the missing tags in a bash script is worth it, but happy to go with this as is now that the checks are local-only. Nice!

To facilitate knowledge sharing I'd like to get another maintainer to review this before merging, as previously discussed. I've requested additional reviews accordingly.

Comment thread haproxy-lua/activate.sh
# Use the major.minor series (for example, 3.3) for the upstream repo name.
# Accept commit tags in form v<major>.<minor>.<patch> or <major>.<minor>.<patch>.
if [[ "$WEIR_HAPROXY_BASE_COMMIT" =~ ^v?([0-9]+\.[0-9]+)\.[0-9]+$ ]]; then
WEIR_HAPROXY_SERIES=${BASH_REMATCH[1]}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Not a big thing , in the next change , put both these in one line like echo ""Invalid WEIR_HAPROXY_BASE_COMMIT: $WEIR_HAPROXY_BASE_COMMIT, Expected format: [v].. (for example, v3.3.6 or 3.3.6)". Its much easier to see if we put this whole thng to jenkins

@rohit2219 rohit2219 May 19, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Also if ur expecting specific versions/inputs , would be nice to have a --help for this bash script. Claude can do it for you . Again this is for next PR, no need for it to be blocker

@aokhovat
aokhovat merged commit db6ae40 into bloomberg:main May 19, 2026
2 checks passed
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