aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-20 12:58:25 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-20 12:59:01 +0100
commit05dc633a549e8aa77eb1a66ebceb20d7f1fab6a5 (patch)
treef4c73afdabe6020ddefe4ccfd1e673b3ad4fbce4
parent29a418b45d60d18e9f1a1ca0163ab11b41634e50 (diff)
downloadvulns-05dc633a549e8aa77eb1a66ebceb20d7f1fab6a5.tar.gz
justfile: add a justfile to directory
Documents and reminds us how to run the scripts for doing work. Uses the tool, 'just' as found at https://github.com/casey/just and included in your distro. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rwxr-xr-xjustfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/justfile b/justfile
new file mode 100755
index 00000000..659bf1d3
--- /dev/null
+++ b/justfile
@@ -0,0 +1,21 @@
+#!/usr/bin/env -S just --justfile
+
+# show the list of options
+_help:
+ @just --list
+
+
+# Create a CVE for a specific Linux kernel git commit id
+cve_create GIT_ID:
+ cd {{invocation_directory()}}; scripts/cve_create {{GIT_ID}}
+
+
+# Update all allocated CVE entries with the latest version information
+cve_update:
+ cd {{invocation_directory()}}; scripts/cve_update
+
+
+# Publish all current .json files with the CVE server
+cve_publish_json:
+ cd {{invocation_directory()}}; scripts/cve_publish_json
+