diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-06-25 16:56:21 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-06-25 17:23:09 +0100 |
commit | 7df187961636a4b7c990576f089b3d1d8de3b325 (patch) | |
tree | d8490963fe13d7afff9b6c74eb936c4df55b6e5b /morphlib/builder2.py | |
parent | a2306747ee938a6859c462a57d180d926d761934 (diff) | |
download | morph-7df187961636a4b7c990576f089b3d1d8de3b325.tar.gz |
Be more usefully verbose for chunk building
Diffstat (limited to 'morphlib/builder2.py')
-rw-r--r-- | morphlib/builder2.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/morphlib/builder2.py b/morphlib/builder2.py index 67ad2822..6dc55d15 100644 --- a/morphlib/builder2.py +++ b/morphlib/builder2.py @@ -348,7 +348,10 @@ class ChunkBuilder(BuilderBase): ('install', False)] for step, in_parallel in steps: with self.build_watch(step): - cmds = self.get_commands('%s-commands' % step, m, bs) + key = '%s-commands' % step + cmds = self.get_commands(key, m, bs) + if cmds: + self.app.status(msg='Running %(key)s', key=key) for cmd in cmds: if in_parallel: max_jobs = self.artifact.source.morphology['max-jobs'] @@ -378,7 +381,8 @@ class ChunkBuilder(BuilderBase): with self.local_artifact_cache.put(artifact) as f: logging.debug('assembling chunk %s' % artifact_name) logging.debug('assembling into %s' % f.name) - self.app.status(msg='Creating chunk') + self.app.status(msg='Creating chunk artifact %(name)s', + name=artifact.name) morphlib.bins.create_chunk(destdir, f, patterns) built_artifacts.append(artifact) |