summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2025-02-04 14:59:18 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2025-02-05 12:05:15 +0100
commit080a004cfb05a4753b3d5ce9144e75accce72eed (patch)
tree6c2acc46590e95f3294cbf33c7da369953911d0e
parentf60ada06fa7d8c8c6530b316c9fe38cfb800f111 (diff)
downloadjustbuild-080a004cfb05a4753b3d5ce9144e75accce72eed.tar.gz
just-mr(1): document the gc-repo subcommand
(cherry-picked from f2310d4b9613958ca45653783b9149c37c05a033)
-rw-r--r--share/man/just-mr.1.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/man/just-mr.1.md b/share/man/just-mr.1.md
index dcb32697..2d80f76e 100644
--- a/share/man/just-mr.1.md
+++ b/share/man/just-mr.1.md
@@ -12,6 +12,7 @@ SYNOPSIS
**`just-mr`** \[*`OPTION`*\]... {**`setup`**|**`setup-env`**} \[**`--all`**\] \[*`main-repo`*\]
**`just-mr`** \[*`OPTION`*\]... **`fetch`** \[**`--all`**\] \[**`--backup-to-remote`**] \[**`-o`** *`fetch-dir`*\] \[*`main-repo`*\]
**`just-mr`** \[*`OPTION`*\]... **`update`** \[*`repo`*\]...
+**`just-mr`** \[*`OPTION`*\]... **`gc-repo`**
**`just-mr`** \[*`OPTION`*\]... **`do`** \[*`JUST_ARG`*\]...
**`just-mr`** \[*`OPTION`*\]... {**`version`**|**`describe`**|**`analyse`**|**`build`**|**`install`**|**`install-cas`**|**`add-to-cas`**|**`rebuild`**|**`gc`**} \[*`JUST_ARG`*\]...
@@ -289,6 +290,14 @@ remote repository in the specified branch. The output configuration file
will otherwise remain the same at the JSON level with the input
configuration file.
+gc-repo
+-------
+
+This subcommand rotates the generations of the repository cache.
+Every root used is added to the youngest generation. Therefore upon
+a call to **`gc-repo`** all roots are cleaned up that were not used
+since the last **`gc-repo`**.
+
do
--