Skip to content
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

Improve progress reporting during checkout #133

Open
rsdunlapiv opened this issue Dec 4, 2019 · 3 comments
Open

Improve progress reporting during checkout #133

rsdunlapiv opened this issue Dec 4, 2019 · 3 comments

Comments

@rsdunlapiv
Copy link

Summary of Issue:

Big repos take a long time to check out and it may look like the manage_externals is hanging

Expected behavior and actual behavior:

The improved behavior is to add a % complete that is periodically updated when checking out a large repository. This would provide some feedback to the user.

Steps to reproduce the problem (should include model description file(s) or link to publi c repository):

Check out any External with a large repo, such as a lot of submodules.

@gold2718
Copy link
Collaborator

gold2718 commented Dec 6, 2019

From a purely technical point of view, do you have any idea how to do this?
https://stackoverflow.com/questions/4640020/progress-indicator-for-git-clone#4640045

@billsacks
Copy link
Member

git clone does give you a progress report when running it interactively, but I'm not sure if / how it would be possible to harvest and echo that information when running it from within manage_externals. I like this idea, but I'm also curious if @rsdunlapiv has any ideas about how we might do this.

@gold2718
Copy link
Collaborator

gold2718 commented Dec 9, 2019

As mentioned in the StackOverflow article linked above, the progress counter is only for step 2 of a 4 step clone process and even that is approximate as it is a percent of objects transmitted, not the data volume transmitted. Step 1 can take quite a while for a repo with a deep and/or complex commit tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants