summaryrefslogtreecommitdiff
path: root/morphlib/builder2.py
diff options
context:
space:
mode:
authorDaniel Firth <dan.firth@codethink.co.uk>2013-10-11 10:29:54 +0100
committerDaniel Firth <dan.firth@codethink.co.uk>2013-10-11 10:29:54 +0100
commitdbbee9a5f94569a330aa477bc5fc1bf3a1fd5d86 (patch)
tree42f21d88e3074214ea96f3600670fe3bfb871f09 /morphlib/builder2.py
parent090d21ed8e9cb7bd640c2632217399dc72e0df0a (diff)
parent31ca4d455d1bbce69c6dc461dbd506b3523ac2d9 (diff)
downloadmorph-dbbee9a5f94569a330aa477bc5fc1bf3a1fd5d86.tar.gz
Merge branch 'danielfirth/RT193'
Reviewed by: Lars Wirzenius Reviewed by: Pedro Alvarezwq
Diffstat (limited to 'morphlib/builder2.py')
-rw-r--r--morphlib/builder2.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/morphlib/builder2.py b/morphlib/builder2.py
index e1eaaa86..bab89aa2 100644
--- a/morphlib/builder2.py
+++ b/morphlib/builder2.py
@@ -439,8 +439,10 @@ class ChunkBuilder(BuilderBase):
contents = morphlib.bins.chunk_contents(destdir, patterns)
self.write_metadata(destdir, artifact_name, contents)
- logging.debug('assembling chunk %s' % artifact_name)
- logging.debug('assembling into %s' % f.name)
+ self.app.status(msg='assembling chunk %s' % artifact_name,
+ chatty=True)
+ self.app.status(msg='assembling into %s' % f.name,
+ chatty=True)
self.app.status(msg='Creating chunk artifact %(name)s',
name=artifact.name)
morphlib.bins.create_chunk(destdir, f, patterns)
@@ -700,8 +702,10 @@ class Builder(object): # pragma: no cover
self.remote_artifact_cache, artifact,
self.repo_cache, self.max_jobs,
self.setup_mounts)
- logging.debug('Builder.build: artifact %s with %s' %
- (artifact.name, repr(o)))
+ self.app.status(msg='Builder.build: artifact %s with %s' %
+ (artifact.name, repr(o)),
+ chatty=True)
built_artifacts = o.build_and_cache()
- logging.debug('Builder.build: done')
+ self.app.status(msg='Builder.build: done',
+ chatty=True)
return built_artifacts