kaspiana / mage

A command-line tool for cataloguing images (particularly digital art), styled after Git.
0 stars 0 forks source link

Migration framework #63

Closed kaspiana closed 4 months ago

kaspiana commented 4 months ago

If an incompatible archive version exception occurs while loading an archive, the tool will attempt to migrate the archive with a sequence of pre-defined scripts, which each migrate from one major version to the next.

No migration scripts are currently implemented, but future major releases should do so. Unfortunately, there are few tools available to make this simple, and so it may be necessary to write subpar code to achieve migration, such as by using ad-hoc parsers and so on.

Further thought:

Resolves #3