ElektraInitiative / libelektra

Elektra serves as a universal and secure framework to access configuration settings in a global, hierarchical key database.
https://www.libelektra.org
BSD 3-Clause "New" or "Revised" License
208 stars 123 forks source link

[FLOSS] storage plugins: fail on unknown metadata #4555

Open markus2330 opened 1 year ago

markus2330 commented 1 year ago

Currently most of the storage plugins simply eat unknown metadata. They should fail with an error instead.

I.e. kdb meta-set user:/mp blue blah

should either fail or kdb meta-get user:/mp blue should return blah

Bujuhu commented 1 year ago

I've looked at every storage plugin except those, who discourage or omit mounting / setting values for keys altogether. I've created a single issue for every plugin I found which behaves that way. Creating a single issue for each one might seem kind of silly, seeing how similar they are, but I think it makes more sense that way, as most of the plugins probably won't be fixed all simultaneously.

markus2330 commented 1 year ago

Great job! I linked all issues in the top post and ordered them by priority.

markus2330 commented 1 year ago

We should mark the buggy plugins or remove them. @atmaxinger what do you think?