diff --git a/.lgtm.yml b/.lgtm.yml new file mode 100644 index 0000000000..15857c99e2 --- /dev/null +++ b/.lgtm.yml @@ -0,0 +1,45 @@ +# LGTM config file docs: https://lgtm.com/help/lgtm/lgtm.yml-configuration-file + +# Results from files under any classifier will be excluded from LGTM stats. +path_classifiers: + library: + - "auxil/broker/caf/" + - "auxil/libkqueue/" + - "auxil/highwayhash/" + - "auxil/rapidjson/" + - "src/3rdparty/" + +# Filter out alerts that aren't concerning. +queries: + - exclude: cpp/use-of-goto + - exclude: cpp/short-global-name + - exclude: cpp/fixme-comment + - exclude: cpp/function-in-block + +extraction: + cpp: + prepare: + # Ubuntu packages to install. + packages: + - cmake + - make + - ninja-build + - gcc + - g++ + - flex + - bison + - libpcap-dev + - libssl-dev + - python3 + - python3-dev + - swig + - zlib1g-dev + - libkrb5-dev + + configure: + command: + - ./configure --build-type=debug --generator=Ninja + + index: + build_command: + - ( cd build && ninja ) diff --git a/CHANGES b/CHANGES index 86a8809575..a6f21f8e48 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +4.1.0-dev.25 | 2020-12-28 15:37:20 -0700 + + * Add LGTM config file (Jon Siwek, Corelight) 4.1.0-dev.23 | 2020-12-23 10:36:22 -0800 diff --git a/VERSION b/VERSION index a9d4f57d3d..39478de7fc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.1.0-dev.23 +4.1.0-dev.25