diff options
-rw-r--r-- | NEWS | 14 | ||||
-rw-r--r-- | morphlib/plugins/gc_plugin.py | 3 |
2 files changed, 17 insertions, 0 deletions
@@ -4,6 +4,20 @@ NEWS for Morph This file contains high-level summaries of user-visible changes in each Morph release. +Version 14.24, released 2014-06-13 +---------------------------------- + +* rawdisk deployments check that they have the btrfs module loaded first +* distbuild should busy-wait less +* fetching of artifacts should be atomic, so a failure to fetch the + metadata of an artifact doesn't confuse the build system when we have + the chunk, but no metadata +* `morph deploy` now defaults to `--no-git-update` +* `morph gc` now cleans up failed deployments, so they aren't left around + if morph terminates uncleanly +* `morph edit` now only takes the name of the chunk, rather than the + name of the system and stratum that chunk is in + Version 14.23, released 2014-06-06 ---------------------------------- diff --git a/morphlib/plugins/gc_plugin.py b/morphlib/plugins/gc_plugin.py index 43de173e..68f386eb 100644 --- a/morphlib/plugins/gc_plugin.py +++ b/morphlib/plugins/gc_plugin.py @@ -79,6 +79,8 @@ class GCPlugin(cliapp.Plugin): self.cleanup_cachedir(cachedir, cachedir_min_space) def cleanup_tempdir(self, temp_path, min_space): + # The subdirectories in tempdir are created at Morph startup time. Code + # assumes that they exist in various places. self.app.status(msg='Cleaning up temp dir %(temp_path)s', temp_path=temp_path, chatty=True) for subdir in ('deployments', 'failed', 'chunks'): @@ -93,6 +95,7 @@ class GCPlugin(cliapp.Plugin): path = os.path.join(temp_path, subdir) if os.path.exists(path): shutil.rmtree(path) + os.mkdir(path) def calculate_delete_range(self): now = time.time() |