From 60776a0d1956b50e75c9f361218fef955c265d9c Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Tue, 10 Jun 2014 12:39:04 +0100 Subject: Note future improvement for fetching artifacts from remote cache --- morphlib/buildcommand.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'morphlib') 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), -- cgit v1.2.1