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

Checkjira skip logs #78

Open
wants to merge 2 commits into
base: next
Choose a base branch
from
Open

Checkjira skip logs #78

wants to merge 2 commits into from

Conversation

gnustavo
Copy link
Owner

@gnustavo gnustavo commented Nov 2, 2023

Implement the skip-logs directive.

When the CONFIG_ENCODING variable was set and the git configuration was
empty, the get_config method would try to decode an undefined value.

The fix also allowed us to avoid a conditional, which eliminated one
level of nesting, which required a "no critic" directive to placate
Perl::Critic. That's not necessary anymore.
@gnustavo gnustavo force-pushed the checkjira-skip-logs branch from af9f787 to 1e8f16c Compare November 3, 2023 23:37
@boudekerk
Copy link
Contributor

Thinking about this some more, I do wonder if adding this directive is the best solution. There's a plugin for parsing logs already, so with my proposed 'OR' feature, that can be used instead of duplicating CheckLog functionality into individual plugins. Because I can see skip-logs being useful for other plugins as well, I don't think it's necessarily JIRA specific.

I think a way where either CheckLog or CheckJira must match is cleaner. (The idea that is, not necessarily my implementation of it)

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