Overview

Request 640473 accepted

- Fix autogenerated changes
- updated to 2.126
see /usr/share/doc/packages/perl-Config-Model/Changes
2.126 2018-08-20

Bug fix:
* Value: Don't crash with some chained fixes

Usability improvements:
* BackendMgr: log an error when eval'ed write dies
- updated to 2.125
see /usr/share/doc/packages/perl-Config-Model/Changes
2.125 2018-06-24

Bug fix:
* BackendMgr: remove close call on fh. This is now
handled by Path::Tiny

Breaking change:
* BackendMgr: remove code to read from stdin. This removes
the possibility to read a config file from STDIN. This was
deprecated since January and nobody complained.

Doc change:
* improve pod doc on Grab.pm
- updated to 2.124
see /usr/share/doc/packages/perl-Config-Model/Changes
2.124 2018-06-09

The main change of this release should help people see what's going
on during 'cme run' or 'cme modify'.

Config::Model::initialize_log4perl now accepts a verbose parameter
to enable verbose message of Loader class (used by cme run and
modify). In verbose mode, Loader now shows the effect fi each
instruction specify on 'cme modify' command line or specified in the
script run by 'cme run'. This feature will be available with the
next release of cme.

Bug fixes:
* display USER INFO log as plain message (no need of 'INFO:' prefix)
* fix CheckList element handling when cme is run with -force option.
(add check param to CheckList)
* Value: avoid warning when loading wrong boolean (gh #17)
* Avoid unneeded change notif when showing up a node that was
previously hidden (gh #17)
* improve error message about unknown element (gh #18)
- updated to 2.123
see /usr/share/doc/packages/perl-Config-Model/Changes
2.123 2018-05-01

On-going improvements of R/W backends:
* io_handle backend parameter is deprecated
* use file_path in all backends instead of io_handle

Test improvements:
* build dep on Config::Model::Tester 3.006
* document prove command in t/README.pod
* tests run without showing any warnings
* all tests accept --log --error --trace parameters
* all test models are updated to remove all
deprecated declarations

Bug fix:
* fix parameter sanitisation in Instance
* Value: remove self assignment (tx kritika.io)
* update WarpedNode synopsis
- updated to 2.122
see /usr/share/doc/packages/perl-Config-Model/Changes
- updated to 2.121
see /usr/share/doc/packages/perl-Config-Model/Changes
2.121 2018-04-15

Bug fix:
* BackendMgr: fix handling of file argument
* Instance: fix compat with Perl < 5.20

Log improvements:
* use User class to log warning for User
* Model: add doc for initialize_log4perl
* Model: moved log4perl default conf in a separate file
(lib/Config/Model/log4perl.conf)

Test improvements:
* add README for the tests
* some tests can be rung with --log, --trace and --error
options. See t/README.pod for details
- updated to 2.120
see /usr/share/doc/packages/perl-Config-Model/Changes
2.120 2018-04-08

Bug fix:
* fix config file location declared with absolute
path (i.e. all system application like ssh, systemd)
- updated to 2.119
see /usr/share/doc/packages/perl-Config-Model/Changes
2.119 2018-04-02

Main change:
* use logger to warn about issues. By default, logged warnings
are shown on STDOUT. These warnings can be suppressed
using ~/.log4config-model file.

API change:
* Instance: root_dir parameter can be a Path::Tiny object
or a string

Bug fixes:
* BackendMgr: fix broken file backup
* Backend: create dir before creating file
* Yaml backend: avoid redefined sub warning
- updated to 2.118
see /usr/share/doc/packages/perl-Config-Model/Changes
2.118 2018-03-26

On-going backend deprecation:
* BackendMgr: deprecate using STDIN to load config file. Which
means using '-' with cme '-file' option is deprecated.

Backend:
* Improve global comment extraction

Other changes:
* remove unused modules from BackendMgr
* Exception: improve Model error message
- updated to 2.117
see /usr/share/doc/packages/perl-Config-Model/Changes
2.117 2018-02-03

Bug fixes:
* notify about addition of hash key only when needed
* fix error message of "missing file" exception

2.116 2017-12-15

Fix broken cme:
* Instance: fix regression about root_dir param

2.115 2017-12-14

On-going backend deprecation (which might be breaking):
* Backend: deprecate using instance name as config file name
* All backends: suffix method is deprecated

Backend:
* ShellVar backend: don't reorder when writing back (experimental)
* trap when backend class has no implementation

New features:
* Loader: provide "english" operator foreach_match, rm rm_value,
rm_match, substitute. These are equivalent to :-~ :- :-= :-~ :=~
operators (cme gh#2)

Bug fixes:
* Node gist: no need to show that value is undef
* WarpedNode: forward fetch_gist instead of gist
* Instance: add doc for root_path parameter

2.114 2017-11-11

On-going backend deprecation (which might be breaking):
* support for multiple backends is now removed. Attempting to
configure multiple backend leads to an error message with
explanations.
* when possible (i.e. when only one backend is specified),
translate read_config and write_config in new rw_config. This
should limit breakage to the minimum as multiple backends are
seldom (if ever) used.

New features:
* AnyId: add fetch method
* CheckList: add store method
* Node: add gist parameter and fetch_gist method to get a summary
of node content to be shown in user interface.

Bug fixes:
* Exception: fix call to fetch_element
* ObjTreeScanner: Don't try to scan warped out node elements
* Instance: no longer show diff-like changes
* clean up check on node init (gh #15)
* AnyId: add notification triggered by adding a new element to a
hash or array.

Build changes:
* no longer use Text::Diff


2.113 2017-10-12

On-going backend deprecations:
* using "custom" backend is now fatal
* warn when more than one backend is declared in a model class.
This soon will be fatal
* udpated models (Fstab Multistrap PopCon) to use new rw_config parameter

Bug fixes:
* HashId: do not notify when deleting an undef value (Debian #876967)
* Value: support file test in code eval done by warn_if and similar tests
* remove confusing "master triggered changed" message
* really avoid undef warning when homedir is not defined
* avoid "unordered data" warning when loading one item in an ordered hash

New features usable with 'cme modify' or in a cme script (used by 'cme run'):
* add "=.env(...)" instruction to store the content of an environment
variable in a value
* add "=.file(...)" instruction to store a file in a value.
".file(-)" reads from STDIN.
* add a User logger category to log messages to user. Direct calls to warn
will be removed to make test output cleaner

2.112 2017-10-01

Fix bugs to make warp mechanism more consistent:
* Value: trigger a warp after apply_fix is called
* Value: apply replace when warping

Other bug fixes:
* don't initialise Log4Perl if already done
* Avoid warning when YAML data is missing

2.111 2017-09-22

Deprecating features might be necessary, but there's no need to be
obnoxious about it:
* Reduce the number of legacy warning
* use logger mechanism to issue these warnings

2.110 2017-09-21

Unfortunately the deprecations and updates done last release broke
Config::Model::Itself. This release fixes these problems:
* disable translation of read_config to rw_config
* change deprecation messages from warn to say
* put back old backend parameters for FsTab, Multistrap
and PopCon models

2.109 2017-09-18

Deprecation and updates as announced in http://wp.me/pFBZb-f5 :
* the model parameters read_config and write_config that are used
to specify different read and write backends are deprecated
in favor of rw_config to specify *one* r/w backend
* multiple backends are deprecated.
* update doc for these deprecations
* Dump string backend (cds_file) is now handled by its own class
(Config::Model::Backend::CdsFile)
* Perl backend (perl_file) is now handled by its own class
(Config::Model::Backend::PerlFile)
* Model: die when model parameters allow, allow_from, follow are
used. These parameters were deprecated several years ago.

Other changes:
* update backend parameters of FsTab, Multistrap, PopCon models
* Value: allow regexp and code test for enum (like warn_if_match)

Test improvements
* can run tests concurrently: prove -j8 runs all tests in 4s
(16s without -j8)

2.108 2017-08-31

Fix random failure in non-regression tests

2.107 2017-08-30

Deprecation: read/write backends have many complex features to read
and write configuration files that are not used. This is the first
step to deprecate and remove these features:
* custom backends are deprecated
* add doc that show how to replace a custom backend with a backend based
on Config::Model::Backend::Any

Security improvements:
* ValueComputer: safer use of variables in eval: variables are
passed to the eval'ed code in a hash insted of being inserted
*in* the code to eval.

Bug fixes:
* value: fix mechanism to avoid repetitive warnings (Thanks Tincho)
* use check => skip when fetching a value from
is_element_available method. This avoid missing warnings when
is_element_available function triggers a read of a configuration
file (like debian/control)

Request History
Dirk Stoecker's avatar

dstoecker created request

- Fix autogenerated changes
- updated to 2.126
see /usr/share/doc/packages/perl-Config-Model/Changes
2.126 2018-08-20

Bug fix:
* Value: Don't crash with some chained fixes

Usability improvements:
* BackendMgr: log an error when eval'ed write dies
- updated to 2.125
see /usr/share/doc/packages/perl-Config-Model/Changes
2.125 2018-06-24

Bug fix:
* BackendMgr: remove close call on fh. This is now
handled by Path::Tiny

Breaking change:
* BackendMgr: remove code to read from stdin. This removes
the possibility to read a config file from STDIN. This was
deprecated since January and nobody complained.

Doc change:
* improve pod doc on Grab.pm
- updated to 2.124
see /usr/share/doc/packages/perl-Config-Model/Changes
2.124 2018-06-09

The main change of this release should help people see what's going
on during 'cme run' or 'cme modify'.

Config::Model::initialize_log4perl now accepts a verbose parameter
to enable verbose message of Loader class (used by cme run and
modify). In verbose mode, Loader now shows the effect fi each
instruction specify on 'cme modify' command line or specified in the
script run by 'cme run'. This feature will be available with the
next release of cme.

Bug fixes:
* display USER INFO log as plain message (no need of 'INFO:' prefix)
* fix CheckList element handling when cme is run with -force option.
(add check param to CheckList)
* Value: avoid warning when loading wrong boolean (gh #17)
* Avoid unneeded change notif when showing up a node that was
previously hidden (gh #17)
* improve error message about unknown element (gh #18)
- updated to 2.123
see /usr/share/doc/packages/perl-Config-Model/Changes
2.123 2018-05-01

On-going improvements of R/W backends:
* io_handle backend parameter is deprecated
* use file_path in all backends instead of io_handle

Test improvements:
* build dep on Config::Model::Tester 3.006
* document prove command in t/README.pod
* tests run without showing any warnings
* all tests accept --log --error --trace parameters
* all test models are updated to remove all
deprecated declarations

Bug fix:
* fix parameter sanitisation in Instance
* Value: remove self assignment (tx kritika.io)
* update WarpedNode synopsis
- updated to 2.122
see /usr/share/doc/packages/perl-Config-Model/Changes
- updated to 2.121
see /usr/share/doc/packages/perl-Config-Model/Changes
2.121 2018-04-15

Bug fix:
* BackendMgr: fix handling of file argument
* Instance: fix compat with Perl < 5.20

Log improvements:
* use User class to log warning for User
* Model: add doc for initialize_log4perl
* Model: moved log4perl default conf in a separate file
(lib/Config/Model/log4perl.conf)

Test improvements:
* add README for the tests
* some tests can be rung with --log, --trace and --error
options. See t/README.pod for details
- updated to 2.120
see /usr/share/doc/packages/perl-Config-Model/Changes
2.120 2018-04-08

Bug fix:
* fix config file location declared with absolute
path (i.e. all system application like ssh, systemd)
- updated to 2.119
see /usr/share/doc/packages/perl-Config-Model/Changes
2.119 2018-04-02

Main change:
* use logger to warn about issues. By default, logged warnings
are shown on STDOUT. These warnings can be suppressed
using ~/.log4config-model file.

API change:
* Instance: root_dir parameter can be a Path::Tiny object
or a string

Bug fixes:
* BackendMgr: fix broken file backup
* Backend: create dir before creating file
* Yaml backend: avoid redefined sub warning
- updated to 2.118
see /usr/share/doc/packages/perl-Config-Model/Changes
2.118 2018-03-26

On-going backend deprecation:
* BackendMgr: deprecate using STDIN to load config file. Which
means using '-' with cme '-file' option is deprecated.

Backend:
* Improve global comment extraction

Other changes:
* remove unused modules from BackendMgr
* Exception: improve Model error message
- updated to 2.117
see /usr/share/doc/packages/perl-Config-Model/Changes
2.117 2018-02-03

Bug fixes:
* notify about addition of hash key only when needed
* fix error message of "missing file" exception

2.116 2017-12-15

Fix broken cme:
* Instance: fix regression about root_dir param

2.115 2017-12-14

On-going backend deprecation (which might be breaking):
* Backend: deprecate using instance name as config file name
* All backends: suffix method is deprecated

Backend:
* ShellVar backend: don't reorder when writing back (experimental)
* trap when backend class has no implementation

New features:
* Loader: provide "english" operator foreach_match, rm rm_value,
rm_match, substitute. These are equivalent to :-~ :- :-= :-~ :=~
operators (cme gh#2)

Bug fixes:
* Node gist: no need to show that value is undef
* WarpedNode: forward fetch_gist instead of gist
* Instance: add doc for root_path parameter

2.114 2017-11-11

On-going backend deprecation (which might be breaking):
* support for multiple backends is now removed. Attempting to
configure multiple backend leads to an error message with
explanations.
* when possible (i.e. when only one backend is specified),
translate read_config and write_config in new rw_config. This
should limit breakage to the minimum as multiple backends are
seldom (if ever) used.

New features:
* AnyId: add fetch method
* CheckList: add store method
* Node: add gist parameter and fetch_gist method to get a summary
of node content to be shown in user interface.

Bug fixes:
* Exception: fix call to fetch_element
* ObjTreeScanner: Don't try to scan warped out node elements
* Instance: no longer show diff-like changes
* clean up check on node init (gh #15)
* AnyId: add notification triggered by adding a new element to a
hash or array.

Build changes:
* no longer use Text::Diff


2.113 2017-10-12

On-going backend deprecations:
* using "custom" backend is now fatal
* warn when more than one backend is declared in a model class.
This soon will be fatal
* udpated models (Fstab Multistrap PopCon) to use new rw_config parameter

Bug fixes:
* HashId: do not notify when deleting an undef value (Debian #876967)
* Value: support file test in code eval done by warn_if and similar tests
* remove confusing "master triggered changed" message
* really avoid undef warning when homedir is not defined
* avoid "unordered data" warning when loading one item in an ordered hash

New features usable with 'cme modify' or in a cme script (used by 'cme run'):
* add "=.env(...)" instruction to store the content of an environment
variable in a value
* add "=.file(...)" instruction to store a file in a value.
".file(-)" reads from STDIN.
* add a User logger category to log messages to user. Direct calls to warn
will be removed to make test output cleaner

2.112 2017-10-01

Fix bugs to make warp mechanism more consistent:
* Value: trigger a warp after apply_fix is called
* Value: apply replace when warping

Other bug fixes:
* don't initialise Log4Perl if already done
* Avoid warning when YAML data is missing

2.111 2017-09-22

Deprecating features might be necessary, but there's no need to be
obnoxious about it:
* Reduce the number of legacy warning
* use logger mechanism to issue these warnings

2.110 2017-09-21

Unfortunately the deprecations and updates done last release broke
Config::Model::Itself. This release fixes these problems:
* disable translation of read_config to rw_config
* change deprecation messages from warn to say
* put back old backend parameters for FsTab, Multistrap
and PopCon models

2.109 2017-09-18

Deprecation and updates as announced in http://wp.me/pFBZb-f5 :
* the model parameters read_config and write_config that are used
to specify different read and write backends are deprecated
in favor of rw_config to specify *one* r/w backend
* multiple backends are deprecated.
* update doc for these deprecations
* Dump string backend (cds_file) is now handled by its own class
(Config::Model::Backend::CdsFile)
* Perl backend (perl_file) is now handled by its own class
(Config::Model::Backend::PerlFile)
* Model: die when model parameters allow, allow_from, follow are
used. These parameters were deprecated several years ago.

Other changes:
* update backend parameters of FsTab, Multistrap, PopCon models
* Value: allow regexp and code test for enum (like warn_if_match)

Test improvements
* can run tests concurrently: prove -j8 runs all tests in 4s
(16s without -j8)

2.108 2017-08-31

Fix random failure in non-regression tests

2.107 2017-08-30

Deprecation: read/write backends have many complex features to read
and write configuration files that are not used. This is the first
step to deprecate and remove these features:
* custom backends are deprecated
* add doc that show how to replace a custom backend with a backend based
on Config::Model::Backend::Any

Security improvements:
* ValueComputer: safer use of variables in eval: variables are
passed to the eval'ed code in a hash insted of being inserted
*in* the code to eval.

Bug fixes:
* value: fix mechanism to avoid repetitive warnings (Thanks Tincho)
* use check => skip when fetching a value from
is_element_available method. This avoid missing warnings when
is_element_available function triggers a read of a configuration
file (like debian/control)


Dirk Stoecker's avatar

dstoecker accepted request

openSUSE Build Service is sponsored by