summaryrefslogtreecommitdiff
path: root/morphlib/app.py
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-28 14:07:07 +0000
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-28 14:07:07 +0000
commitf913feca5121f2cc8e63cbe0eba95928e94c8fcf (patch)
tree8debcf8b27808ec7818dce820d3370aab5f6fe60 /morphlib/app.py
parent1087f571c7cd7c18d2984df3cc90c87410c55bb2 (diff)
downloadmorph-f913feca5121f2cc8e63cbe0eba95928e94c8fcf.tar.gz
Increase verbosity regarding the remote artifact cache.
This simply increases the verbosity of the operations which are done against the remote artifact cache. It should result in some progress messages if you build with --verbose set and you're mostly getting stuff from your remote artifact cache (Trove).
Diffstat (limited to 'morphlib/app.py')
-rwxr-xr-xmorphlib/app.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/morphlib/app.py b/morphlib/app.py
index accbb9e4..1cf794d9 100755
--- a/morphlib/app.py
+++ b/morphlib/app.py
@@ -267,6 +267,12 @@ class Morph(cliapp.Application):
elif rrc is not None:
try:
absref, tree = rrc.resolve_ref(reponame, ref)
+ if absref is not None:
+ self.status(msg='Resolved %(reponame)s %(ref)s via remote '
+ 'repo cache',
+ reponame=reponame,
+ ref=ref,
+ chatty=True)
except:
pass
if absref is None:
@@ -282,7 +288,8 @@ class Morph(cliapp.Application):
def traverse_morphs(self, triplets, lrc, rrc, update=True,
visit=lambda rn, rf, fn, arf, m: None):
- morph_factory = morphlib.morphologyfactory.MorphologyFactory(lrc, rrc)
+ morph_factory = morphlib.morphologyfactory.MorphologyFactory(lrc, rrc,
+ self)
queue = collections.deque(triplets)
while queue: