-
Notifications
You must be signed in to change notification settings - Fork 123
Directory Value Plugin & Minor Fixes #1722
The head ref may contain hidden characters: "\u{1F341}"
Conversation
f913bb2
to
c4fa1d6
Compare
jenkins build all please |
Build finished. No test results found. |
1 similar comment
Build finished. No test results found. |
Thank you for the many improvements and the many new shell recorder snippets! You used very creative names. I have following questions (maybe they are separate issues):
|
As far as I can tell the test now also works, if we remove the special case for the YAJL plugin.
Not as far as I can tell.
Is:
(line 24-27 of the ReadMe) not already an example for nested directory values? After the conversion the key set looks like this:
. You can also see this conversion in
Escaping is currently not possible. You can not use the name |
Thank you. You do not need to answer such questions but only point to PR/issue where it is fixed or tracked.
Okay, I wondered about the change.
Sorry, I overlooked this.
I do not know. But we should make it a habit to properly escape everything and never assume anything about the content people want to store. (Think of storing wifi SSIDs. Then you could lock out users using Elektra when you call your access point ___dirdata.) For now it is enough if you document it as limitation. |
Build finished. No test results found. |
Purpose
This pull request adds a new plugin that adds a leaf (key without children) for every directory (key with children) that stores data. For more information, please take a look at issue #106.
The PR also fixes problems with the
ERROR
directive in the Markdown Shell Recorder, and other minor issues.Remark
The Directory Value plugin currently does not work in conjunction with the INI plugin. I did not look closer into this issue since the Directory Value plugin seems to deliver the correct key set to the INI plugin. The code below shows a failing example:
Checklist
src/plugins/directoryvalue/README.md
should be correct.