Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

asyncio support #1152

Answered by Byron
tallesl asked this question in Q&A
Discussion options

I'm using the library to backup a bunch o repositories but, due to the quantity it takes a while to clone all of them.

Is it possible to clone them in parallel? Is there asyncio support?

You must be logged in to vote

Hi @tallesl ,

no, there is no asyncio support. The only way to parallelize GitPython would be to use the multiprocessing package.

However, if it's just about the initial clone or update, it might be easier to use xargs.

I am closing the issue, as I hope the above answers your question. Please feel free to keep posting here for further comments or follow-up questions.

Replies: 1 comment

Comment options

Hi @tallesl ,

no, there is no asyncio support. The only way to parallelize GitPython would be to use the multiprocessing package.

However, if it's just about the initial clone or update, it might be easier to use xargs.

I am closing the issue, as I hope the above answers your question. Please feel free to keep posting here for further comments or follow-up questions.

You must be logged in to vote
0 replies
Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1004 on February 26, 2021 11:18.

AltStyle によって変換されたページ (->オリジナル) /