-
Notifications
You must be signed in to change notification settings - Fork 1
/
Changes
394 lines (285 loc) · 10.6 KB
/
Changes
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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
{{$NEXT}}
1.040 2024-01-17
Bug fix:
* fix deprecation warning
1.039 2023-12-09
New feature:
* tkui: open write widget with "cme edit <app> --open-item "<element path>"
Bug fix:
* cme run: improve heuristic to detect plain Perl script
1.038 2022-03-13
Bug fix:
* run command: substitution of variable in commit message
1.037 2022-02-05
New feature:
* allow code section in scripts
* allow 'run' script in YAML or Perl format
Misc changes:
* remove "use XXX" from test script
1.036 2022-01-12
Bug fix:
* fix test broken by output change in Config::Model 2.148
Misc changes:
* tests requires Config::Model 2.148
1.035 2022-01-09
Bug fix:
* fix postderef syntax with perl 5.20
* fix (run): --no-commit option
* fix (run): do not try to commit when no changes are done
* fix (test): broken by Config::Model 2.145
1.034 2021-10-30
New feature:
* add use_backend_argument_as_config_file param to app files
Misc changes:
* require perl 5.20
* update copyright year
* refactored following perlcritic advices
1.033 2021-09-19
Bug fix:
* fix (fix command): display node name when needed
* remove duplicate option definition
* fix (run command): fix override of --commit option
* fix force-load doc
Dependency changes:
* rm test dependency on Probe::Perl
1.032 2020-07-17
cme improvements:
* cme warnings are now shown with log4perl in blue
(the shown color depends on Log4Perl configuration)
Doc improvements:
* improve update command doc (Thanks Ross Vandegrift)
* add contributor section in cme doc
* run command: fix typos in synopsis comments
1.031 2020-01-12
Bug fix:
* fix warning about deprecated -root parameter
Misc:
* suggest Config::Model::CursesUI instead of recommend
* recommend Config::Model::TkUI >= 1.370
1.030 2019-09-11
Improve output of cme:
* show more information when running "cme help"
1.029 2018-08-20
Bug fixes:
* fix options diplayed by bash completion
Smoke test fixes:
* fix extra \n in output for perl < 5.18
1.028 2018-06-20
Documentation improvements:
* add bugs section in cme doc
* improve doc of modify command
Improve output of cme:
* check and modify commands are now silent when no problem is found.
* run and modify commands show detailed script actions on configuration
data in verbose mode
* dump command: indicate -format choices in usage output
* check command: show progress messages only in verbose mode.
* fix command: show "running fix" message only in verbose mode
* common: remove using xxx model message
Bash completion fixes:
* remove obsolete -backend option
* fix bash completion of run command
Other:
* requires Config::Model 2.124
* run: allow untracked files when committing
* cme: Simplify verbose option
1.027 2018-04-05
Improve cme run script:
* add error message when application param is missing
* leave capture parameters alone
* add syntax for multi-line instructions
* replace_var sub accepts several variabless
* fix error message when run is called without argument
Other:
* Using cme option '-file' with value '-' is deprecated
* update copyright year in dist.ini
1.026 2017-12-18
New experimental feature:
* By default, Shellvar backend from Config::Model 2.116 keeps
parameter order when writing back configuration data. This broke
cme test that check that data is written with canonical order
* add -canonical option to let data be written back according to model
order (i.e. the previous behavior of shellvar backend)
* Fix test broken by new ShellVar behavior (using -canonical option)
* Depends on Config::Model 2.116 (for -canonical option)
On-going deprecation of obscure multi backend feature
* cme: remove obsolete -backend option (since only one backend can now
be available, there's no need to an option to choose an alternative backend)
1.025 2017-12-14
Some new features for the rather new 'run' subcommand:
* add -cat option option to show the script
* -doc option also shows commit message
New feature for the older 'dump' subcommand
* -format accepts yaml or yml
* -format value is now case insensitive
* accept -format cds (alias to cml)
Misc:
* improve doc of modify command
1.024 2017-10-22
Some new features for the rather new 'run' subcommand:
* add --no-commit option (Debian #877986)
* add --commit option
* can now specify default value for script args
Other bug fixes:
* run: remove warning about Log4Perl initialisation
* run: fix option description
* cme: update Log4Perl init in doc
1.023 2017-09-10
Bug fixes:
* add missing backup option to read/write commands (like cme edit,
fix, modify ...)
* die if both require_config_file and require_backend_argument are set
in app file (in Config/Model/[system|user|application].d)
1.022 2017-06-21
Bug fixes for smoke test failures:
* test failure exit code to be != 0
* work-around test issue with perl < 5,18
1.021 2017-06-18
Bug fixes:
* try to smoke test failures: convert cme test
to use App::Cmd::Tester
* remove deprecated arg '~~' from doc
1.020 2017-06-05
Improvements for all commands :
* allow backend_argument (used by systemd)
* unknown options trigger a warning
Bug fixes:
* all: fix bash completion of -file option
* cme run: fix bash_completion of -doc option
* cme allow non_upstream_default mode
* all: remove -dev option which raises security issues. Use
'perl -Ilib -S cme' for the same effect
1.019 2017-04-30
This release brings some improvements:
* run: allow to use command args in var: lines
* cme: add '-verbose [ info | debug | trace ]' option to
get debug logs
Other bug fixes:
* do not replace hash variable in run script
1.018 2017-04-07
This release improve 'cme run' command to make it more useful:
* add -list option
* can compute script variables (var: section)
* can use environment variables
* add possibility for scritps to provide their own doc
displayed with 'cme run xxx -doc'
* die when if a script variable is not defined
* look for system scripts in /usr/share/
* add bash completion for cme run command
Other changes:
* save option can now be used with all subcommand
1.017 2017-03-05
This release bring a new cme sub-command to let you create
small configuration scripts: cme run
Misc:
* update © years
1.016 2016-12-12
Bug fix:
* check command: propagate -force option to skip load check
* dump command must always be in quiet mode
1.015 2016-10-14
Bug fix:
* cme: support utf8 in command args (Debian #839593)
1.014 2016-09-24
Improvements:
* run deep_check when running commands check, edit, modify, shell
(requires Config::Model 2.089)
* improved error msg for unknown app (Closes Debian #836794)
Bug fix:
* cme: fix -strack-trace option
1.013 2016-07-10
Usability improvements:
* clarify doc of -strict option (check cmd)
* fix typo in pod doc (tx Thomas Schmitt)
* suggest 'cme fix' when 'cme check' finds warnings
* add CONTRIBUTE.md
1.012 2016-05-29
Bug fix:
* edit command degrades gracefully when recommended packages
are not isntalled
* shell command degrades gracefully without Term::ReadLine
1.011 2016-04-21
New functionality:
* dump command can dump any config file(s) in YAML, JSON
or Perl format.
1.010 2016-01-30
New functionality:
* Can read configuration directory from application
file, e.g. user.d/ssh. This will help reuse Model
between applications (e.g. systemd and
systemd --user).
This requires Config::Model 2.077
Bug fix:
* cme list: fix -dev option option (Debian #813188)
1.009 2016-01-02
Bug fix release:
* remove warning about missing config file. It's better to
let the read/write backend handle bogus config file
* update command: improved messages shown to user
* list command: now work with -dev option
1.008 2015-11-14
Bug fix release:
* fix -save option with modify command
* fix -try-app-as-model option
1.007 2015-10-25
Usability improvements:
* cme: added -file option to replace '~~' argument
* bash_completion: added update sub command
Doc fixes:
* cme: fixed synopsis
* cme: added update doc
1.006 2015-07-19
Doc fix release:
* cme edit doc: don't abuse L<> tag which are change in "the xxx manpage"
* cme list: improve help shown to user
* cme help: transform pod to text to avoid showing pod markup
* cme fix: corrected small mistakes in doc
* cme check: added another example in pod doc
1.005 2015-05-25
* all: fixed confusing unwarranted warning message (about ~~ argument)
1.004 2015-05-25
Mostly a bug fix release.
Please use now github to report issues on cme
( https://github.com/dod38fr/cme-perl/issues )
* metadata:
* switched bugtracker to github's
* fixed repo and website urls (Tx xtaran)
* all: add a warning if conf file is not found (may mean a
missing ~~ argument). (I'd welcome ideas on how to replace this
iffy ~~ argument)
* dump command:
+ added possibility to select a node to dump
* fixed -dumptype which is not mandatory
* test can run with local cme or system cme to fix debian continuous
integrations tests
1.003 2015-04-26
Bug fix release:
* Common: pass cme messages through on_message_cb
* update: call C::M::Instance->update
(require Config::Model 2.068)
* remove debug call to YYY
1.002 2015-01-10
* gen-class-pod:
* fix doc and missing command arguments
* update:
+ added -edit option to run editor after an update
* fix typo in pod doc
* dist.ini: updated © to 2015
1.001 2014-11-29
* require Config::Model 2.063 (to avoid bash_completion clash)
* improved messages printed by update command
* added 'gen-class-pod' alias for gen_class_pod
* bash_completion:
+ added help version commands update in hard-coded list of commands
* fixed syntax error
0.001 2014-11-25
First release of App::Cme.
These are the changes done to cme compared to the old cme shipped
with Config::Model 2.061:
* Cme has been re-written with App::Cmd
- old mechanism for cme extension is removed. Extensions support
is provided by App::Cmd
+ added gen_class_pod and update commands
+ added -quiet option to suppress progress messages
* fix mistached options wrt available commands in bash_completion
* added -root-dir option (used for tests)