raulcd commented on code in PR #13165:
URL: https://github.com/apache/arrow/pull/13165#discussion_r875694382
##########
dev/archery/archery/crossbow/reports.py:
##########
@@ -83,6 +84,29 @@ def tasks(self):
def show(self):
raise NotImplementedError()
+ @property
+ def rows(self):
+ """
+ Produces a generator that allow us to iterate over
+ the job tasks as a list of rows.
+ """
+ for task_name, task in sorted(self.job.tasks.items()):
+ task_status = task.status()
+ row = [
+ task_name,
+ task_status.combined_state,
+ task_status.build_links,
+ self.branch_url(task.branch),
+ task.ci,
+ # We want this to be serialized as a dict instead
+ # of an orderedict.
+ {k: v for k, v in task.params.items()},
+ task.template,
+ # Arrow repository commit
+ self.job.target.head
Review Comment:
yes, the view on the gist for CSV is not great :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]