-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
Currently, the database cannot be renamed via Web API.
Note: the database name is stored in name.txt
in the tree directory.
Challenges: in single-tree setups, we still use TREE
, the name, to pick the right tree, so it doesn't make sense to change the name at runtime.
Options:
- Disallow renaming tree in single-tree setup
- Deprecate
TREE
in favour of something likeTREE_ID
and block the new feature until then - but this would be a breaking change for all users, not great - Introduce a new
TREE_ID
option and only allow renaming tree if it is set - still requires all users to change their config - Allow using a tree ID for
TREE
and detect whether it's a name or an ID, allow renaming only if it's an ID - complicated - Remove single-tree setup and
TREE
config option???
Blocks: gramps-project/gramps-web#527
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Medium Priority