Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

Unify Storage system. #53

Description

@NuckChorris

Right now, the storage system is scattered. It provides 3 builtin storage systems, plus the JSON being used for the OAuth token.

I'd like to suggest unification of all the storage systems into a single JSON-backed system (since it's the smallest files and the world seems to have settled on JSON).

Upgrading is the hardest part, but this could be done transparently by having the Read method automatically fall back on the old system and upgrade them to JSON before returning. We could obviously leave $format in, deprecated.

Or we could just add JSON as a fourth format and convert most of Contra to use it. Discussion is required.

If we want to do this, I'll write a patch, add code to this issue, and upgrade to a pull request.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions