Raúl Cumplido created ARROW-18038:
-------------------------------------
Summary: [Archery][CI] Refactor git dependencies used on archery
to be more consistent
Key: ARROW-18038
URL: https://issues.apache.org/jira/browse/ARROW-18038
Project: Apache Arrow
Issue Type: Improvement
Components: Archery
Reporter: Raúl Cumplido
Currently archery has the following git related dependencies:
{code:java}
'release': ['gitpython']
'crossbow': ['github3.py', 'pygit2>=1.6.0']
'crossbow-upload': ['github3.py']
'bot': ['github3.py', 'pygit2>=1.6.0', 'pygithub']{code}
that makes difficult to work with archery git related code and makes more
difficult code reuse. As an example the comment on this PR:
[https://github.com/apache/arrow/pull/14033#discussion_r993778812]
{code:java}
While dev/archery/archery/crossbow/core.py uses pygit2,
dev/archery/archery/release/core.py uses GitPython. The Repo class that is used
in each module are also not shared. {code}
We should refactor archery to not require 2 different github libraries (github3
and pygithub) and 2 different git ones (pygit and gitpython).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)