From 25950cf932d950c842a76ae50356b35ed2bd931b Mon Sep 17 00:00:00 2001 From: Evan Zelkowitz Date: Thu, 12 Dec 2019 15:28:56 -0700 Subject: [PATCH 1/4] Initial revision of lgtm.yml config file. This allows for doing security code analysis via lgtm.com --- .lgtm.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .lgtm.yml diff --git a/.lgtm.yml b/.lgtm.yml new file mode 100644 index 00000000000..33e4140e6a9 --- /dev/null +++ b/.lgtm.yml @@ -0,0 +1,10 @@ +extraction: + cpp: + prepare: + packages: + - "libssl-dev" + after_prepare: "autoreconf -fiv" + configure: + command: "./configure" + index: + build_command: "make -j12" From 22512e372519d0e0be768f36f9b81d0f55582b70 Mon Sep 17 00:00:00 2001 From: Evan Zelkowitz Date: Thu, 12 Dec 2019 15:39:27 -0700 Subject: [PATCH 2/4] Add apache license --- .lgtm.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.lgtm.yml b/.lgtm.yml index 33e4140e6a9..f5836027a5e 100644 --- a/.lgtm.yml +++ b/.lgtm.yml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + extraction: cpp: prepare: From 6d8f149266a5d590c29414082e9e4f4fbf9fc061 Mon Sep 17 00:00:00 2001 From: Evan Zelkowitz Date: Fri, 13 Dec 2019 10:36:24 -0800 Subject: [PATCH 3/4] Add various libraries for experimental plugin builds to ensure they can build --- .lgtm.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.lgtm.yml b/.lgtm.yml index f5836027a5e..44571aea93c 100644 --- a/.lgtm.yml +++ b/.lgtm.yml @@ -19,9 +19,14 @@ extraction: cpp: prepare: packages: - - "libssl-dev" + - "libcjose-dev" + - "libcjose0" + - "libjansson-dev" + - "libluajit-5.1-dev" + - "libpcre3-dev" + - "zlib1g-dev" after_prepare: "autoreconf -fiv" configure: command: "./configure" index: - build_command: "make -j12" + build_command: "make -j" From 55df5c69bda586686dfc19e216595934338f7413 Mon Sep 17 00:00:00 2001 From: Evan Zelkowitz Date: Fri, 13 Dec 2019 11:34:08 -0800 Subject: [PATCH 4/4] Add experimental plugins to build --- .lgtm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.lgtm.yml b/.lgtm.yml index 44571aea93c..a72b8bff5d6 100644 --- a/.lgtm.yml +++ b/.lgtm.yml @@ -27,6 +27,6 @@ extraction: - "zlib1g-dev" after_prepare: "autoreconf -fiv" configure: - command: "./configure" + command: "./configure --enable-experimental-plugins" index: build_command: "make -j"