Currently we have a very accurate progress bar for cloning a repository; however, when pulling the new changes the progress bar is just a mediocre heuristic. We should investigate how to make it better; to make the changes self-contained we may want to upstream some API extension to GitPuller (so that we can override a single relevant method).
Value and/or benefit
Better UX when syncing repositories.
Anything else?
For reference, for cloning we are using git-python's parser:
Feature description
Currently we have a very accurate progress bar for cloning a repository; however, when pulling the new changes the progress bar is just a mediocre heuristic. We should investigate how to make it better; to make the changes self-contained we may want to upstream some API extension to
GitPuller
(so that we can override a single relevant method).Value and/or benefit
Better UX when syncing repositories.
Anything else?
For reference, for cloning we are using git-python's parser:
https://github.com/nebari-dev/jupyterlab-gallery/blob/cab9b5d196ca8371ecc33026254033ecd5c34eca/jupyterlab_gallery/gitpuller.py#L29-L61
for pulling, there is more steps because nbgitpuller may need to rebase user's changes so it is not as straightforward.