$darkmode
Elektra 0.11.0
Relative

Problem

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 problem 1.)

Decision

Key names shall be relative to parent key name.

Rationale

Provides a better import/export/remount and also a more uniform experience between different plugins.

Implications

All plugins that had absolute paths were adapted, see #51.

Related Decisions

None

Notes