diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-06-22 21:52:55 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-06-22 21:53:07 +0000 |
commit | 05631284b198df6c0d257f752a87539381c7c8b1 (patch) | |
tree | 2d51172ed5de6d1414be33cbe3894836fd575bf9 /morphlib/buildcommand.py | |
parent | fdfde37bdf5330316c96fd296b038ff4d870c010 (diff) | |
download | morph-baserock/ps/show-which-sha-is-building.tar.gz |
Show-which-commit-morph-intends-to-buildbaserock/ps/show-which-sha-is-building
When debugging, it's useful to know exactly which version of a chunk
morph is using
Diffstat (limited to 'morphlib/buildcommand.py')
-rw-r--r-- | morphlib/buildcommand.py | 5 |
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) |