From d88c275024293126958705af61c1c75e7229354c Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 19 Jul 2024 15:17:49 +0200 Subject: Update Changelog to report about `just-mr gc-repo` ... and the transition path on upgrade. --- CHANGELOG.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'CHANGELOG.md') 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 -- cgit v1.2.3