diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-04-23 16:49:52 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-04-23 16:49:52 +0100 |
commit | e7b984a06d1fc716f7e3de2dc8ef2a6d52c82232 (patch) | |
tree | b1db5d569ea37b47c0af4ebbf8b2b7826ccb5f8b /morph | |
parent | 21954744ce1e1b17c26f5a1e8f04ceeb048ae033 (diff) | |
download | morph-e7b984a06d1fc716f7e3de2dc8ef2a6d52c82232.tar.gz |
Add some more logging to "morph build"
Diffstat (limited to 'morph')
-rwxr-xr-x | morph | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -191,21 +191,29 @@ class Morph(cliapp.Application): for repo_name, ref, filename in self._itertriplets(args): logging.debug('cmd_build: %s %s %s' % (repo_name, ref, filename)) + + logging.debug('cmd_build: creating source pool') srcpool = self._create_source_pool(lrc, rrc, (repo_name, ref, filename)) + logging.debug('cmd_build: creating artifact resolver') ar = morphlib.artifactresolver.ArtifactResolver() + logging.debug('cmd_build: resolving artifacts') artifacts = ar.resolve_artifacts(srcpool) + logging.debug('cmd_build: computing cache keys') for artifact in artifacts: artifact.cache_key = ckc.compute_key(artifact) artifact.cache_id = ckc.get_cache_id(artifact) + logging.debug('cmd_build: computing build order') order = morphlib.buildorder.BuildOrder(artifacts) + logging.debug('cmd_build: finding what needs to be built') needed = [] for group in order.groups: for artifact in group: if not lac.has(artifact): needed.append(artifact) + logging.debug('cmd_build: cloning/updating cached repos') for artifact in needed: artifact.source.repo = lrc.cache_repo( artifact.source.repo_name) @@ -240,6 +248,7 @@ class Morph(cliapp.Application): logging.debug('No need to build %s' % artifact.name) if install_chunks: + logging.debug('installing chunks from just-built group') # install chunks only chunk_artifacts = [x for x in group |