in sync/sync.py [0:0]
def _output_data(self) -> list[str]:
rv = [
"{}{}".format("*" if self.error else " ", self.process_name.path()),
"gecko range: {}..{}".format(
self.gecko_commits.base.sha1, self.gecko_commits.head.sha1
),
"wpt range: {}..{}".format(
self.wpt_commits.base.sha1, self.wpt_commits.head.sha1
),
]
if self.error:
rv.extend(
["ERROR:", self.error["message"] or "", self.error["stack"] or ""]
)
landable_status = self.landable_status
if landable_status:
rv.append("Landable status: %s" % landable_status.reason_str())
for key, value in sorted(self.data.items()):
if key != "error":
rv.append(f"{key}: {value}")
try_pushes = self.try_pushes()
if try_pushes:
try_pushes = sorted(try_pushes, key=lambda x: x.process_name.seq_id)
rv.append("Try pushes:")
for try_push in try_pushes:
rv.append(f" {try_push.status} {try_push.treeherder_url}")
return rv