-
Notifications
You must be signed in to change notification settings - Fork 67
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
Show a real progress bar in clone-git-repo@anaximeno #280
Comments
Hello @carlosmintfan, I don't plan to show real progress for now, because as far as I have researched there is no easy way to get the general progress (in an easily interpretable format) using the git command, there might be other ways to get that info though, like parsing the output at each specific phase, but that will take more time and complexity than what I am willing to attribute to this for now. |
Hi, I was wondering if we can do something like this other lib does https://github.com/steveukx/git-js in this file they are parsing the output of the process and generating an event so the user is able to track it maybe it can give us some inspiration |
Hi, that might be a viable solution for this, I may take some time to try to implement this in the future, but if you want to try this before that, you are open to sending a PR here. In the line below I read an 8-character chunk from the cloning process stderr with cinnamon-spices-actions/clone-git-repo@anaximeno/files/clone-git-repo@anaximeno/action.py Lines 218 to 219 in ff0dba5
The cinnamon-spices-actions/clone-git-repo@anaximeno/files/clone-git-repo@anaximeno/action.py Lines 24 to 32 in ff0dba5
So probably the chunk that should be sent to the regex would be the result of the |
Action name and maintainer
clone-git-repo@anaximeno @anaximeno
What would you like to see?
Hi @anaximeno,
thanks for your action! Do you plan to add a real progress bar that shows progress instead of just switching its location without showing real progress?
The text was updated successfully, but these errors were encountered: