Skip to content
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

fix: change regex used to parse project names #184

Merged
merged 2 commits into from
May 2, 2023
Merged

Conversation

fleroux514
Copy link
Contributor

Using a generic regex to match anything after a digger plan/apply -p comment, instead of specific characters. Or else permitted characters for projects names declared in digger.yml need to be documented and the project names need to be validated using the same regex.

Fixes the current issue
image

@veziak
Copy link
Contributor

veziak commented May 2, 2023

@fleroux514 let's add just underscore for a start? I'm not sure what side effects we are going to have if it's too broad. We probably don't want users to use spaces, quotes etc in a project name

Copy link
Contributor

@veziak veziak left a comment

Choose a reason for hiding this comment

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

lgtm

@veziak veziak merged commit f082d66 into main May 2, 2023
@veziak veziak deleted the fix/projects-regex branch May 2, 2023 17:34
ben-of-codecraft pushed a commit to ben-of-codecraft/digger that referenced this pull request May 21, 2024
fix: change regex used to parse project names
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.

2 participants