Skip to content

Add CASCADE_SERVER_IP and _PORT env variables for review hooks#213

Merged
mozzieongit merged 4 commits intomainfrom
hook-ip-port-env
Oct 14, 2025
Merged

Add CASCADE_SERVER_IP and _PORT env variables for review hooks#213
mozzieongit merged 4 commits intomainfrom
hook-ip-port-env

Conversation

@mozzieongit
Copy link
Member

This is relevant for people using POSIX sh, which has no easy integrated way of splitting out the port from the _SERVER variable if it is an IPv6 address. (See #198)

Currently, this PR just adds the two other variables. We can leave the CASCADE_SERVER variable for convenience, or remove it to prevent clutter. Any preference?

Closes: #201

@mozzieongit mozzieongit requested a review from a team October 14, 2025 15:36
Copy link
Member

@ximon18 ximon18 left a comment

Choose a reason for hiding this comment

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

LGTM. Will you update the docs and config file comments to match?

@mozzieongit
Copy link
Member Author

LGTM. Will you update the docs and config file comments to match?

Will do

@mozzieongit mozzieongit merged commit e8e6bdd into main Oct 14, 2025
27 checks passed
@mozzieongit mozzieongit deleted the hook-ip-port-env branch October 14, 2025 18:49
@ximon18 ximon18 added this to the 0.1.0-alpha2 milestone Oct 16, 2025
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.

Split out CASCADE_SERVER review variable into CASCADE_SERVER_IP and CASCADE_SERVER_PORT

2 participants