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: Fix target parsing and emitting for publish issues #5026

Merged
merged 4 commits into from
Feb 10, 2025

Conversation

lforst
Copy link
Member

@lforst lforst commented Feb 10, 2025

This PR fixes parsing of checked/unchecked targets in the publish issues.

For release #5025 we noticed that checking checkboxes didn't work and it was due to faulty regexes in the logic that "parsed" the github issue. More concretely, the regexes didn't account for @ characters. This PR relaxes the regex to interpret any sequence of non-whitespace characters as the target ID when parsing.

@lforst lforst marked this pull request as ready for review February 10, 2025 13:36
@lforst lforst requested a review from a team as a code owner February 10, 2025 13:36
@lforst lforst changed the title fix: Fix checked target parsing and emitting fix: Fix target parsing and emitting for publish issues Feb 10, 2025
@asottile-sentry
Copy link
Member

can you rebase out the style changes -- it's making it difficult to review your patch

@lforst
Copy link
Member Author

lforst commented Feb 10, 2025

@asottile-sentry sure thing

Copy link
Member

@asottile-sentry asottile-sentry left a comment

Choose a reason for hiding this comment

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

@asottile-sentry asottile-sentry merged commit 82c14c6 into getsentry:main Feb 10, 2025
3 checks passed
@lforst lforst mentioned this pull request Feb 11, 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.

2 participants