forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTOOLS
219 lines (116 loc) · 3.94 KB
/
TOOLS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
= TOOLS =
== MOUNT ==
lazy-mount (vs. directly improve all mountpoints with lazy wrapper?)
allow --no-env --no-arg --no-default arguments?
== STATUS ==
Plugin queries by status and other metadata
evidence of plugins (architecture, compilation, tests)..
== LIBTOOLS ==
let backends to import/export
use it for import/export/convert
convert
using proc namespace
or get/set with root keys?
kdb-shell:
use import/export
automatic tests for functionality
Examples in --help
add list-plugin functionality
add global mountpoints functionality
more testing
== NEW INTERFACES
ncurses interface
pstree like visualization
kdb-grep
interface that makes auto-completion happy
== REST-BACKEND ==
make nice interface for JWT library
make use of cachefilter plugin
== KDB ==
get size of key
generic fstab:
allow to specify templates that are filled out by the given arguments e.g.:
/sw/kdb/template/
/sw/kdb/template/fstab/ZZZNewFstabName
/sw/kdb/template/fstab/ZZZNewFstabName/device
/sw/kdb/template/fstab/ZZZNewFstabName/dumpfreq
/sw/kdb/template/fstab/ZZZNewFstabName/mpoint
/sw/kdb/template/fstab/ZZZNewFstabName/options
/sw/kdb/template/fstab/ZZZNewFstabName/passno
/sw/kdb/template/fstab/ZZZNewFstabName/type
allows kdb mset fstab <args> to be the same as kdb fstab
kdb tool should work with arrays (add_entry, remove_entry)
or also kdb setmeta user/abc check/enum -a "first enum" "second enum" "third enum"
or also kdb set user/abc -a "first array entry" "second" "third array entry"
allow key array increments with kdb tool
easier handling for comments (special case of array), maybe with generic meta-template that supports arrays?
kdb tool should work with files (read in as value)
kdb set user/abc -F filename.txt
cascading export, e.g. for nickel?
+ remember what was exported
list existing plugins
dynamically detect them when installed
kdb-export:
in a way that it can be used as shell script to immediately
import
kdb tool:
allow verification of local key database by exported file
tset (typesafe set)
export should be able to export only configuration that was changed
suppress default config by some metadata
install config (mount+preload system config) by using meta struct
kdb tool:
request -f for rm, mv in system/elektra
== GEN ==
install kdb gen properly
search by default in installed paths
using python kdb for gen
array support for kdbvalue.hpp (might already work with proper type conversion)
code generator always yields LONG_MIN, LONG_MAX on any type!
cmake support for "kdb gen" (run kdb gen within cmake)
use doc/METADATA.ini to validate config files
fix check/type vs. type and check/type/{min,max} vs. range problem
environment parsing support
static compilation model
has_ queries
(allows one to differ between default fallback and intentional set default)
type: set of enums (see libmount for options)
limit range for bool/enum
override/fallback type inference
docu
validation of schema + line info
add Args... flags to onLayerActivation
genopt.hpp + include enforcement in template_dynamic?
use spec namespace
generic command-line parsing
%% context evaluation?
generator for:
exc classes
try catch blocks
as keyset
human readable text
use spec+proc namespaces
=== Validate
using kdbSet+kdbGet?
with constraint checking+solving and so on.
## HOMEPAGE ##
- show front page also without javascript
== GUI ==
support for binary keys, see #234
generic commandline arguments:
for self configuring
for proc namespace
dbus-listener + notify single events, maybe zeromq
auto-completion for metadata
see above for validate
== GEN-BACKEND ==
Code generator that does what "kdb mount" does but provides a statically
compiled variant thereof.
Needed for bootstrapping.
== DBUS ==
Daemon which exports whole elektra configuration
(dbus bridge, first of so called bridges, other ideas: ldap, snmp)
= other stuff =
uninstall:
let user find configuration of uninstalled software
upgrade