GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — How to display the progress of the download (clone_from) ? · Issue #1059 · gitpython-developers/GitPython Closed as not planned Labels DescriptionHello, I am a new GitPython user and I would like to display a progress bar when cloning locally a large GitHub repository. To begin with, I have created a RemoteProgress based class and I have plugged it in the clone_from() function : from git import Repo from git.remote import RemoteProgress class Progress(RemoteProgress): def update(self, *args): print(self._cur_line) Repo.clone_from(github_url,local_path,progress=Progress()) When I run it, I have well the progress from 0 to 100% of remote: Counting objects: and remote: Compressing objects: steps (which are super fast) but after that, nothing more : the terminal keep freezed until the end of the download. How to catch the progress of the download itself ? Thank you in advance! Activity
|
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |