raulcd commented on code in PR #13612:
URL: https://github.com/apache/arrow/pull/13612#discussion_r924469833


##########
dev/archery/archery/crossbow/cli.py:
##########
@@ -285,6 +285,42 @@ def status(obj, job_name, fetch, task_filters):
     report.show(output)
 
 
[email protected]()
[email protected]('--arrow-remote', '-r', default=None,
+              help='Set GitHub remote explicitly, which is going to be cloned '
+                   'on the CI services. Note, that no validation happens '
+                   'locally. Examples: https://github.com/apache/arrow or '
+                   'https://github.com/raulcd/arrow.')
[email protected]('--crossbow', '-c', default='ursacomputing/crossbow',
+              help='Crossbow repository on github to use')
[email protected]('--fetch/--no-fetch', default=True,
+              help='Fetch references (branches and tags) from the remote')
[email protected]('--github-token', envvar='ARROW_GITHUB_API_TOKEN',
+              help='OAuth token to create comments in the arrow repo. '
+                   'Only necessary if --track-on-pr-titled is set.')
[email protected]('--job-name', required=True)
[email protected]('--track-on-pr-titled', default=None,
+              help='Track the job submitted on PR with given title')
[email protected]_obj
+def report_pr(obj, arrow_remote, crossbow, fetch, github_token, job_name,
+              track_on_pr_titled):
+    arrow = obj['arrow']
+    queue = obj['queue']
+    if fetch:
+        queue.fetch()
+    job = queue.get(job_name)
+
+    if track_on_pr_titled:

Review Comment:
   I was thinking that in the future we could add other ways of looking for the 
PR, like id but you are correct I have made it mandatory as right now it should 
always be present.



-- 
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]

Reply via email to