KiARC / Sobriety

A simple and minimal app to track how long you've been sober from anything you want.
GNU General Public License v3.0
75 stars 9 forks source link

Add Import and Export #73

Closed cubandle closed 1 year ago

cubandle commented 1 year ago

Redo of #70 on the new codebase

KiARC commented 1 year ago

Oh perfect!

KiARC commented 1 year ago

I may need help backporting this patch so that old versions can safely update... I'm not sure where to start

cubandle commented 1 year ago

I will try to apply the old version of this feature (manual serialization) to v7.0.0 I think it's only necessary to backport the export feature.

KiARC commented 1 year ago

True true. Thanks so much

cubandle commented 1 year ago

I created 2 branches on my fork: v8.0.0_export and v7.0.0_export. I was thinking maybe the best way to do this is to generate apks for a few past releases and then allow users to install them from an announcement. I wasn't able to test if this approach works because I don't know how to create signed apks. Could you test this to see if this approach works? (Something like install v8.0.0, then signed apk from v8.0.0_export). Also, do you know if it matters if the app was installed from F-Droid vs APK? Thanks

KiARC commented 1 year ago

I'll figure it out, thank you so so much

KiARC commented 1 year ago

@cubandle Small issue,the v7.0.0_export branch is based on v8.0.0 I think. Could you check?

cubandle commented 1 year ago

I'm really sorry, I don't know how that happened. I recreated the v7.0.0_export branch and I think it's right now.

I can also work on past versions as well. How many versions back should we go?

KiARC commented 1 year ago

I think most people are likely on 7 and 8 so this is good, thanks so much!

cubandle commented 1 year ago

Hi Kat, I don't mean to rush you, but do you still plan to release a v7.0.0_export apk?

KiARC commented 1 year ago

Some time soon sorry, I have some big stuff I need to deal with. I'm gonna be on a hiatus for a few months most likely, because of mental health treatment. Sorry. I'll be back as soon as I'm able to be.

cubandle commented 1 year ago

That's fine take your time!