From 7a8ec380d97421a02cf331f2ab9ea74cf722b036 Mon Sep 17 00:00:00 2001 From: Patrick Casey Date: Tue, 28 Jan 2025 16:36:31 -0500 Subject: [PATCH] fix: local plugins no longer overwrite released plugins - updated all local.*.kdl files to use version `0.0.0` to prevent overwriting released plugins Signed-off-by: Patrick Casey --- config/local.Hipcheck.kdl | 16 ++++++------- config/local.release.Hipcheck.kdl | 24 ++++++++++---------- plugins/activity/local-plugin.kdl | 4 ++-- plugins/activity/local-release-plugin.kdl | 4 ++-- plugins/affiliation/local-plugin.kdl | 4 ++-- plugins/affiliation/local-release-plugin.kdl | 4 ++-- plugins/binary/local-plugin.kdl | 2 +- plugins/binary/local-release-plugin.kdl | 2 +- plugins/churn/local-plugin.kdl | 4 ++-- plugins/churn/local-release-plugin.kdl | 4 ++-- plugins/entropy/local-plugin.kdl | 4 ++-- plugins/entropy/local-release-plugin.kdl | 4 ++-- plugins/fuzz/local-plugin.kdl | 4 ++-- plugins/fuzz/local-release-plugin.kdl | 4 ++-- plugins/git/local-plugin.kdl | 2 +- plugins/git/local-release-plugin.kdl | 2 +- plugins/github/local-plugin.kdl | 2 +- plugins/github/local-release-plugin.kdl | 2 +- plugins/identity/local-plugin.kdl | 4 ++-- plugins/identity/local-release-plugin.kdl | 4 ++-- plugins/linguist/local-plugin.kdl | 2 +- plugins/linguist/local-release-plugin.kdl | 2 +- plugins/npm/local-plugin.kdl | 2 +- plugins/npm/local-release-plugin.kdl | 2 +- plugins/review/local-plugin.kdl | 4 ++-- plugins/review/local-release-plugin.kdl | 4 ++-- plugins/typo/local-plugin.kdl | 4 ++-- plugins/typo/local-release-plugin.kdl | 4 ++-- 28 files changed, 62 insertions(+), 62 deletions(-) diff --git a/config/local.Hipcheck.kdl b/config/local.Hipcheck.kdl index 2ea1190c..d140bb4a 100644 --- a/config/local.Hipcheck.kdl +++ b/config/local.Hipcheck.kdl @@ -1,12 +1,12 @@ plugins { - plugin "mitre/activity" version="0.2.0" manifest="plugins/activity/local-plugin.kdl" - plugin "mitre/affiliation" version="0.2.0" manifest="plugins/affiliation/local-plugin.kdl" - plugin "mitre/binary" version="0.1.0" manifest="plugins/binary/local-plugin.kdl" - plugin "mitre/churn" version="0.2.0" manifest="plugins/churn/local-plugin.kdl" - plugin "mitre/entropy" version="0.2.0" manifest="plugins/entropy/local-plugin.kdl" - plugin "mitre/fuzz" version="0.1.1" manifest="plugins/fuzz/local-plugin.kdl" - plugin "mitre/review" version="0.1.0" manifest="plugins/review/local-plugin.kdl" - plugin "mitre/typo" version="0.1.0" manifest="plugins/typo/local-plugin.kdl" + plugin "mitre/activity" version="0.0.0" manifest="plugins/activity/local-plugin.kdl" + plugin "mitre/affiliation" version="0.0.0" manifest="plugins/affiliation/local-plugin.kdl" + plugin "mitre/binary" version="0.0.0" manifest="plugins/binary/local-plugin.kdl" + plugin "mitre/churn" version="0.0.0" manifest="plugins/churn/local-plugin.kdl" + plugin "mitre/entropy" version="0.0.0" manifest="plugins/entropy/local-plugin.kdl" + plugin "mitre/fuzz" version="0.0.0" manifest="plugins/fuzz/local-plugin.kdl" + plugin "mitre/review" version="0.0.0" manifest="plugins/review/local-plugin.kdl" + plugin "mitre/typo" version="0.0.0" manifest="plugins/typo/local-plugin.kdl" } patch { diff --git a/config/local.release.Hipcheck.kdl b/config/local.release.Hipcheck.kdl index 2267b072..1b42a102 100644 --- a/config/local.release.Hipcheck.kdl +++ b/config/local.release.Hipcheck.kdl @@ -1,13 +1,13 @@ plugins { - plugin "mitre/activity" version="0.2.0" manifest="plugins/activity/local-release-plugin.kdl" - plugin "mitre/affiliation" version="0.2.0" manifest="plugins/affiliation/local-release-plugin.kdl" - plugin "mitre/binary" version="0.1.0" manifest="plugins/binary/local-release-plugin.kdl" - plugin "mitre/churn" version="0.2.0" manifest="plugins/churn/local-release-plugin.kdl" - plugin "mitre/entropy" version="0.2.0" manifest="plugins/entropy/local-release-plugin.kdl" - plugin "mitre/fuzz" version="0.1.1" manifest="plugins/fuzz/local-release-plugin.kdl" - plugin "mitre/review" version="0.1.0" manifest="plugins/review/local-release-plugin.kdl" - plugin "mitre/typo" version="0.1.0" manifest="plugins/typo/local-release-plugin.kdl" + plugin "mitre/activity" version="0.0.0" manifest="plugins/activity/local-release-plugin.kdl" + plugin "mitre/affiliation" version="0.0.0" manifest="plugins/affiliation/local-release-plugin.kdl" + plugin "mitre/binary" version="0.0.0" manifest="plugins/binary/local-release-plugin.kdl" + plugin "mitre/churn" version="0.0.0" manifest="plugins/churn/local-release-plugin.kdl" + plugin "mitre/entropy" version="0.0.0" manifest="plugins/entropy/local-release-plugin.kdl" + plugin "mitre/fuzz" version="0.0.0" manifest="plugins/fuzz/local-release-plugin.kdl" + plugin "mitre/review" version="0.0.0" manifest="plugins/review/local-release-plugin.kdl" + plugin "mitre/typo" version="0.0.0" manifest="plugins/typo/local-release-plugin.kdl" } patch { @@ -23,7 +23,7 @@ analyze { category "practices" { analysis "mitre/activity" policy="(lte $ P52w)" weight=3 analysis "mitre/binary" { - binary-file #rel("Binary.toml") + binary-file #rel("Binary.kdl") binary-file-threshold 0 } analysis "mitre/fuzz" policy="(eq #t $)" @@ -32,7 +32,7 @@ analyze { category "attacks" { analysis "mitre/typo" { - typo-file #rel("Typos.toml") + typo-file #rel("Typos.kdl") count-threshold 0 } @@ -43,12 +43,12 @@ analyze { } analysis "mitre/entropy" policy="(eq 0 (count (filter (gt 8.0) $)))" { - langs-file #rel("Langs.toml") + langs-file #rel("Langs.kdl") entropy-threshold 10.0 commit-percentage 0.0 } analysis "mitre/churn" policy="(lte (divz (count (filter (gt 3) $)) (count $)) 0.02)" { - langs-file #rel("Langs.toml") + langs-file #rel("Langs.kdl") } } } diff --git a/plugins/activity/local-plugin.kdl b/plugins/activity/local-plugin.kdl index 4863b74f..fdb202a5 100644 --- a/plugins/activity/local-plugin.kdl +++ b/plugins/activity/local-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "activity" -version "0.2.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/git" version="0.3.0" manifest="./plugins/git/local-plugin.kdl" + plugin "mitre/git" version="0.0.0" manifest="./plugins/git/local-plugin.kdl" } diff --git a/plugins/activity/local-release-plugin.kdl b/plugins/activity/local-release-plugin.kdl index 9ab06f3e..8453132b 100644 --- a/plugins/activity/local-release-plugin.kdl +++ b/plugins/activity/local-release-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "activity" -version "0.2.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/git" version="0.3.0" manifest="./plugins/git/local-release-plugin.kdl" + plugin "mitre/git" version="0.0.0" manifest="./plugins/git/local-release-plugin.kdl" } diff --git a/plugins/affiliation/local-plugin.kdl b/plugins/affiliation/local-plugin.kdl index 12045ab3..190777ad 100644 --- a/plugins/affiliation/local-plugin.kdl +++ b/plugins/affiliation/local-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "affiliation" -version "0.2.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/git" version="0.3.0" manifest="./plugins/git/local-plugin.kdl" + plugin "mitre/git" version="0.0.0" manifest="./plugins/git/local-plugin.kdl" } diff --git a/plugins/affiliation/local-release-plugin.kdl b/plugins/affiliation/local-release-plugin.kdl index 35aaa30c..b77178a2 100644 --- a/plugins/affiliation/local-release-plugin.kdl +++ b/plugins/affiliation/local-release-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "affiliation" -version "0.2.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/git" version="0.3.0" manifest="./plugins/git/local-release-plugin.kdl" + plugin "mitre/git" version="0.0.0" manifest="./plugins/git/local-release-plugin.kdl" } diff --git a/plugins/binary/local-plugin.kdl b/plugins/binary/local-plugin.kdl index adf49a02..483730b9 100644 --- a/plugins/binary/local-plugin.kdl +++ b/plugins/binary/local-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "binary" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { diff --git a/plugins/binary/local-release-plugin.kdl b/plugins/binary/local-release-plugin.kdl index 53e5a4ac..efe79a7d 100644 --- a/plugins/binary/local-release-plugin.kdl +++ b/plugins/binary/local-release-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "binary" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { diff --git a/plugins/churn/local-plugin.kdl b/plugins/churn/local-plugin.kdl index ed3a4344..26499d33 100644 --- a/plugins/churn/local-plugin.kdl +++ b/plugins/churn/local-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "churn" -version "0.2.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/git" version="0.3.0" manifest="./plugins/git/local-plugin.kdl" + plugin "mitre/git" version="0.0.0" manifest="./plugins/git/local-plugin.kdl" } diff --git a/plugins/churn/local-release-plugin.kdl b/plugins/churn/local-release-plugin.kdl index 3b1ecc72..7c2cad58 100644 --- a/plugins/churn/local-release-plugin.kdl +++ b/plugins/churn/local-release-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "churn" -version "0.2.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/git" version="0.3.0" manifest="./plugins/git/local-release-plugin.kdl" + plugin "mitre/git" version="0.0.0" manifest="./plugins/git/local-release-plugin.kdl" } diff --git a/plugins/entropy/local-plugin.kdl b/plugins/entropy/local-plugin.kdl index 8c83eea0..bc09371f 100644 --- a/plugins/entropy/local-plugin.kdl +++ b/plugins/entropy/local-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "entropy" -version "0.2.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/git" version="0.3.0" manifest="./plugins/git/local-plugin.kdl" + plugin "mitre/git" version="0.0.0" manifest="./plugins/git/local-plugin.kdl" } diff --git a/plugins/entropy/local-release-plugin.kdl b/plugins/entropy/local-release-plugin.kdl index 6021ed73..3e3f8474 100644 --- a/plugins/entropy/local-release-plugin.kdl +++ b/plugins/entropy/local-release-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "entropy" -version "0.2.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/git" version="0.3.0" manifest="./plugins/git/local-release-plugin.kdl" + plugin "mitre/git" version="0.0.0" manifest="./plugins/git/local-release-plugin.kdl" } diff --git a/plugins/fuzz/local-plugin.kdl b/plugins/fuzz/local-plugin.kdl index ab0643a9..913bdf67 100644 --- a/plugins/fuzz/local-plugin.kdl +++ b/plugins/fuzz/local-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "fuzz" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/github" version="0.1.0" manifest="./plugins/github/local-plugin.kdl" + plugin "mitre/github" version="0.0.0" manifest="./plugins/github/local-plugin.kdl" } diff --git a/plugins/fuzz/local-release-plugin.kdl b/plugins/fuzz/local-release-plugin.kdl index 7327d409..376b7da9 100644 --- a/plugins/fuzz/local-release-plugin.kdl +++ b/plugins/fuzz/local-release-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "fuzz" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/github" version="0.1.0" manifest="./plugins/github/local-release-plugin.kdl" + plugin "mitre/github" version="0.0.0" manifest="./plugins/github/local-release-plugin.kdl" } diff --git a/plugins/git/local-plugin.kdl b/plugins/git/local-plugin.kdl index 99c26235..92bdeffe 100644 --- a/plugins/git/local-plugin.kdl +++ b/plugins/git/local-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "git" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { diff --git a/plugins/git/local-release-plugin.kdl b/plugins/git/local-release-plugin.kdl index e0b17bc1..afb9cad0 100644 --- a/plugins/git/local-release-plugin.kdl +++ b/plugins/git/local-release-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "git" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { diff --git a/plugins/github/local-plugin.kdl b/plugins/github/local-plugin.kdl index 30b1ada4..875b5a8e 100644 --- a/plugins/github/local-plugin.kdl +++ b/plugins/github/local-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "github" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { diff --git a/plugins/github/local-release-plugin.kdl b/plugins/github/local-release-plugin.kdl index be27e439..74bc9847 100644 --- a/plugins/github/local-release-plugin.kdl +++ b/plugins/github/local-release-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "github" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { diff --git a/plugins/identity/local-plugin.kdl b/plugins/identity/local-plugin.kdl index 693d34ed..f880e074 100644 --- a/plugins/identity/local-plugin.kdl +++ b/plugins/identity/local-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "identity" -version "0.2.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/git" version="0.3.0" manifest="./plugins/git/local-plugin.kdl" + plugin "mitre/git" version="0.0.0" manifest="./plugins/git/local-plugin.kdl" } diff --git a/plugins/identity/local-release-plugin.kdl b/plugins/identity/local-release-plugin.kdl index 3c853d31..812345a3 100644 --- a/plugins/identity/local-release-plugin.kdl +++ b/plugins/identity/local-release-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "identity" -version "0.2.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/git" version="0.3.0" manifest="./plugins/git/local-release-plugin.kdl" + plugin "mitre/git" version="0.0.0" manifest="./plugins/git/local-release-plugin.kdl" } diff --git a/plugins/linguist/local-plugin.kdl b/plugins/linguist/local-plugin.kdl index 470a1f6b..f8acaed3 100644 --- a/plugins/linguist/local-plugin.kdl +++ b/plugins/linguist/local-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "linguist" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { diff --git a/plugins/linguist/local-release-plugin.kdl b/plugins/linguist/local-release-plugin.kdl index 15091077..a599c0a1 100644 --- a/plugins/linguist/local-release-plugin.kdl +++ b/plugins/linguist/local-release-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "linguist" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { diff --git a/plugins/npm/local-plugin.kdl b/plugins/npm/local-plugin.kdl index 316464ed..0b88dbe8 100644 --- a/plugins/npm/local-plugin.kdl +++ b/plugins/npm/local-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "npm" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { diff --git a/plugins/npm/local-release-plugin.kdl b/plugins/npm/local-release-plugin.kdl index ee380932..4d7ad04f 100644 --- a/plugins/npm/local-release-plugin.kdl +++ b/plugins/npm/local-release-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "npm" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { diff --git a/plugins/review/local-plugin.kdl b/plugins/review/local-plugin.kdl index 0c1d02ee..98460c25 100644 --- a/plugins/review/local-plugin.kdl +++ b/plugins/review/local-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "review" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/github" version="0.1.0" manifest="./plugins/github/local-plugin.kdl" + plugin "mitre/github" version="0.0.0" manifest="./plugins/github/local-plugin.kdl" } diff --git a/plugins/review/local-release-plugin.kdl b/plugins/review/local-release-plugin.kdl index 2b8d36e9..9734280a 100644 --- a/plugins/review/local-release-plugin.kdl +++ b/plugins/review/local-release-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "review" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/github" version="0.1.0" manifest="./plugins/github/local-release-plugin.kdl" + plugin "mitre/github" version="0.0.0" manifest="./plugins/github/local-release-plugin.kdl" } diff --git a/plugins/typo/local-plugin.kdl b/plugins/typo/local-plugin.kdl index 80d4b57a..b365cb95 100644 --- a/plugins/typo/local-plugin.kdl +++ b/plugins/typo/local-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "typo" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/npm" version="0.1.0" manifest="./plugins/npm/local-plugin.kdl" + plugin "mitre/npm" version="0.0.0" manifest="./plugins/npm/local-plugin.kdl" } diff --git a/plugins/typo/local-release-plugin.kdl b/plugins/typo/local-release-plugin.kdl index 67f9949e..67ffedd4 100644 --- a/plugins/typo/local-release-plugin.kdl +++ b/plugins/typo/local-release-plugin.kdl @@ -1,6 +1,6 @@ publisher "mitre" name "typo" -version "0.1.0" +version "0.0.0" license "Apache-2.0" entrypoint { @@ -11,5 +11,5 @@ entrypoint { } dependencies { - plugin "mitre/npm" version="0.1.0" manifest="./plugins/npm/local-release-plugin.kdl" + plugin "mitre/npm" version="0.0.0" manifest="./plugins/npm/local-release-plugin.kdl" }