summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Smith <joshsmith@codethink.co.uk>2018-07-19 16:35:00 +0100
committerJosh Smith <joshsmith@codethink.co.uk>2018-08-06 12:06:04 +0100
commit83b24256fc29062ab17c2db7c5fe416e11fb632d (patch)
treed0a4477491fade4820662ebb0b20dbfb1b64272c
parentd33b2e49b6c367f73ae6972940cfd30877b81098 (diff)
downloadbuildstream-Qinusty/553-backport-1.2.tar.gz
cascache.py: Add pull info detailing which remote is being pulled fromQinusty/553-backport-1.2
Work towards fixing issue #275
-rw-r--r--buildstream/_artifactcache/cascache.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildstream/_artifactcache/cascache.py b/buildstream/_artifactcache/cascache.py
index 575964362..3ef563368 100644
--- a/buildstream/_artifactcache/cascache.py
+++ b/buildstream/_artifactcache/cascache.py
@@ -221,6 +221,8 @@ class CASCache(ArtifactCache):
try:
remote.init()
+ element.info("Pulling {} <- {}".format(element._get_brief_display_key(), remote.spec.url))
+
request = buildstream_pb2.GetReferenceRequest()
request.key = ref
response = remote.ref_storage.GetReference(request)