You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/05/18 09:46:37 UTC

[GitHub] [arrow] raulcd commented on a diff in pull request #13165: ARROW-16358: [CI][Dev] Allow archery crossbow to generate a CSV report for nightly builds

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org