diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-08-30 15:56:23 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-08-30 17:52:43 +0900 |
commit | 813fcd60915a894ee9d8ced15ed282b7f763aaaa (patch) | |
tree | 45257e2956b396b8bba474eb1e8ef7e5b07f036c | |
parent | 88bdf22ae9b2a33a53138517d2dbefcc7900e8ae (diff) | |
download | buildstream-813fcd60915a894ee9d8ced15ed282b7f763aaaa.tar.gz |
plugins/source/git.py: Fix formatting of url in tracking
This was displaying the aliased URL which is pretty useless,
use the translated URL for the timed activity.
-rw-r--r-- | buildstream/plugins/sources/git.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/buildstream/plugins/sources/git.py b/buildstream/plugins/sources/git.py index 56bf40e00..354f80b5d 100644 --- a/buildstream/plugins/sources/git.py +++ b/buildstream/plugins/sources/git.py @@ -368,8 +368,10 @@ class GitSource(Source): if not self.tracking: return None + # Resolve the URL for the message + resolved_url = self.translate_url(self.mirror.url) with self.timed_activity("Tracking {} from {}" - .format(self.tracking, self.mirror.url), + .format(self.tracking, resolved_url), silent_nested=True): self.mirror.ensure() self.mirror._fetch() |