New CLI tool & Relational metadata model #23
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New CLI tool
dreimetadaten
… with subcommands:
migrate
: Migrate previous JSON dataset to new relational database.export
: Export dataset into various (more convenient) formats.web
: Export dataset for the web data directory.webbuild
: Generate HTML code for the web page using a template file.Replaces previous tools
D3F-MetadataExporter
,D3F-WebGenerator
(and its companion scriptwebBuild.sh
) which are moved into code/_legacy/.Relational metadata model
A new relational model (MetadataObjectModel.swift) which aims to properly capture all the correct data, attributions and relationships without redundancies in preparation for – and with a direct mapping to – a proper SQL database (#14).
Incomplete list of notable changes: