-
-
Notifications
You must be signed in to change notification settings - Fork 403
Closed
Description
Issue
When trying to use sideband_progress
on GitRemoteCallbacks
, nothing happens.
Example Code
import pygit2
class GitRemoteCallbacks(pygit2.RemoteCallbacks):
def sideband_progress(self, string):
# This never gets called. I have tried setting
# breakpoints, printing, and writing a file. Nada.
print(string)
repo_url = "https://github.com/OpenZeppelin/openzeppelin-contracts.git"
target_path = "./tempdeleteme"
clone = pygit2.clone_repository(
repo_url, target_path, callbacks=GitRemoteCallbacks()
)
To summarize the comment, I have tried various methods but can't seem to get any sign that this callback happens.
My Goal
I would like to be able to display a progress bar while cloning a repository, especially when it is a larger repositoy
Conclusion
Thank you for everything :)
Metadata
Metadata
Assignees
Labels
No labels