-
-
Notifications
You must be signed in to change notification settings - Fork 933
clone_from progress is broken in newer version #604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
OK, I've narrowed it down through trial and error. |
Thanks for narrowing it down! To me the code looks good - the main thread blocks while lines are read from streams as they become available. Apparently this line iteration doesn't work as expected for you. Can you provide more information about your environment as it may relate to the issue:
Thanks a lot |
Python 3.5.2 |
Any progress on this? Have you been able to reproduce it? It should be trivial to test in a vagrant box or similar. This is causing us some fairly bad UX issues in our project at the moment. Full steps to reproduce: Run
|
Stills broken. Works in 2.0.8.
and then calling it
Python 3.4.4.1Qt5 from WinPython |
Could you try it again with the latest version? |
kind of working 2.1.7 |
Nope, no change. Followed my exact steps mentioned a couple of comments ago, and got exactly the same problem. GitPython==2.1.7 |
I have exactly the same, seems similar to #444. Using 2.1.7 |
Confirmed, this is the same problem, and is fixed by following @mrozekma's comment: |
I made a tweak to those instructions to fix build issues in the referenced pull request, though there are still a couple of build errors which mean nothing to me. |
Actually, it looks like the remaining build issues also exist in the main branch. So, please review and merge. |
@Dreamsorcerer I am closing this issue as its fix will be contained in the upcoming release. |
Still broken in 2.1.8 |
Are you following my exact instructions in my previous comment #604 (comment)? I've just tested it again following those exact instructions, and it it is working correctly. If you are encountering an issue in a different situation, then it is a different bug, please file a new one. |
To use a workaround for another bug, I had to first update GitPython. After updating with
pip3 install --upgrade gitpython
, which installed 2.1.3, the progress feature no longer functions correctly.With this code:
While running it on a fairly large repository, I get the first few updates, upto:
(10, 16118.0, 16118.0, '')
(which means compressing has completed)But, then the next stage when it is downloading everything, which can take about 15 mins, there is no feedback until it has completed that stage, then all the missing feedback is sent at once, as if the feedback has gathered in a buffer and not sent until the current stage is complete.
The text was updated successfully, but these errors were encountered: