damionx7 / Zettel-Notes-Documentation

Documentation for Zettel Notes : Markdown Note Taking application for android devices
https://znotes.thedoc.eu.org/
GNU General Public License v3.0
55 stars 5 forks source link

[Bug] Can't reliably `fetch` large `git` repositories. #7

Closed RokeJulianLockhart closed 9 months ago

RokeJulianLockhart commented 1 year ago

After a push from my PC that increased the repository size by approximately 100 MiB, Zettel seems to take a really long time to fetch when compared to my desktop git client – Guttyup. Additionally, sometimes it doesn't even display most documents by the end, because the fetch fails, presumably always due to timeout:

Screenshot_20230419-125637_l

When it works, it's actually doing it, but that it's merely very, very slow.

Consequently, could you convert the rescan into a background action with a notification including a progress bar? I currently have to stay within the application to synchronize the repository. I also need the timeout to be increased.

If you want access to the repository I'm using, I'm happy to grant access to you if you have a GitLab account, to test whether it's reproducible on your end. See https://gitlab.com/rokejulianlockhart/RTBJK9.git.
RokeJulianLockhart commented 1 year ago

I managed to synchronize the repository locally by leaving the application open and synchronizing for a good few minutes, but now I can't commit changes – Error appears. Switching to the App Folder and back to the repository forced a push that worked. Seems that this is all doable, actually, just in a very convoluted manner.