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/10/12 17:30:57 UTC
[GitHub] [arrow] lafiona commented on a diff in pull request #14033: ARROW-15691: [Dev] Update archery to work with either master or main as default branch
lafiona commented on code in PR #14033:
URL: https://github.com/apache/arrow/pull/14033#discussion_r993731578
##########
dev/archery/archery/crossbow/cli.py:
##########
@@ -156,8 +156,13 @@ def submit(obj, tasks, groups, params, job_prefix, config_path, arrow_version,
click.echo('Pushed job identifier is: `{}`'.format(job.branch))
+# Get the default branch name from the repository
+arrow_source_dir = ArrowSources.find()
+repo = Repo(arrow_source_dir.path)
Review Comment:
Yes, thank you for this suggestion, I've moved the code to set the default within the function.
--
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