diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-19 15:17:49 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-19 17:37:37 +0200 |
commit | d88c275024293126958705af61c1c75e7229354c (patch) | |
tree | 74958bf6663f14266f5980d1b8a21231baa16aa6 | |
parent | cc64a937e12172490ae36b56a659b0b65810a594 (diff) | |
download | justbuild-d88c275024293126958705af61c1c75e7229354c.tar.gz |
Update Changelog to report about `just-mr gc-repo`
... and the transition path on upgrade.
-rw-r--r-- | CHANGELOG.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ee96d1c..54d0350b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,23 @@ A feature release on top of `1.3.0`, backwards compatible. +### New features + +- `just-mr` now supports garbage collection for repository roots + via the `gc-repo` subcommand. This follows the same two-generation + approach as garbage collection for the cache-CAS pair; in + other words, everything is cleaned up that was not used since + the last call to `gc-repo`. To accommodate this, the layout in + the local build root had to be changed. The directory `git` as + well as `*-map` directories are now located in the subdirectory + `repositories/generation-0`. On upgrade those have to be manually + moved there if they should be continued to be used; removing the + whole local build root is, of course, also a valid upgrade path, + however losing the whole cache. Not doing anything on upgrade + will not lead to an inconsistent state; however, the directories + at the old location will not be used anymore while still using + disk space. + ### Fixes - A bug was fixed that cased `just serve` to fail with an internal |