Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Pantry pod #182

Closed
Abizern opened this issue Oct 7, 2017 · 24 comments · Fixed by #274
Closed

Remove Pantry pod #182

Abizern opened this issue Oct 7, 2017 · 24 comments · Fixed by #274
Assignees
Milestone

Comments

@Abizern
Copy link
Collaborator

Abizern commented Oct 7, 2017

Depends on #179.

The project uses Pantry for deserialisations and storage. As noted in Pantry's README, it is no longer going to be supported.

So we should probably refactor to use the Codable protocol available in Swift 4. Not a small job.

@nickoneill
Copy link
Member

Sorry :(

@subdigital
Copy link
Collaborator

You can blame me for trusting you. I TRUSTED YOU!

;)

@mccarron
Copy link
Collaborator

mccarron commented Oct 7, 2017 via email

@Abizern
Copy link
Collaborator Author

Abizern commented Oct 10, 2017

If I say "How about decodable for de-serialisation and Core Data for persistence"? will I be chased out of town with pitchforks?

@subdigital
Copy link
Collaborator

subdigital commented Oct 11, 2017 via email

@nickoneill
Copy link
Member

I'm a believer in decodable for it's simplicity, obviously.

FYI, I expect the user stats will be stored on the server sooner rather than later. So will eventually be a lot less data we're actually keeping track of here.

@nickoneill
Copy link
Member

Not sure if we want to be ambitious enough to get this in the next release. Please advise.

@Abizern
Copy link
Collaborator Author

Abizern commented Oct 15, 2017 via email

@nickoneill
Copy link
Member

Yeah, that jerk.

@Abizern
Copy link
Collaborator Author

Abizern commented Oct 15, 2017

Also - re cloud sync. Won't that require some kind of log in? An extra hurdle. An extra bit of inertia. I was thinking, maybe CloudKit so that stats are kept between iPhone and iPad apps for the single user. We could even do a macOS app (it's been a while since I've done them and it would be a good excuse for me to get back into it).

Just something to think about and we can discuss it somewhere else.

@nickoneill nickoneill added this to the 1.6 milestone Sep 14, 2018
@Abizern Abizern self-assigned this May 24, 2019
@Abizern
Copy link
Collaborator Author

Abizern commented May 24, 2019

This pod doesn't work with Swift 5, but we knew that would happen.

The only thing that seems to use pantry is ContactLogs, so the impact is fairly contained.

I'll assign it to myself, unless somebody else wants to take a look at it.

@Abizern
Copy link
Collaborator Author

Abizern commented May 24, 2019

Could somebody add (or send me) the contents of the "com.thatthinginswift.pantry" directory in documents (app or simulator) so that I have something to test against?

Thank you.

@nickoneill
Copy link
Member

This is being handled in #261 as well

@nickoneill
Copy link
Member

Fixed in #261

@Abizern
Copy link
Collaborator Author

Abizern commented May 26, 2019

This is still used for ContactLogs.

I'm happy to take a look at it of somebody can send me a copy of the contents of "com.thatthinginswift.pantry" directory (device or simulator) so that I can test a migration.

@Abizern Abizern reopened this May 26, 2019
@nickoneill
Copy link
Member

😬 That's unfortunate, will send you an example directory today.

@Abizern
Copy link
Collaborator Author

Abizern commented May 26, 2019

Hey, it happens. 😁

@nickoneill
Copy link
Member

I'm not sure how best to ship you an example directory for the pantry data. If you click through a couple calls with "unavailable" (anything other than skip really), you should be able to generate some standard test data. These won't be submitted in debug mode, so don't worry about that.

@Abizern
Copy link
Collaborator Author

Abizern commented May 27, 2019

Okay. I'll try that. When it's done I'd appreciate some testing to make sure that the migrations are handled properly on an actual device.

As an aside, is it possible to add my developer developer account to the 5calls development certificate so that I can run the test builds on my devices (abizern (at) mac dot com). If so, who should I ask?

@nickoneill
Copy link
Member

Yep, I'll find a few devices with good call histories on them for testing.

Sent you an invite to the team, make yourself a dev certificate as you see fit!

@Abizern
Copy link
Collaborator Author

Abizern commented May 27, 2019

Thanks very much!

@nickoneill
Copy link
Member

Any luck on this @Abizern? I may try to hack on this if you haven't had the chance to start yet

@Abizern
Copy link
Collaborator Author

Abizern commented Jun 16, 2019 via email

@nickoneill
Copy link
Member

That's good for me, just checking that it's still moving forward 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants