You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ro...@apache.org on 2020/12/29 13:43:40 UTC
[buildstream] 02/03: Add record of remote url to log when pulling
This is an automated email from the ASF dual-hosted git repository.
root pushed a commit to branch coldtom/275
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit fe0a33ae850bec4c8abb1458e9bc64a1bfd59d83
Author: Thomas Coldrick <th...@ct-lt-1266.unassigned>
AuthorDate: Mon Jun 25 15:33:23 2018 +0100
Add record of remote url to log when pulling
---
buildstream/_artifactcache/ostreecache.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/buildstream/_artifactcache/ostreecache.py b/buildstream/_artifactcache/ostreecache.py
index 7415215..b4e7552 100644
--- a/buildstream/_artifactcache/ostreecache.py
+++ b/buildstream/_artifactcache/ostreecache.py
@@ -167,6 +167,7 @@ class OSTreeCache(ArtifactCache):
# fetch the artifact from highest priority remote using the specified cache key
remote_name = self._ensure_remote(self.repo, remote.pull_url)
_ostree.fetch(self.repo, remote=remote_name, ref=ref, progress=progress)
+ element.info("Pulled artifact {} from {}".format(ref, remote.pull_url))
return True
except OSTreeError:
# Try next remote