Re: converting logbook formats

2018-06-14 Thread Anton Lundin
On 14 June, 2018 - Long, Martin wrote:

> Actually there is a good point here. It would be great to have options to
> use self hosted git repos, or even github, bitbucket etc.
> 
> I've quite fancied building my own website around the repo - I like the one
> hosted on subsurface, but that one doesn't allow me to share links with
> other divers. If I could push to my own repo, it opens up a lot of
> interesting development opportunities.
> 
> Of course, I can just add a remote to the local one, and push to that
> manually, when I get home.
> 
> :-)

Most of the code is there, but it isn't usable at the moment.

Dirk haven't bin that found of the idea, due to its tendencies to turn
into a support nightmare, but with a decent manual and gui I think he
can be convinced to merge such a feature.

Writing the code for it has bin on my todo list for a long time, but
I've never gotten around to it, and with a rooted device, I have a
workaround, just manipulating the repo behind the back of the app.


If someone helps out, I might get motivated to actually do it. One
simple point to start at is to design the UI/UX.


//Anton


-- 
Anton Lundin+46702-161604
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: converting logbook formats

2018-06-14 Thread Long, Martin
Actually there is a good point here. It would be great to have options to
use self hosted git repos, or even github, bitbucket etc.

I've quite fancied building my own website around the repo - I like the one
hosted on subsurface, but that one doesn't allow me to share links with
other divers. If I could push to my own repo, it opens up a lot of
interesting development opportunities.

Of course, I can just add a remote to the local one, and push to that
manually, when I get home.

:-)

Martin

On 12 June 2018 at 07:05, C. Hoefer  wrote:

> Thanks a lot Anton,
>
> I was aware of the 'simple solution', but just not a huge fan of
> uploading privat stuff to any storage beyond my control.
>
> But the other solution sounds reasonable. I'll try that. I was about to
> look into the logbook access in the source... _that_ would have meant
> effort.
>
> cheers
> /Chris
>
>
> On Mo, 2018-06-11 at 20:27 +0200, Anton Lundin wrote:
> > On 08 June, 2018 - C. Hoefer wrote:
> >
> > > Hello,
> > >
> > > I'm trying to start using subsurface mobile.
> > >
> > > Is there a tool to convert my xml logbook to the format used with the
> > > mobile? Back and forth at best. :-)
> >
> > The simple answer is Use the cloud service. Its the only supported
> > source for subsurface mobile. It will handle everything for you.
> >
> >
> >
> > To answer your literal question, Using Subsurface is the sane way of
> > doing it. Just create a git repo, ex:
> >
> > mkdir ~/TEST
> > cd ~/TEST
> > git init .
> >
> > and choose save as, and point it to that repo, and add [branch-name] to
> > it.
> >
> >
> > If you're bat shit crazy like I am, you can then transplant that repo
> > into the data folder of your mobile device, and you've loaded your
> > logbook into your mobile device without the cloud service. It requires a
> > lot of low level hacking, so its not recommended for anyone else.
> >
> >
> > //Anton
> >
> >
>
>
> ___
> subsurface mailing list
> subsurface@subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: converting logbook formats

2018-06-12 Thread C. Hoefer
Thanks a lot Anton,

I was aware of the 'simple solution', but just not a huge fan of
uploading privat stuff to any storage beyond my control. 

But the other solution sounds reasonable. I'll try that. I was about to
look into the logbook access in the source... _that_ would have meant
effort.

cheers
/Chris


On Mo, 2018-06-11 at 20:27 +0200, Anton Lundin wrote:
> On 08 June, 2018 - C. Hoefer wrote:
> 
> > Hello,
> > 
> > I'm trying to start using subsurface mobile.
> > 
> > Is there a tool to convert my xml logbook to the format used with the
> > mobile? Back and forth at best. :-)
> 
> The simple answer is Use the cloud service. Its the only supported
> source for subsurface mobile. It will handle everything for you.
> 
> 
> 
> To answer your literal question, Using Subsurface is the sane way of
> doing it. Just create a git repo, ex:
> 
> mkdir ~/TEST
> cd ~/TEST
> git init .
> 
> and choose save as, and point it to that repo, and add [branch-name] to
> it.
> 
> 
> If you're bat shit crazy like I am, you can then transplant that repo
> into the data folder of your mobile device, and you've loaded your
> logbook into your mobile device without the cloud service. It requires a
> lot of low level hacking, so its not recommended for anyone else.
> 
> 
> //Anton
> 
> 


___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: converting logbook formats

2018-06-11 Thread Anton Lundin
On 08 June, 2018 - C. Hoefer wrote:

> Hello,
> 
> I'm trying to start using subsurface mobile.
> 
> Is there a tool to convert my xml logbook to the format used with the
> mobile? Back and forth at best. :-)

The simple answer is Use the cloud service. Its the only supported
source for subsurface mobile. It will handle everything for you.



To answer your literal question, Using Subsurface is the sane way of
doing it. Just create a git repo, ex:

mkdir ~/TEST
cd ~/TEST
git init .

and choose save as, and point it to that repo, and add [branch-name] to
it.


If you're bat shit crazy like I am, you can then transplant that repo
into the data folder of your mobile device, and you've loaded your
logbook into your mobile device without the cloud service. It requires a
lot of low level hacking, so its not recommended for anyone else.


//Anton


-- 
Anton Lundin+46702-161604
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface