Add zeek -V/--build-info

This adds a new utility called ci/collect-repo-info.py to produce a JSON
document that is then baked into the Zeek executable file. Further, when
creating a tarball via `make dist`, put a top-level repo-info.json file
in place that is picked when no .git directory exists.

Closes #1405
This commit is contained in:
Arne Welzel 2023-02-09 11:16:05 +01:00
parent 2b33645f06
commit 3284259561
9 changed files with 224 additions and 1 deletions

View file

@ -32,6 +32,7 @@ struct Options
void filter_supervised_node_options();
bool print_version = false;
bool print_build_info = false;
bool print_usage = false;
bool print_execution_time = false;
bool print_signature_debug_info = false;