diff options
author | Tom Pollard <tom.pollard@codethink.co.uk> | 2019-10-23 16:21:09 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-10-25 15:03:07 +0000 |
commit | 9733beff961cf7001a66b008fb9fc8ceadefdcd6 (patch) | |
tree | a1a20547fd7c712049ffa430285df6097248811e /src/buildstream/_frontend | |
parent | 732f4742e775c3297a8fed7da4225afc070430e3 (diff) | |
download | buildstream-9733beff961cf7001a66b008fb9fc8ceadefdcd6.tar.gz |
_frontend/status.py: Complete names when rendering dynamic queue status
At somepoint action_name instead of complete_name started to be
rendered to the user for the dynamic list of queue status reports.
As we now have more of a UI seperation between 'Artifact' & 'Source'
tasks, it also makes sense to reflect these actions in this output.
Diffstat (limited to 'src/buildstream/_frontend')
-rw-r--r-- | src/buildstream/_frontend/status.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildstream/_frontend/status.py b/src/buildstream/_frontend/status.py index a204bd9ac..8da7df047 100644 --- a/src/buildstream/_frontend/status.py +++ b/src/buildstream/_frontend/status.py @@ -394,7 +394,7 @@ class _StatusHeader(): # # Line 2: Dynamic list of queue status reports # - # (Fetched:0 117 0)→ (Built:4 0 0) + # (Sources Fetched:0 117 0)→ (Built:4 0 0) # size = 0 text = '' @@ -455,10 +455,10 @@ class _StatusHeader(): failed = str(len(group.failed_tasks)) size = 5 # Space for the formatting '[', ':', ' ', ' ' and ']' - size += len(group.name) + size += len(group.complete_name) size += len(processed) + len(skipped) + len(failed) text = self._format_profile.fmt("(") + \ - self._content_profile.fmt(group.name) + \ + self._content_profile.fmt(group.complete_name) + \ self._format_profile.fmt(":") + \ self._success_profile.fmt(processed) + ' ' + \ self._content_profile.fmt(skipped) + ' ' + \ |