summaryrefslogtreecommitdiff
path: root/morphlib
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-06-10 12:39:04 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-06-10 12:39:04 +0100
commit60776a0d1956b50e75c9f361218fef955c265d9c (patch)
tree6a1c36d2d103c3df4801c4c83459da2c44cb28bd /morphlib
parentbe6870d1145634401f912e7f5623da27b20180cd (diff)
downloadmorph-60776a0d1956b50e75c9f361218fef955c265d9c.tar.gz
Note future improvement for fetching artifacts from remote cache
Diffstat (limited to 'morphlib')
-rw-r--r--morphlib/buildcommand.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py
index 5abef54c..9fab5c07 100644
--- a/morphlib/buildcommand.py
+++ b/morphlib/buildcommand.py
@@ -413,6 +413,10 @@ class BuildCommand(object):
local.close()
for artifact in artifacts:
+ # This block should fetch all artifact files in one go, using the
+ # 1.0/artifacts method of morph-cache-server. The code to do that
+ # needs bringing in from the distbuild.worker_build_connection
+ # module into morphlib.remoteartififactcache first.
to_fetch = []
if not self.lac.has(artifact):
to_fetch.append((self.rac.get(artifact),