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

Project File Structure #253

Merged
merged 8 commits into from
May 28, 2020
Merged

Project File Structure #253

merged 8 commits into from
May 28, 2020

Conversation

vkbo
Copy link
Owner

@vkbo vkbo commented May 28, 2020

For version 0.7, the file structure of a novelWriter project is changing. The document files are now saved in one folder, instead of being split across 16 folders. Their filenames are also simply the handle + the .nwd extension.

The more complex structure was created early on when there was meant to be more meta files and other supporting file, making a single folder potentially fairly large. This is no longer the case, so that approach is being dropped. A single folder for the documents also makes it easier to use versioning tools on the project, as you only have to add one folder to the versioning tool each time you make new project files.

This causes a bump in the file version of the project file itself. Since project item meta values are now settled for the 1.0 release feature set, this is a good time to draw a line and say an break backward compatibility with older versions of novelWriter.

When a project is opened in the dev branch, or after 0.7 is released, a dialog will ask if the user wants to upgrade their project. After this, the project can only be opened with version 0.7 or later.

@vkbo vkbo merged commit 9682c47 into dev May 28, 2020
@vkbo vkbo deleted the project_structure branch May 28, 2020 19:08
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 this pull request may close these issues.

1 participant