Title: RemoteProgress update broken while fetching · Issue #1969 · gitpython-developers/GitPython · GitHub
Open Graph Title: RemoteProgress update broken while fetching · Issue #1969 · gitpython-developers/GitPython
X Title: RemoteProgress update broken while fetching · Issue #1969 · gitpython-developers/GitPython
Description: Used version Git: 2.34.1 GitPython: 3.1.43 Python: 3.10.12 FYI, progress bar rendered with rich (13.7.1) Issue RemoteProgress update method is called with ill-formed parameters when use with remote.fetch and thus leading to broken progre...
Open Graph Description: Used version Git: 2.34.1 GitPython: 3.1.43 Python: 3.10.12 FYI, progress bar rendered with rich (13.7.1) Issue RemoteProgress update method is called with ill-formed parameters when use with remote...
X Description: Used version Git: 2.34.1 GitPython: 3.1.43 Python: 3.10.12 FYI, progress bar rendered with rich (13.7.1) Issue RemoteProgress update method is called with ill-formed parameters when use with remote...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1969
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RemoteProgress update broken while fetching","articleBody":"## Used version\r\n`Git`: 2.34.1\r\n`GitPython`: 3.1.43\r\n`Python`: 3.10.12\r\nFYI, progress bar rendered with `rich` (13.7.1)\r\n\r\n## Issue\r\nRemoteProgress update method is called with ill-formed parameters when use with `remote.fetch` and thus leading to broken progress bar. This is working well with `clone` and/or `clone_from`. Update is called only once per git operation (e.g. `COUNTING`, `COMPRESSING`) with `BEGIN` **and** `END` opcode flag set and all messages concatenated.\r\nIt seems that remote progress lines are not parsed correctly while fetching remote.\r\n\r\n### Correct behavior with clone\r\n```console\r\nCloning git repository mypackage (revision=branch1)...\r\n Counting ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% eta 0:00:00 \r\n Compressing ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% eta 0:00:00 \r\n Receiving ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% eta 0:00:00 6.45 MiB | 12.85 MiB/s\r\n Resolving ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% eta 0:00:00 \r\n```\r\n\r\n### Broken progress bar with fetch\r\n```console\r\nUpdating mypackage (revision=main)...\r\nCount… remote: Counting objects: 1% (6/592) remote: Counting objects: 2% (12/592) remote: Counting objects: 3% (18/592) remote: Counting objects: 4% (24/59…\r\nCompr… remote: Compressing objects: 1% (3/240) remote: Compressing objects: 2% (5/240) remote: Compressing objects: 3% (8/240) remote: Compressing objects: …\r\nRecei… Receiving objects: 77% (456/592)Receiving objects: 78% (462/592)Receiving objects: 79% (468/592)Receiving objects: 80% (474/592)Receiving objects: 81% (480/592)Receiving ob…\r\nResol… Resolving deltas: 1% (5/406)Resolving deltas: 2% (9/406)Resolving deltas: 3% (13/406)Resolving deltas: 4% (17/406)Resolving deltas: 5% (21/406)Resolving deltas: 6% (…\r\n```","author":{"url":"https://github.com/fvalette-ledger","@type":"Person","name":"fvalette-ledger"},"datePublished":"2024-10-14T07:35:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/1969/GitPython/issues/1969"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:11e72646-f8ef-3eee-13f0-39093d79ef81 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D1BE:35D476:E475AF:13FDBD6:6968E262 |
| html-safe-nonce | 4c5dcae5f25899de397b7ae416d54f319597b4ffd49ec2f964558211501e1c18 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUJFOjM1RDQ3NjpFNDc1QUY6MTNGREJENjo2OTY4RTI2MiIsInZpc2l0b3JfaWQiOiI4ODU4MTEwMjUxNDkxNzEzNjM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 513ff43c92231209a23d0585a5366eede0625c3e04f564d814e1834c6f4722ec |
| hovercard-subject-tag | issue:2585083583 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitpython-developers/GitPython/1969/issue_layout |
| twitter:image | https://opengraph.githubassets.com/259c52b008b39c56bd064e67b268d9fe071af3fa18e2b32f39475e95857512c9/gitpython-developers/GitPython/issues/1969 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/259c52b008b39c56bd064e67b268d9fe071af3fa18e2b32f39475e95857512c9/gitpython-developers/GitPython/issues/1969 |
| og:image:alt | Used version Git: 2.34.1 GitPython: 3.1.43 Python: 3.10.12 FYI, progress bar rendered with rich (13.7.1) Issue RemoteProgress update method is called with ill-formed parameters when use with remote... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fvalette-ledger |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5416305695900bdab7d289f90ea3d96bf36397112f2ab16f5a5a120f38de085 |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 366035abf3d5b1e31841c97e2fa2ce02a3007a7b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width