table of contents
| doc_decisions_relative_md(3elektra) | Elektra | doc_decisions_relative_md(3elektra) |
NAME¶
doc_decisions_relative_md - Relative
Issue¶
There is a different behavior of various plugins whether their name is absolute or relative, including:
- 1.
- mounting the same file somewhere else does not work
- 2.
- importing somewhere else (other than from where it was exported) does not work (See here)
Constraints¶
- •
- at least the dump plugin must be able to handle its old files
Assumptions¶
- it still will be easy to support a workflow that exports/imports everything
- mounting across namespaces (user/system) does not make sense
Considered Alternatives¶
- •
- allow relative/absolute plugins and mark them what they are, tools (e.g. import/export) use this knowledge and react accordingly. This would still not solve issue 1.)
Decision¶
Key names shall be relative to parent Key name
Argument¶
Provides a better import/export/remount and also a more uniform experience between different plugins.
Implications¶
Plugins must be adapted to be relative as tracked here.
plugins should use relative paths so that import/export/remount works
- dump
- xmltool (also supports relative)
- tcl
Related decisions¶
None
Notes¶
| Mon Jan 15 2018 | Version 0.8.20 |