Skip to content

Conversation

@evallesp
Copy link
Contributor

It seems backlash was creating ambiguity, as different regex engines handle this different.
Now is using special positioning rule technique.

@evallesp evallesp requested a review from a team as a code owner November 12, 2025 08:41
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 12, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

It seems backlash was creating ambiguity, as different regex engines
handle this different.
Now is using special positioning rule technique.

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
@evallesp evallesp force-pushed the fix-check-role-prefix-regexp branch from 047bc2a to 64e6813 Compare November 12, 2025 08:44
amartyasinha
amartyasinha previously approved these changes Nov 12, 2025
Copy link
Contributor

@rebtoor rebtoor left a comment

Choose a reason for hiding this comment

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

try this. I'm escaping every special char in the name. It should address every "corner case" we have :)

rebtoor
rebtoor previously approved these changes Nov 12, 2025
Apply rebtoor suggestion about adding scaping special characters in role names.
So now roles can have special characters "*" and "." as they're escaped.

Co-authored-by: Roberto Alfieri <538845+rebtoor@users.noreply.github.com>
Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
@evallesp evallesp force-pushed the fix-check-role-prefix-regexp branch from 8964d68 to 5bf2fce Compare November 12, 2025 09:09
amartyasinha
amartyasinha previously approved these changes Nov 12, 2025
Valkyrie00
Valkyrie00 previously approved these changes Nov 12, 2025
@evallesp evallesp dismissed stale reviews from Valkyrie00, amartyasinha, and rebtoor via 3604cbf November 12, 2025 09:40
@evallesp evallesp force-pushed the fix-check-role-prefix-regexp branch from 3604cbf to 8721a89 Compare November 12, 2025 09:41
rebtoor
rebtoor previously approved these changes Nov 12, 2025
We're skipping Single quotes in sed as we want
literal $ in the sed pattern, not shell expansion.
Added this file to irrelevant-files.

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
@brjackma brjackma merged commit fbb79d3 into openstack-k8s-operators:main Nov 12, 2025
6 checks passed
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.

5 participants