Subsurface-mobile

Dirk Hohndel dirk at hohndel.org
Thu Jul 27 18:24:41 PDT 2017


> On Jul 27, 2017, at 6:23 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
>> 
>> I will consider my options. If I can store locally as well as syncing to your server, then I will probably do so.
> 
> Yes it does. The way our remote storage works is that it keeps all of the data in a git repository. There is a local git repository that it stores on your local machine (as well as on your device for Subsurface-mobile). All changes are first written to that local repository and THEN synchronized with the server. This has a few cool side effects... among other things, it allows fairly clever synchronization between device and computer, it allows you to undo any changes that you may have made and later regret (or that bugs cause) -- but that requires messing with the git repo which we don't support from within Subsurface; yet if you know your way around git it's very easy to recover things. And of course it ensures that you are never without your data, whether you are on an island with bad internet or my server goes down...

Oh, and you can, of course, at any time store your data to a local XML file as well.

/D


More information about the subsurface mailing list