forked from quattor/CAF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
executable file
·462 lines (279 loc) · 11.6 KB
/
ChangeLog
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
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
2012-01-18 Luis Fernando Muñoz Mejías
* Release: 1.12.1
- Run "restorecon" and NOT "restorecond" for SELinux contexts.
2011-11-14 Loic Brarda
* Release: 1.12.0
- Fix the syslog function : It was using $self instead of its internal $_REP_SETUP to find the logfile so the real syslog function was never called
2011-11-14 Loic Brarda
* Release: 1.11.0
- Don't write message if facility parameter or config item is not known (use default -local1- in that case)
2011-10-21 Loic Brarda
* Release: 1.10.0
- - Add support for configurable syslog facility
2011-07-18 Loic Brarda <[email protected]>
* Release: 1.9.1
- add_or_replace_sysconfig_lines : new function
- remove_lines functions : new function by [email protected]
2011-05-12 Luis Fernando Muñoz Mejías <[email protected]>
* Release: 1.9.0
- Add NoAction to Object and stringify to File*
Process and File* will not do anything if NoAction is present. The
name is probably not optimal, but it's consistent with what we
find in NCM::Components.
Also, it's possible to get the contents of a FileWriter or
FileEditor as if it was a string, and check if it contains some
pattern just by doing
$fh =~ m{regexp};
2011-01-31 Luis Fernando Muñoz Mejías <[email protected]>
* Release: 1.8.7
- restorecon when files have changed.
2010-12-08 Luis Fernando Muñoz Mejías <[email protected]>
* Release: 1.8.6
- Make the install path dependent on Perl's directories for
the platform.
2010-10-28 Luis Fernando Muñoz Mejías <[email protected]>
* Release: 1.8.5
- Add functions add_or_replace_lines and replace_lines.
2010-02-05 Luis Fernando Muñoz Mejías <[email protected]>
* Release: 1.8.4
- Support the new "shell" flag from LC::Process.
2009-07-01 Luis Fernando Muñoz Mejías
* Release: 1.8.3
- Fix CAF::FileEditor::print.
It was not working as expected, as IO::String has the stupid habit of
resetting the position to 0, so all printings were done on the very beginning
of the file, instead of at the end.
2009-03-03 Luis Fernando Muñoz Mejías
* Release: 1.8.2
- Fix CAF::Reporter::verbose.
CAF::Reporter objects don't have the debug and verbose flags as part of the object,
but on the class-wide $_REP_SETUP. So that's the place to look at when we are verifying
whether or not a verbose message should be output.
2009-01-11 <unknown>
* Release: 1.8.1
- Added head_print method, documentation and fixed the Makefile.
Added full documentation with a few examples.
New head_print method, which I hope helps replacing the confusing syntax of
NCD::Check::lines (or whatever).
Updated the Makefile to build this module, too.
2009-01-11 <unknown>
* Release: 1.8.0
- Added a new CAF::FileEditor module.
It will allow to access and modify the contents of a file, perhaps
replacing NCM::Check::lines.
2008-11-15 <unknown>
* Release: 1.7.3
- Adding messages to CAF::FileWriter telling if the file was actually modified.
2008-11-14 <unknown>
* Release: 1.7.2
- Documentation update on CAF::FileWriter
2008-10-21 "Luis Fernando"
* Release: 1.7.1
- Fixed bug #43116
There was a call to _REP_SETUP->report instead of $self->report on the debug method.
Also, ReporterMany blindly overwrote the settings from CAF::Reporter, leading to --verbose
and --debug not working.
2008-09-30 "Luis Fernando"
* Release: 1.7.0
- New module, CAF::FileWriter, for wrapping file writing operations.
It provides a file-like interface, but doesn't actually write to a file
if the contents don't change. It uses LC::Check for that, so it doesn't
respect SELinux contexts.
Added tests for CAF::FileWriter and updated the tests for CAF::Process.
Added a run-all-tests script, for being able to run all tests with the
make test command.
Renamed the "test" directory to "t", to comply with the build toolds
requirements.
2008-09-29 "Luis Fernando"
* Release: 1.6.7
- Updated CAF::ReporterMany's documentation.
2008-09-26 "Luis Fernando"
* Release: 1.6.6
- Removed the CAF::FileWriter module from the Makefile.
2008-09-26 "Luis Fernando"
* Release: 1.6.5
- Temporarily removing the CAF::FileWriter module, to have a version that doesn't
require perl-IO-String and yet has a working CAF::ReporterMany.
2008-09-26 "Luis Fernando"
* Release: 1.6.4
- Tagging the previous change.
2008-09-26 Luis Fernando Muñoz Mejías <[email protected]>
* Release: 1.6.4
- CAF::ReporterMany: fixed the setup_reporter method to fetch, at
the beginning, the global settings of CAF::Reporter.
2008-09-26 Marco Emilio Poleggi,<[email protected]>
* Release: 1.6.3
- CAF::Reporter: restored singleton behavior;
- CAF::ReporterMany: new class allowing multiple reporter objects;
- CAF::RepLogger updated to use CAF::ReporterMany
2008-09-18 "Luis Fernando"
* Release: 1.6.2
- Added CAF::Process. CVS sucks.
2008-09-17 "Luis Fernando"
* Release: 1.6.0
- Added a new module, Process.pm, which wraps LC::Process and allows to log the commands
run, at the verbose level. See the man page for more information.
2008-08-05 "Luis Fernando"
* Release: 1.5.3
- Fixed Reporter.pm causing processes to die when the syslog daemon is not running
and the log sockets are not available (f.i., when installing OpenVZ guests)
2008-08-04 "Luis Fernando"
* Release: 1.5.2
- Fixed a priority name
2008-07-31 "Luis Fernando"
* Release: 1.5.1
- Fixed logging to syslog on SL4. Some of the macros used existed only on Perl 5.8.8 (SL5).
2008-07-28 "Luis Fernando"
* Release: 1.5.0
- Adding the ability to log to syslog, as well as old-style logs.
Note that the CAF::Reporter::syslog method is not thread-safe.
2007-12-06 Marco Emilio Poleggi,<[email protected]>
* Release: 1.4.15
- Object: inherits from Reporter and initializes it new() to avoid issues
with application which are already using CAF::Reporter.
2007-12-05 Marco Emilio Poleggi,<[email protected]>
* Release: 1.4.14
- RepLogger: replaces LoggerSingle since it's more flexible
- Reporter: now allows multiple instances of reporter objects, so that
more than one log file can be used in the same application
2007-11-27 Marco Emilio Poleggi,<[email protected]>
* Release: 1.4.13
- CAF::LoggerSingle: new module for easy logging with generic applications
- CAF::Reporer: small fix: now debug() checks that the first parameter is
integer.
2007-05-24 Marco Emilio Poleggi,<[email protected]>
* Release: 1.4.12
- Small fix in CAF::Log to avoid extra newlines at log closing
2007-02-06 Marco Emilio Poleggi,<[email protected]>
* Release: 1.4.11
- Small bugfix for handling correctly indented comments in conf files
2006-08-21 Marco Emilio Poleggi
* Release: 1.4.10
- Added 'Provides' line to specfile for dependency on old edg-caf-perl
2006-08-18 Marco Emilio Poleggi
* Release: 1.4.9
- Error reporting enhanced when logfile cannot be created/accessed
2006-05-26 Marco Emilio Poleggi
* Release: 1.4.8
- Removed test target from Makefile as it clashes with top level rules
2006-02-17 German Cancio Melia
* Release: 1.4.7
- Moved AppConfig man pages to AppConfig-caf
2006-02-16 German Cancio Melia
* Release: 1.4.6
- Fix RPM 4.2.3 issue with Obsoletes/Provides
2005-09-19 German Cancio Melia
* Release: 1.4.5
- Removed Provides: as already Obsoletes: edg-caf-perl - and this was confusing RPM!!
2005-07-04 German Cancio Melia
* Release: 1.4.4
- Added explicit Requires: of perl-Proc-ProcessTable
2005-06-03 German Cancio Melia
* Release: 1.4.3
- Added root permissions to AppConfig RPM
2005-05-31 German Cancio Melia
* Release: 1.4.2
- Adds a 'provides edg-caf-perl' for backwards compatibility
2005-05-06 German Cancio Melia
* Release: 1.4.1
- Minor fix in Lock.pm - verify if application instance holding the lock becomes stale in every wait iteration
2005-05-06 German Cancio Melia
* Release: 1.4.0
- Bumped minorversion. Also added a is_set() method to Lock to check if lock is set by this application instance.
2005-05-06 German Cancio Melia
* Release: 1.3.13
- Adding CAF::Lock class (as requested in Savannah #3180)
2005-04-18 German Cancio Melia
* Release: 1.3.12
- Updated the example to show arrays and hashes
2005-01-31 German CANCIO MELIA
* Release: 1.3.11
- Accepts now for --cfgfile both --cfgfile value and --cfgfile=value
2005-01-24 German CANCIO MELIA
* Release: 1.3.10
- Addded restriction to redefine QTTR_PERLLIB only on Linux
2004-12-03 German CANCIO MELIA
* Release: 1.3.9
- Added obsoletes for edg-caf-perl
2004-12-03 German CANCIO MELIA
* Release: 1.3.8
- Changed RPM group to 'quattor'
2004-10-07 Rafael Garcia Leiva
* Release: 1.3.7
- package renamed, package dependencies fixed
2004-08-24 German CANCIO MELIA
* Release: 1.3.6
- Splitted out AppConfig to a separate package, fixing Savannah #4088
2004-05-26 German CANCIO MELIA
* Release: 1.3.5
- fixed typo in pod doc (Savannah #3487)
2004-03-15 German Cancio Melia
* Release: 1.3.4
- Put libraries now in standard perl directory
2003-08-25 CVS: new release (gcancio)
* Release: 1.3.3
- small fix due to quattor build tools date missing
2003-08-25 CVS: new release (gcancio)
* Release: 1.3.2
- for Solaris compatibility, separated mkdir line
2003-08-22 CVS: new release (gcancio)
* Release: 1.3.1
- removed @LCFGCONFIGMSG@ from specfile
2003-08-22 CVS: new release (gcancio)
* Release: 1.3.0
- Cleanup and polish port to new Quattor build tools
2003-08-22 CVS: new release
* Release: 1.2.4
2003-08-21 German CANCIO MELIA <[email protected]>
* converted to new quattor build tools
2003-07-01 CVS: new release
* Release: 1.2.2
2003-07-01 CVS: new release
* Release: 1.2.1
2003-07-01 CVS: new release
* Release: 0.1.13
2003-07-01 German CANCIO MELIA <[email protected]>
* added new ReporterObject class, to use Reporter as an singleton
class
2003-06-11 CVS: new release
* Release: 0.1.12
2003-06-11 German CANCIO MELIA <[email protected]>
* support -help as --help in Application.pm
2003-03-21 CVS: new release
* Release: 0.1.11
2003-03-21 German CANCIO MELIA <[email protected]>
* small doc fix in Application.pm
2003-02-17 CVS: new release
* Release: 0.1.10
2003-02-12 CVS: new release
* Release: 0.1.9
2003-02-06 CVS: new release
* Release: 0.1.8
2003-02-06 German CANCIO MELIA <[email protected]>
* removed Exception.pm as now found in edg-perl-LC package
2003-02-05 CVS: new release
* Release: 0.1.7
2003-02-05 CVS: new release
* Release: 0.1.6
2003-02-05 German CANCIO MELIA <[email protected]>
* Removed destruction method in Reporter as not
object but invariant class
2003-02-05 CVS: new release
* Release: 0.1.5
2003-02-05 German CANCIO MELIA <[email protected]>
* bugfix for help display (no defaults).
* added hash handling in help display.
2003-02-04 CVS: new release
* Release: 0.1.4
2003-02-04 CVS: new release
* Release: 0.1.3
2003-02-04 German CANCIO MELIA <[email protected]>
* small bugfix (AppConfig.pm readded to specfile)
2003-02-04 CVS: new release
* Release: 0.1.2
2003-02-04 German CANCIO MELIA <[email protected]>
* added LC::Exception as a temporary hack.
2003-02-04 CVS: new release
* Release: 0.1.1
2003-02-04 German CANCIO MELIA <[email protected]>
* first version.