On 2016-05-18 14:44, Robert Helling wrote: [..] > This is more about the internal handling. What is the local path name
Looking at Chrome/Thunderbird as examples, they use a random hash as the random profile path (though that is done primarily against code trying to store files in those paths and then executing them), this way the username is not part of that path and guessing the path is harder (but the config will contain it). An advanced user wanting direct access can symlink to that path. That, or allow a "rename/change profile directory" option and save that in the config file. Optionally allowing more paths to be configured for multi-user setups where people share accounts? Simply show at start a "pick user" option in that case with a field in the directory that allows configuring a nickname for that profile. > and in that go I would also address the fact that currently Dirk’s cloud > server is more or less hard coded into the program. From a privacy perspective, unless stuff gets crypted with a locally kept private key (but git does not really support that does it? :) people will want to chose other cloud servers. > I don’t necessarily invite our users to run their own cloud servers (as > we don’t want to maintain and trouble shoot those) but I came to this > problem also when playing with the CHIP/RaspberryPi approach to connect > mobiles to dive computers: I am still entertaining the possibility that > the embedded device presents itself as a cloud server to the phone. For > this I would also need flexibility to set the remote repository. It seems (due to bluetooth being a ***) that that might be a reasonable way to go. Heck, we can even use the multiple remote option if we want both cloud + local storage. (though we'll have to handle merges some way then ;) > This would now be the moment to say “No don’t. This is a user > experience/maintanance/whatever nightmare! We are not going down that road”. If per-default a path is chosen and the user can add other paths and select them from a drop-down at start, this should not be too tricky. In the extreme case we can add a "find my local saves" option which just does a 'find / -name ".git"' kind of command that finds all git dirs and present that to the user as an option they can add to their list of profiles. Greets, Jeroen _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
