cloud storage progress bar testing

Lubomir I. Ivanov neolit123 at gmail.com
Thu Sep 10 02:49:14 PDT 2015


at least i can do some testing here.

i'm able to show the progress bar it if i add this explicitly in
MainWindow::showProgressBar():
progressDialog->show();
but it stays at zero when doing "Open cloud storage".

looking at git-access.c:

USE_LIBGIT23_API is set.

the lines setting the callback are also reached in all places:
opts.callbacks.transfer_progress = &transfer_progress_cb;

but the callbacks are never called - e.g. progress_cb(),
transfer_progress_cb() and update_progress().

after updating to the most recent libgit2 master and i'm now getting
fetch errors (red status bar at the bottom: "Unable to
fetch...<credentials>") on each cloud storage open, but it *does*
retrieve the dive list despite the error.

based on this comment:
// NOTE! A fetch error is not fatal, we just report it

maybe we shouldn't always report it to the end-user?

lubomir
--


More information about the subsurface mailing list