rsfinn57
Contributor
on my mac i add my dive log info in subsurface. Is there a way to sync this with my iphone. i am able to uploadmiphone files to the cloud then import them to my mac. I want to go the other way after editing info
Welcome to ScubaBoard, the world's largest scuba diving community. Registration is not required to read the forums, but we encourage you to join. Joining has its benefits and enables you to participate in the discussions.
Benefits of registering include
This sounds much more complicated than it should be. What you likely want to do is forget everything about the xml files. If you just open cloud storage and work with that directly then things should work as expected and more match the work flow that the developers use.I ran into the same problem myself: how to get my computer changes pushed up to the cloud. Like I said, it’s not exactly intuitive. And then once you save to the cloud, you’re actually editing the stuff in the cloud. You then would have to re-save-as back to your local computer. It’s kind of strange.
So the way I deal with it is: I make all the changes I want to make on the computer and then do a file/save to save the changes locally. And then right before I close subsurface, I save to the cloud. Then I close subsurface because I’m done. If you were to continue to make changes that point, those changes won’t be on your local computer, you would be saving only to the cloud.
There is a way to open up the log from the cloud, and then save it to the local computer, overwriting your local file. Like I said, it’s not very intuitive.
It just happens to be hidden away a bit, to keep things simpler for users that don't care about local copies. I guess it makes it a bit harder for people that are in between the don't-care-about-local and the developers that knows how it's implemented.
From what you said, it should mostly be working. You may need to force the sync on the phone.on my mac i add my dive log info in subsurface. Is there a way to sync this with my iphone. i am able to uploadmiphone files to the cloud then import them to my mac. I want to go the other way after editing info
Thank you for the suggestions. You’re right: if you forget about local, you could just work on the cloud and it would make things a lot simpler.
I’m weird, I guess. I prefer on-prem. I’m far from anti-cloud, but I want control, and independent ability to protect my data. Get off my lawn.
I think you misunderstood me. What I tried to say is that what's called "cloud storage" in Subsurface is actually a local, plain text, storage that is version controlled, that happens to have automatic backups pushed to the cloud. Many developers originally kept their xml files version controlled by git locally, it was just more convenient to have it managed automatically by Subsurface, and it made it possible to sync with the phone app.As for the XML: I’m not a huge XML fan, but I *am* a fan of plain-text-like data. I have absolutely modified the XML directly to make changes to my SubSurface data. I’d hate to lose that.
It's a fine balance between documenting things for the average user that doesn't care how things are stored, as long as it "just works, and all the intermediate levels of power users that want to know how to do the specific use case they care about. There is always a need for more diverse group to help with the documentation in projects like this.It sounds like the developers need to better document how they envision this process to be used. It sounds like they have struck a good balance between cloud convenience and user control: they just need to let people to know about it!
It's a fine balance between documenting things for the average user that doesn't care how things are stored, as long as it "just works, and all the intermediate levels of power users that want to know how to do the specific use case they care about. There is always a need for more diverse group to help with the documentation in projects like this.
On any system, you can run Subsurface from the command line with the -v option and it will tell you where exactly it stores all your local data.This sounds much more complicated than it should be. What you likely want to do is forget everything about the xml files. If you just open cloud storage and work with that directly then things should work as expected and more match the work flow that the developers use.
You're not actually working directly with the cloud. All the changes you make will be made to a local cache. When you save to cloud these local changes will be pushed to the cloud. If the cloud storage is set as online then just saving will push automatically, but you can have it set to offline and then saving will just save to the local copy, letting you push the changes to the cloud when you have access to internet.
This local cache is in a format that's actually much nicer to work with than xml and it also has the history of all the changes you've made to the cloud storage, since it's a git repository. It just happens to be hidden away a bit, to keep things simpler for users that don't care about local copies. I guess it makes it a bit harder for people that are in between the don't-care-about-local and the developers that knows how it's implemented. On Linux this local cache is placed under ~/.subsurface/cloudstorage/ and I would guess it's the same on mac os. On Windows it should be under %AppData%\Subsurface\cloudstorage\