diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-02-25 13:31:18 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-03-10 16:28:59 +0100 |
commit | 01c2c8c0a48f6e1c9dc3882220fd68e72f8204a6 (patch) | |
tree | ef28b10779f6b77d1c63f5fc62008eac9d39b307 /share | |
parent | 10eabcf67a3089ce9be57df2389ef6af0123eb8b (diff) | |
download | justbuild-01c2c8c0a48f6e1c9dc3882220fd68e72f8204a6.tar.gz |
just-mrrc(5): document key "invocation log"
Diffstat (limited to 'share')
-rw-r--r-- | share/man/just-mrrc.5.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/share/man/just-mrrc.5.md b/share/man/just-mrrc.5.md index 258a804a..d63bc4ec 100644 --- a/share/man/just-mrrc.5.md +++ b/share/man/just-mrrc.5.md @@ -165,6 +165,23 @@ The just-mrrc is given by a JSON object. points, etc. This is particularly useful when simultaneously working on several projects with different settings. + - The value for the key *`"invocation log"`* is a JSON object + specifying how each invocation should be logged. It supports + the following subkeys. + - *`"directory"`* A simple location object specifying under which + directory the invocations should be logged. If not given, no + invocation logging will happen. + - *`"project id"`* A path fragment specifying the subdirectory of + the given directory; if not specified, `"unknown"` will be used. + Under this directory, for each invocation, an invocation-log + directory will be created. The *`"project id"`* is given as + a separate subkey, in order to allow workspace-specific rc + files that are merged in to set this value. + - *`"metadata"`* A file name specifying where in the invocation-log + directory the metadata file should be stored. If not given, + no metadata file will be written. See **`just-profile`**(5) for + details of the format. + EXAMPLE ======= @@ -182,6 +199,10 @@ An example just-mrrc file could look like the following: , {"root": "home", "path": ".just-repos.json"} , {"root": "system", "path": "etc/just-repos.json"} ] +, "invocation log": + { "directory": {"root": "system", "path": "var/opt/just-invocation"} + , "metadata": "metadata.json" + } , "absent": [ {"root": "workspace", "path": "etc/absent.json"} , {"root": "home", "path": ".just-absent"} |