summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2014-06-22 21:52:55 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2014-06-22 21:58:48 +0000
commit008f408ee1613be6509658f55b7a416db3e8be57 (patch)
treeebdeba513b182a320a7d05743a8a9e9c04ef2078
parentc894d6e153d7803e8f4639c2697c0c592a460980 (diff)
downloadmorph-baserock/ps/foo.tar.gz
Show-which-commit-morph-intends-to-buildbaserock/ps/foo
When debugging, it's useful to know exactly which version of a chunk morph is using
-rw-r--r--morphlib/buildcommand.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py
index f68046e3..52576f8e 100644
--- a/morphlib/buildcommand.py
+++ b/morphlib/buildcommand.py
@@ -307,9 +307,10 @@ class BuildCommand(object):
in either the local or remote cache already.
'''
- self.app.status(msg='Building %(kind)s %(name)s',
+ self.app.status(msg='Building %(kind)s %(name)s %(sha1)s',
name=artifact.name,
- kind=artifact.source.morphology['kind'])
+ kind=artifact.source.morphology['kind'],
+ sha1=artifact.source.sha1[:7])
self.get_sources(artifact)
deps = self.get_recursive_deps(artifact)