Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: implement wildcard style matching for build param values #12695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Mar 20, 2024

Allows using * to match wildcard type regex. This is useful because we allow list types in our param values. Without this if you had a list option, it would be tricky to match all params that contain some element in the list.

Demo:

param:group=*Security*
Screencast.from.2024-03-20.15-10-49.webm

The Problem

Only this 'param' term supports this right now. Others do not, so it's not consistent across all other search terms.

Copy link
Member Author

Emyrk commented Mar 20, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Emyrk and the rest of your teammates on Graphite Graphite

@Emyrk Emyrk force-pushed the stevenmasley/workspace_param_search branch from 8112eb2 to aecf9c0 Compare March 20, 2024 21:04
@Emyrk Emyrk force-pushed the stevenmasley/workspace_param_search_wildcard branch from ad20f9c to d4fb951 Compare March 20, 2024 21:28
@Emyrk Emyrk changed the title chore: implement wildcard style matching for param values chore: implement wildcard style matching for build param values Mar 20, 2024
@Emyrk Emyrk marked this pull request as ready for review March 20, 2024 21:29
@Emyrk Emyrk force-pushed the stevenmasley/workspace_param_search branch from aca699c to 2bcdbd9 Compare March 21, 2024 13:38
@Emyrk Emyrk force-pushed the stevenmasley/workspace_param_search_wildcard branch from d4fb951 to 9618597 Compare March 21, 2024 13:38
@Emyrk Emyrk force-pushed the stevenmasley/workspace_param_search branch from 2bcdbd9 to 819e861 Compare March 21, 2024 14:36
@Emyrk
Copy link
Member Author

Emyrk commented Mar 21, 2024

I am going to close this because it makes our search terms more inconsistent. We can reopen this if we decide we need it in the future.

It mainly is helpful for list style params.

@Emyrk Emyrk closed this Mar 21, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 21, 2024
@github-actions github-actions bot deleted the stevenmasley/workspace_param_search_wildcard branch September 22, 2024 00:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant