Skip to content

Commit

Permalink
parser-common: recognize events produced by HIS metrics checker
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudka committed Sep 30, 2022
1 parent ceb9b62 commit 39c2a87
Show file tree
Hide file tree
Showing 5 changed files with 9,355 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser-common.hh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#define RE_CHECKER_NAME_MISRA "(?:MISRA C(?:\\+\\+)?-[0-9]+ (?:Directive|Rule) [0-9.-]+)"
#define RE_CHECKER_NAME RE_CHECKER_NAME_SA "|" RE_CHECKER_NAME_CERT "|" RE_CHECKER_NAME_MISRA

#define RE_EVENT_GCC "(?:(?:(?:fatal|internal) )?[a-z][A-Za-z0-9_-]+)(?:\\[[^ \\]]+\\])?"
#define RE_EVENT_GCC "(?:(?:(?:fatal|internal) )?[A-Za-z][A-Za-z0-9_-]+)(?:\\[[^ \\]]+\\])?"
#define RE_EVENT_PROSPECTOR "(?:[A-Z]+[0-9]+\\[[a-z0-9-]+\\])"
#define RE_EVENT RE_EVENT_GCC "|" RE_EVENT_PROSPECTOR

Expand Down
1 change: 1 addition & 0 deletions tests/csgrep/99-csparser-his-metrics-args.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--mode=json
Loading

3 comments on commit 39c2a87

@packit-as-a-service
Copy link

Choose a reason for hiding this comment

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

Your git-forge project github.com/csutils/csdiff has permissions to build in @codescan/csutils Copr project configured in Packit. However, we migrated to the solution where you can configure the allowed git-forge projects in Copr yourself and will remove the configuration in Packit for the allowed projects soon. Therefore, please, add this git-forge project github.com/csutils/csdiff to Packit allowed forge projectsin the Copr project settings.

@lzaoral
Copy link
Member

Choose a reason for hiding this comment

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

@kdudka, I've changed the Copr configuration of @codescan/csutils to allow all projects from @csutils and I've also done the same for @aufover/predator.

@lzaoral
Copy link
Member

Choose a reason for hiding this comment

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

The broken link to settings for groups is already being addressed in packit/packit-service#1680.

Please sign in to comment.