Create a generic registry in the database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bauble |
Triaged
|
Wishlist
|
brettatoms |
Bug Description
It would be useful to create some sort of generic registry in the bauble database that could be imported and exported from version to version. It could hold things like the institution information, plugin registry and any other meta information.
It could have a simple structure like:
# RegistryContain
# - name
# - entries
#
# RegistryEntry(
# - name
# - type
# - value
# - container_id
1. Would it be specific for an instance of Bauble or would it make sense to have it importable and exportable between version? Maybe if we marked specific containers or entries as "non-transferrable" then we could make it only parts of it transferrable, although that is a bit messy.
2. ... what else?
I'll have a think about this...