New Save Format

Registered by Steven Sproat

The new save format will encapsulate all Whyteboard related data into either:

a) the .wtbd file itself, as some zip file
b) a data folder that the .wtbd file references, and then loads from.

Probably option b) will be chosen to avoid performance issues from having to zip/unzip potentially a large amount of data files. Brings the problem of leaving the user to compress/archive the files then to send from one computer to another; should be okay though

All PDF images, loaded images etc are then placed into this data folder. e.g. if a user loads in a JPEG then it is re-created in the data folder. Otherwise, the user may think he/she has imported the file and delete the original, or modify it, thinking Whyteboard has created its own copy.

This will solve

Blueprint information

Status:
Complete
Approver:
None
Priority:
High
Drafter:
None
Direction:
Needs approval
Assignee:
Steven Sproat
Definition:
Approved
Series goal:
Accepted for 0.39
Implementation:
Implemented
Milestone target:
None
Started by
Steven Sproat
Completed by
Steven Sproat

Related branches

Sprints

Whiteboard

16 dec -- probably best to zip up the data folder as well as the pickled .wtbd file. Can maintain a list of archived data files so that saving the archive can be quick as possible to avoid re-archiving files

possibly show a progress bar when saving to avoid the user saving multiple times while the program's already working on saving

19 Dec - Got saving/loading the new save format working, as well as retaining backwards compatibility with older save files. Older formats get converted to the new ones!

about 80% done I guess, just have to fix up any little issues/apply "polish" :)

23rd dec --- almost ready, got it all working, I believe. might have to do some final checks for the same file that's already being present in the save file being loaded in after the save is loaded, and the file being re-archived.

27 December -- all done! files saved on windows can be loaded on linux, and vice versa. everything seems good. almost 0.39.3 ready, just need to do final testing

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.