pijul_org / pijul

#156 Lack of progress indicators makes large clones scary for new users

Opened by porglezomp, on August 30, 2017
Closed
porglezomp commented on August 30, 2017

I cloned Pijul in order to see if I could investigate one of the bugs I reported earlier, and was worried while waiting for 2 minutes with no feedback during the clone. It would be nice to have at least some minimal feedback that progress is being made.

lthms commented on August 31, 2017

A fresh pijul clone does not take that long most of the time (though I am probably biased as I use a fairly good connection.

That being said, I share your point of view and @laumann investigated recently this feature. It’s finding is that to do progress reporting right now, you have to modify libpijul. Because we need to be generic, we don’t want to hardcode the reporting function in libpijul so I would suggest adding some kind of optional closure to be called regularly with a progress value. pijul would use it to print some message the way git does while an emacs frontend would do something totally different.

The best part is, I don’t think this is very hard to add, so we might be able to add it before the next pijul version.

lthms commented on September 18, 2017

This has been addressed by @laumann and I think we can close it now.