Improve portal save files #11

Open
opened 2021-10-22 14:41:30 +02:00 by EpicKnarvik97 · 0 comments

Right now, the save file for portals is just a .db file which is actually a text file with all values separated by a colon. The format should be improved to make it easier to add and remove portal information, or make it easier to change the entire format.

It would be possible to save it as JSON, using SQLite, or perhaps using YML. The best format would depend on which is easiest to implement and is the most maintainable. Migration must exist for the current portal format to the new one.

Improving the format would remove the necessity for some empty and useless values, allow for a more scale-able configuration, make it possible to use more special characters in portal names, and making the adding of new portal data or options less error-prone.

Right now, the save file for portals is just a .db file which is actually a text file with all values separated by a colon. The format should be improved to make it easier to add and remove portal information, or make it easier to change the entire format. It would be possible to save it as JSON, using SQLite, or perhaps using YML. The best format would depend on which is easiest to implement and is the most maintainable. Migration must exist for the current portal format to the new one. Improving the format would remove the necessity for some empty and useless values, allow for a more scale-able configuration, make it possible to use more special characters in portal names, and making the adding of new portal data or options less error-prone.
EpicKnarvik97 added the
enhancement
label 2021-10-22 14:41:30 +02:00
EpicKnarvik97 added this to the Better stargates project 2021-10-22 15:46:40 +02:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: EpicKnarvik97/Stargate#11
No description provided.