- updated to 2.155.0 (2.155) see /usr/share/doc/packages/perl-Config-Model/Changes 2.155 2024-11-24 New feature: * Loader: add .set_to_standard_value() function OBS-URL: https://build.opensuse.org/request/show/1235401 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Config-Model?expand=0&rev=62
1634 lines
54 KiB
Plaintext
1634 lines
54 KiB
Plaintext
-------------------------------------------------------------------
|
|
Thu Dec 12 16:13:01 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
|
|
|
- updated to 2.155.0 (2.155)
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.155 2024-11-24
|
|
|
|
New feature:
|
|
* Loader: add .set_to_standard_value() function
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Jun 23 16:13:00 UTC 2024 - Tina Müller <tina.mueller@suse.com>
|
|
|
|
- updated to 2.154.0 (2.154)
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.154 2024-06-15
|
|
|
|
Bug fixes:
|
|
* AnyId: raise an error when copy is called on an unknown key or idx
|
|
* HashId: raise an error when move is called on an unknown key
|
|
* HashId: improve copy method to fix PlainFile backend
|
|
* grab: fix error message when autoadd is 0
|
|
* loader: update .ensure() doc
|
|
|
|
New feature:
|
|
* Loader: add .rename() function for hash
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Mar 8 22:02:24 UTC 2024 - Tina Müller <tina.mueller@suse.com>
|
|
|
|
- Fix disabling of __perllib_provides
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Jul 15 03:06:58 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
|
|
|
- updated to 2.153
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.153 2023-07-14
|
|
|
|
Bug fixes:
|
|
* term_ui.t: fix test for Term::ReadLine::Gnu 1.46
|
|
* Config::Model::Value: remove deprecated given instruction
|
|
* docs: remove links to cpanratings
|
|
|
|
New feature:
|
|
* Loader: add support for single quotes
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Jul 29 03:06:20 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
|
|
|
- updated to 2.152
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.152 2022-07-28
|
|
Bug fixes:
|
|
* fix regression (Value): error_msg now returns empty string
|
|
when there's no error
|
|
2.151 2022-07-26
|
|
Bug fixes:
|
|
* fix (Value): do not check compute result with mandatory value
|
|
(Debian #1015913)
|
|
* fix (Value): consider an empty string as an unset value
|
|
Misc:
|
|
* Node: apply_fixes now returns $self
|
|
|
|
-------------------------------------------------------------------
|
|
Mon May 9 03:06:25 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
|
|
|
- updated to 2.150
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.150 2022-05-08
|
|
|
|
New features:
|
|
* Loader: add list:.ensure(value) function
|
|
|
|
Bug fixes:
|
|
* Loader: fix reading JSON file with utf8 characters
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Jan 14 03:06:19 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
|
|
|
- updated to 2.149
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.149 2022-01-13
|
|
Bug fixes:
|
|
* fix regression with check_value method
|
|
2.148 2022-01-09
|
|
Bug fixes:
|
|
* fix (Exception): keep ref to instance object
|
|
* fix (Hashid): improve warning message when loading non ordered data
|
|
* fix (modify instance): show changes before saving
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Nov 30 03:06:29 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
|
|
|
- updated to 2.147
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.147 2021-11-29
|
|
Bug fixes:
|
|
* fix (test): ignore info Log.
|
|
2.146 2021-11-28
|
|
Model improvements:
|
|
* fstab: add suid/nosuid (thanks Topi Miettinen)
|
|
* feat (fstab model): add umask element in common options
|
|
* feat (fstab model): add description to common options
|
|
Bug fixes:
|
|
* feat (Instance): modify methoed displays changes before saving
|
|
* fix (Loader): typo in .substitute load string command
|
|
* fix (Grab): improve error message of grab_value
|
|
* fix (TermUI): add completion to display command
|
|
* fix (SimpleUI): simplify error message shown to user
|
|
* fix (SimpleUI): avoid undef warnings
|
|
* fix (Describe): truncate long lines
|
|
* fix (Describe): show default value in comments
|
|
* fix (Describe): show value in user mode
|
|
* Value: accept on/off as boolean values
|
|
* fix: test error with perl 5.20 (Closes gh #32)
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Nov 7 03:06:23 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
|
|
|
- updated to 2.145
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.145 2021-11-06
|
|
Bug fixes:
|
|
* fix: compilation error with perl 5.20 to 5.22
|
|
* fix (Node): undef warning on $filter value
|
|
* fix (Model loader): crash with Config::Model::Itself (Debian #998601)
|
|
2.144 2021-11-04
|
|
Bug fixes:
|
|
* fix (BackendMgr): try to fix crash on Windows
|
|
* fix (Constants role): fix crash for perl < 5.28
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Nov 1 03:07:05 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
|
|
|
- updated to 2.143
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.143 2021-10-31
|
|
|
|
Main change:
|
|
* requires perl 5.20
|
|
|
|
Bug fixes:
|
|
* fix (Model load): fix load from absolute path
|
|
* fix (BackEndMgr): crash when calling config_file_override
|
|
with absolute path
|
|
* fix (get_info): show upstream_default as written in file
|
|
* feature (get_info): include write_as values
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Apr 8 03:06:20 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
|
|
|
- updated to 2.142
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.142 2021-04-07
|
|
|
|
New features:
|
|
* cme function: add force-load parameter to behave like
|
|
cme command
|
|
|
|
Bug fix:
|
|
* Avoid messing up array indexes when remove list items (gh #26)
|
|
Thanks Hugo van der Sanden, James E Keenan and Slaven Rezić for
|
|
the help
|
|
* load method: forward value of check parameter
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jan 18 03:06:22 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
|
|
|
- updated to 2.141
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.141 2021-01-17
|
|
New features:
|
|
* Loader: can extract data from YAML file
|
|
(requires YAML::Tiny)
|
|
* Loader: can extract data from JSON file
|
|
* feature (ini backend): add quote_value parameter
|
|
Bug fix:
|
|
* ListId: fix storage of undef value in store_set
|
|
* Config::Model::Loader: update documentation. (Thanks gregoa)
|
|
Other changes:
|
|
* dist.ini: update copyright year
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Aug 1 03:11:51 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
|
|
|
- updated to 2.140
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.140 2020-07-31
|
|
|
|
API changes:
|
|
* PlainFile backend: extract get_file_name method
|
|
* AnyId: add fetch_value and fetch_summary method
|
|
* Value: add fetch_summary method
|
|
|
|
Bug fix:
|
|
* fix loader_logs tests broken by Config::Model::Tester 4.006
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Jul 19 03:10:04 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
|
|
|
- updated to 2.139
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.139 2020-07-18
|
|
UI changes:
|
|
* Show warnings in blue color (color can be
|
|
configured using Log4Perl config file)
|
|
* shell UI:
|
|
* add info command
|
|
* improve tree and ls commands
|
|
API changes:
|
|
* Node: add autoadd argument to fetch_element
|
|
and has_element methods
|
|
* add get_info method to most tree classes
|
|
Bug fix:
|
|
* Exception: drop constraint in parsed_file
|
|
which avoids a crash when cme should be
|
|
showing an error message
|
|
Misc:
|
|
* cleanup code. Thanks kritika.io for the suggestions
|
|
* updated copyright years
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Dec 28 03:07:38 UTC 2019 - <timueller+perl@suse.de>
|
|
|
|
- updated to 2.138
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.138 2019-12-27
|
|
|
|
Bug fix:
|
|
* CheckList: add missing "backend" fetch mode
|
|
|
|
Doc improvements:
|
|
* Value: update doc of allow_under mode
|
|
* fix typo in pod doc
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Dec 2 03:09:04 UTC 2019 - <timueller+perl@suse.de>
|
|
|
|
- updated to 2.137
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.137 2019-12-01
|
|
|
|
Bug fixes:
|
|
* AnyId: avoid deref of undef value
|
|
* Loader: fix parsing of list assignment with quotes
|
|
* Value: do not store warnings from computed value
|
|
* Node: warn only once about deprecated elements
|
|
* CheckList: accept non_upstream_default mode
|
|
|
|
Doc improvements:
|
|
* AnyId: clarify doc and error message
|
|
* Add doc for container method
|
|
* Value: clarify load_data doc
|
|
* Value: fix typos in doc
|
|
|
|
API changes:
|
|
* Value: provide has_warnings along has_warning
|
|
* DumpAsData, Dumper:
|
|
* deprecate full_mode parameter
|
|
* full dump is now mode => user
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Jul 30 05:04:33 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
|
|
|
- updated to 2.136
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.136 2019-07-29
|
|
|
|
Bug fix:
|
|
* also tweak ~ dir for tests in Path::Tiny coercion
|
|
(fixes Config::Model::Systemd tests that was broken with
|
|
Config::Model 2.134)
|
|
|
|
Doc update:
|
|
* Mention force option in Instance doc
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Jun 6 05:04:06 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
|
|
|
- updated to 2.135
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.135 2019-06-05
|
|
|
|
Bug fix:
|
|
* Fix undef start_node error occuring with 'cme run' command
|
|
(this regression from previous version broke app-cme tests)
|
|
* Instance: clear changes after reset
|
|
|
|
Doc update:
|
|
* remove mention of long gone privilege parameter
|
|
|
|
-------------------------------------------------------------------
|
|
Mon May 6 05:03:14 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
|
|
|
- updated to 2.134
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.134 2019-05-05
|
|
|
|
Bug fix:
|
|
* Fix Instance->reset_config method
|
|
* improve error handling of get_model_doc
|
|
|
|
Minor behavior changes:
|
|
* dump_tree: add quote around value or if that contain '~'
|
|
|
|
Deprecation:
|
|
* Instance: remove deprecated read_root_dir method
|
|
|
|
Misc:
|
|
* update copyright year
|
|
* Tests require Config::Model::Tester 4.002
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jan 14 06:04:08 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
|
|
|
- updated to 2.133
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.133 2019-01-13
|
|
|
|
Read/write backend improvements:
|
|
* Backend::Any: add auto_delete and auto_create
|
|
* IniFile: delete empty file when auto_delete is set
|
|
and config file contains no data
|
|
* warn when restoring backup file
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Dec 23 06:03:08 UTC 2018 - Stephan Kulow <coolo@suse.com>
|
|
|
|
- updated to 2.132
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.132 2018-12-22
|
|
|
|
Bug fix:
|
|
* Value: really use old_value to track changes
|
|
* restore "return undef" in Value.pm to avoid breaking apply_fix
|
|
|
|
Add long forgotten credit (sorry):
|
|
* add Ylya Arosov to credit
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Dec 17 06:03:10 UTC 2018 - Stephan Kulow <coolo@suse.com>
|
|
|
|
- updated to 2.131
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.131 2018-12-16
|
|
|
|
With this release, this distribution no longer provides YAML
|
|
backend. The YAML backend is now delivered in its own
|
|
distribution. Look for Config::Model::Backend::Yaml on CPAN.
|
|
|
|
Other changes:
|
|
* Value: use warn_if warn_unless label in warning message shown to user.
|
|
* BackendMgr: throw correctly "unknown backend" exception
|
|
* Exception: trap missing object parameter
|
|
|
|
|
|
Doc update
|
|
* remove mention of old config-model-users mailing list (dead)
|
|
* BackendMgr: mention that Yaml backend is now external
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Dec 8 06:05:00 UTC 2018 - Stephan Kulow <coolo@suse.com>
|
|
|
|
- updated to 2.130
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.130 2018-12-07
|
|
|
|
Dependency changes:
|
|
* require boolean module (really)
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Dec 6 15:27:48 UTC 2018 - Stephan Kulow <coolo@suse.com>
|
|
|
|
- updated to 2.129
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.129 2018-12-05
|
|
|
|
Usability improvements:
|
|
* Value" improve warning message about multi line value
|
|
|
|
Perl backend improvement:
|
|
* Convert cme boolean values (i.e. value of value_type boolean) to
|
|
Perl boolean values
|
|
|
|
Dependency changes:
|
|
* build require boolean module
|
|
|
|
2.128 2018-11-21
|
|
|
|
Usability improvements:
|
|
* CheckList: die or warn (with cme -force) when storing unknown item
|
|
in check list. Bad values used to be silently dropped.
|
|
|
|
Test fixes:
|
|
* add
|
|
at end of yaml test files (gh #22)
|
|
|
|
Internal changes:
|
|
* improve code quality thanks to the feedbacks provided by kritika.io
|
|
|
|
Doc change:
|
|
* Improve navigation in doc: move parameters from header line to paragraph.
|
|
* Instance: add doc for backend_arg
|
|
* Instance: improve doc of data method
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Nov 8 06:08:13 UTC 2018 - Stephan Kulow <coolo@suse.com>
|
|
|
|
- updated to 2.127
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.127 2018-09-30
|
|
|
|
Feature improvement:
|
|
* Can use regexp in leaf model to specify help on values
|
|
|
|
Bug fix:
|
|
* fix doc of ObjTreeScanner
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Oct 7 21:55:01 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de>
|
|
|
|
- Fix autogenerated changes
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Aug 21 05:09:43 UTC 2018 - coolo@suse.com
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jun 25 05:09:56 UTC 2018 - coolo@suse.com
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Jun 10 05:09:38 UTC 2018 - coolo@suse.com
|
|
|
|
- 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)
|
|
|
|
-------------------------------------------------------------------
|
|
Wed May 2 05:06:11 UTC 2018 - coolo@suse.com
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Apr 18 05:07:12 UTC 2018 - coolo@suse.com
|
|
|
|
- updated to 2.122
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Apr 16 05:08:13 UTC 2018 - coolo@suse.com
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Apr 9 05:07:34 UTC 2018 - coolo@suse.com
|
|
|
|
- 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)
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Apr 3 05:07:50 UTC 2018 - coolo@suse.com
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Mar 27 05:06:49 UTC 2018 - coolo@suse.com
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Feb 7 16:14:55 UTC 2018 - coolo@suse.com
|
|
|
|
- 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)
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jul 17 05:14:43 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to 2.106
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.106 2017-07-16
|
|
|
|
Doc updates:
|
|
* BackendMgr: update doc of config_file_name
|
|
|
|
Improvement on error behavior:
|
|
* Fix message of WrongType Exception
|
|
* die if model line is missing from application file
|
|
* ensure that an application file is not parsed twice
|
|
* avoid undef warning when homedir is not defined
|
|
* cme function: improve error msg for unknown application
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Jun 21 05:14:58 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to 2.105
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.105 2017-06-09
|
|
|
|
Bug fixes:
|
|
* Value: fix fetch in non_upstream_default mode to avoid breaking
|
|
'cme meta plugin' command
|
|
|
|
2.104 2017-06-03
|
|
|
|
Improvements:
|
|
* Instance: add backend_arg to enable misc parameter for cme command
|
|
(e.g a systemd service name for systemd model or a patch name for
|
|
Dpkg patch model). (Build require Config::Model::Tester 2.062)
|
|
|
|
Bug fixes:
|
|
* BackendMgr:
|
|
* allow empty but defined config_dir
|
|
* ignore config_file in non-root node (do not die anymore)
|
|
* Plainfile backend: try to fix a windows bug showing up on smoke tests
|
|
* Dumper:
|
|
* hash id containing @ must be quoted
|
|
* accept non_upstream_default mode
|
|
* Value: fix fetch in non_upstream_default mode
|
|
|
|
-------------------------------------------------------------------
|
|
Fri May 26 05:17:13 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to 2.103
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.103 2017-05-25
|
|
|
|
Bug fix release:
|
|
* dist.ini: put back YAML build dep which is used for tests
|
|
* remove debug trace about YAML class
|
|
* fix exception message to show any kind of data.
|
|
|
|
-------------------------------------------------------------------
|
|
Thu May 25 07:40:29 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to 2.102
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.102 2017-05-14
|
|
|
|
Fix security issues:
|
|
* do not rely on '.' in @INC to load snippet model files
|
|
(CVE-2017-0374)
|
|
* genclasspod: remove use lib (CVE-2017-0373)
|
|
* avoid possible creation of Perl object through hostile
|
|
YAML file: use YAML::Tiny in YAML backend instead of YAML::Any
|
|
|
|
Model improvement
|
|
* model can choose YAML parser (default YAML::Tiny)
|
|
|
|
Bug fix:
|
|
* boolean value: accept empty string as false value
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Apr 29 05:18:43 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to 2.101
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.101 2017-04-28
|
|
|
|
Model improvement:
|
|
* Add assign_char and assign_with to IniFile backend. So it can
|
|
be used for files with "key: value" lines.
|
|
* add option to write hash key with empty values. By default empty
|
|
hash values are dropped and the hash keys of these values are lost.
|
|
|
|
Usability improvement:
|
|
* Value: if possible show why a fix is applied, i.e. show the warning
|
|
that triggered the fix
|
|
* improved log levels (i.e. move some log from debug to info or trace)
|
|
|
|
Improvement:
|
|
* Model: add log_level parameter, so logs can be shown with a cme
|
|
command line option
|
|
* prevent undef warnings on Windows
|
|
|
|
Deprecation warning:
|
|
* Model: warn in case of undef constructor argument
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Mar 19 06:15:57 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to 2.100
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.100 2017-03-18
|
|
|
|
Usability improvement:
|
|
* Unknown element excetption show instructions to report a bug.
|
|
|
|
Improvement of doc generated from model:
|
|
* add compute information in generated doc
|
|
* pod generator: show default values in item list
|
|
|
|
Bug fix:
|
|
* Fix file mode test (fix CPAN smoke tests)
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Mar 6 06:13:11 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to 2.099
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.099 2017-03-05
|
|
|
|
Model improvement:
|
|
* add file_mode parameter to backend specification. This
|
|
parameter sets the permission (mode) of written configuration
|
|
files (need Config::Model::Tester 2.059 to test)
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Feb 27 06:14:36 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to 2.098
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.098 2017-02-26
|
|
|
|
This release bring some improvements to enable more feature on
|
|
Debian Dpkg model.
|
|
|
|
Build:
|
|
* build depends on Config::Model::Tester 2.059
|
|
* bump © year in dist.ini
|
|
|
|
Model improvements:
|
|
* allow injection of model snippet in another configuration class.
|
|
This is used by dpkg model: a dpkg-control default value is
|
|
computed from a value in dpkg model only when dpkg-control model
|
|
is loaded with dpkg model,
|
|
* add doc for has_instance and get_instance methods
|
|
|
|
Plainfile backend improvements:
|
|
* handle deletion of file managed by Plainfile backend
|
|
* plainfile backend can handle file named with &element and &index
|
|
functions, i.e the config file name can depend on the location
|
|
of the value in the configuration tree. (used by dpkg model for
|
|
debian/<pkg>.install files)
|
|
|
|
Value computer improvements:
|
|
* doc: mention that functions are allowed in variable definition
|
|
* allow '- -' or '--' param to &index
|
|
|
|
Bug fix:
|
|
* fix error forwarding in BackendMgr
|
|
* warn when Term::ReadLine::Gnu is not installed
|
|
* fix term UI set command to accept white spaces
|
|
* Loader: allow creation of empty hash leaf
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Dec 23 06:09:33 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.097
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.097 2016-12-22
|
|
|
|
Bug fix:
|
|
* fix a regression seen when starting curses interface
|
|
(fix retrieval of an instance using an instance name)
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Dec 12 06:13:23 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.096
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.096 2016-12-11
|
|
|
|
Term UI improvement
|
|
* fix autocompletion of 'cd' command
|
|
* add -nz and -v option to ll command
|
|
* ll command accept several patterns
|
|
* improved ll output
|
|
|
|
Bug fix:
|
|
* show complete stack trace of rethrown exceptions
|
|
* Node: propagate check param when calling init
|
|
(which fix cme's -force option)
|
|
|
|
Build:
|
|
* dist.ini Add missing prereq 'parent' as plugin
|
|
[AutoPrereqs] missed it (Mohammad S Anwar++)
|
|
* new dependencies: List::Util Regexp::Common
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Dec 7 06:11:56 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.095
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.095 2016-12-06
|
|
|
|
New feature usable by cme:
|
|
* loader: add .insort() command for hash element
|
|
* Hash element: add insort method
|
|
|
|
Term UI improvement
|
|
* better format the output of 'desc' command (transform
|
|
pod doc to text). This requires Pod::Text and
|
|
Pod::Simple 3.23
|
|
|
|
Bug fix:
|
|
* track and save annotation changes (gh #12)
|
|
* Node: propagate check override in init() (which fixes
|
|
loading of a systemd config that contains an error)
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Nov 11 06:11:40 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.094
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.094 2016-11-09
|
|
|
|
Fix compatibility with older Term::ReadLine::Gnu:
|
|
* TermUI: skip call to enableUTF8 if not available
|
|
(gh #11)
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Nov 9 06:12:00 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.093
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.093 2016-11-08
|
|
|
|
Hygiene:
|
|
* Add Travis CI file (Thanks Jose Luis Perez Diez)
|
|
|
|
New feature in read/write backend:
|
|
* Allow alternate comment char in INI config file (gh #10)
|
|
required to support Systemd config files
|
|
|
|
Bug fix:
|
|
* Better support of utf8 in term UI
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Sep 27 05:09:34 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.092
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Sep 26 05:07:37 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.092
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Sep 25 05:07:33 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.092
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Sep 24 05:07:43 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.092
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.092 2016-09-23
|
|
|
|
* New feature in shell UI:
|
|
* 'll' command shows a warning sign when an element
|
|
has a warning that may be fixed
|
|
* added 'check' command
|
|
* 'fix' command can be applied to selected element instead
|
|
on the whole config.
|
|
|
|
Other bug fixes:
|
|
* Node: fix deep_check propagation
|
|
* Iterator triggers a call_back if a hash element has a warning
|
|
(required to fix the wizard of the graphical interface which
|
|
did not stop on a hash element when needed)
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Sep 14 05:09:33 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.091
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.091 2016-09-13
|
|
|
|
Bug fix:
|
|
* really fix issue with '.' removal from @INC
|
|
(needed to close Debian #837682)
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Sep 11 05:07:31 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.090
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.090 2016-09-10
|
|
|
|
New feature:
|
|
* Model developer can use $std_value in warning messages tp
|
|
provide better feedback to user. This variable is substituted
|
|
with preset, computed or default value when the message is
|
|
generated.
|
|
|
|
Cleanup:
|
|
* remove obsolete skip_read parameter
|
|
(breaks App::Cme older than v1.011)
|
|
|
|
Bug fix:
|
|
* Add double quote when dumping value that contain '#'
|
|
* Value: generates same error messages for warn_if, warn_if_match
|
|
* fix other collaterals of '.' removal from @INC
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Sep 5 05:08:17 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.089
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.089 2016-09-04
|
|
|
|
New feature:
|
|
Now 3 types of check can be used on hash or array elements:
|
|
content check, id check (as usual) and deep_check (should be used
|
|
to check between if value and other part of config tree). Only the
|
|
index check is run whenever an element of the hash/array is
|
|
read. The other are used when check() or apply_fixes methods are
|
|
called.
|
|
|
|
Documentation:
|
|
* converted README.pod to markdown
|
|
|
|
Bug fix:
|
|
* load perl data file even if @INC does not contain '.' (required
|
|
for perl 5.14 or Debian perl 5.22.2-4)
|
|
* Loader: trap another syntax error in load steps. This may breaks existing
|
|
tests or cme scripts that contain such an error.
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Jul 10 05:06:53 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.088
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.088 2016-07-09
|
|
|
|
Documentation improvements:
|
|
* document repo structure in CONTRIBUTE file
|
|
* document Instance application method
|
|
* add auto_delete param in pod doc
|
|
* add CREDITS section in main doc
|
|
|
|
New instructions for 'cme modify' (in Config::Model::Loader):
|
|
* add copy command for list
|
|
* add clear command for list and hash
|
|
|
|
Bug fix:
|
|
* use sort keys to get consistent warning order
|
|
(which is important for non-regression tests)
|
|
* fix regexps for Perl 5.22 (gh #6) Tx mat813
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jul 4 12:21:53 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.087
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.087 2016-06-29
|
|
|
|
A release with mostly documentation improvements:
|
|
* Fixed many grammatical issues in all pod docs
|
|
* Added CONTRIBUTE.md
|
|
* Instance doc:
|
|
* separate data change methods from internal methods
|
|
* specify value returned by load()
|
|
|
|
Model specification change
|
|
* move warp info in warp param in WarpedNode.
|
|
The change is backward compatible and will show a
|
|
notification on STDOUT. This notification will
|
|
become later a warning.
|
|
* always show a message when using some parameters that were
|
|
deprecated in 2007. This may break tests.
|
|
It's time to fix them.
|
|
|
|
Bug fixes:
|
|
* add as_string method to all exception classes
|
|
* BackendMgr: correctly handle Path::Tiny exceptions
|
|
* Value: show changes of boolean values as they are
|
|
written in configuration file
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Jun 12 12:44:05 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.086
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.086 2016-06-04
|
|
|
|
Fixed some bugs so that cme() works with new Systemd model:
|
|
* cme() uses config_dir from app file
|
|
* Node: element_type works on not yet accepted element
|
|
* Node: improved doc of accept_element()
|
|
|
|
-------------------------------------------------------------------
|
|
Tue May 31 10:01:07 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.085
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.085 2016-05-29
|
|
|
|
The new releases brings new functions to simplify script that modify
|
|
configuration files. For instance, the following line is enough to
|
|
update popcon's configuration file:
|
|
cme('popcon')->modify("PARTICIPATE=yes");
|
|
|
|
In more details:
|
|
* Config::Model provides a 'cme' exported function
|
|
(see also the SYNOPSIS of Config::Model doc)
|
|
* Instance: added modify and save() methods
|
|
|
|
Other changes:
|
|
* Term::ReadLine is not required for build or tests
|
|
* Instance skip_read parameter is deprecated
|
|
|
|
-------------------------------------------------------------------
|
|
Sat May 28 09:37:13 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.084
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.084 2016-05-26
|
|
|
|
Doc updates:
|
|
* Model doc:
|
|
* use cme meta instead of config-model-edit
|
|
* removed Log4Perl init for synopsis..
|
|
* improved instance method doc
|
|
* removed obsolete (and broken) example directory
|
|
* Instance: clarified constructor doc
|
|
|
|
Dependencies changes:
|
|
* TermUI is now optional (like FuseUI).
|
|
So Term::ReadLine dependency is now recommended
|
|
instead of required.
|
|
|
|
Bug fixes:
|
|
* Fix gen_class_pod which skipped some classes
|
|
(fix reproducible build of libconfig-model-openssh-perl)
|
|
* Model: instance() accepts application param
|
|
* Removed FATAL warnings from Instance
|
|
* all tree elements: added has_data method
|
|
* read model files (and doc) as utf8
|
|
|
|
-------------------------------------------------------------------
|
|
Thu May 5 08:55:47 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.083
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.083 2016-04-20
|
|
|
|
Functional improvements:
|
|
* backend parameters: added auto_delete parameter so
|
|
that a config file can be removed when it no longer
|
|
contains data
|
|
* attributes specified in a model plugin can override
|
|
attributes of the base model.
|
|
|
|
Bug fixes:
|
|
* BackendMgr: do not remove links to config files
|
|
* Fix ini backend to parse values that contain '='
|
|
|
|
Doc updates:
|
|
* Improved instructions to specify a backend in
|
|
Config::Model::BackendMgr doc
|
|
* Added instructions to create your own backend in
|
|
Config::Model::Backend::Any doc
|
|
* updated model creation intro doc
|
|
* Mentions Itself generated doc as reference doc
|
|
* update CreateModelFromDoc to use cme meta edit
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Apr 4 09:23:53 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.082
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.082 2016-03-29
|
|
|
|
No big change this time, but a lot of small improvements
|
|
required by the systemd model I'm working on...
|
|
|
|
Functional improvements:
|
|
* Loader: list operator :~ with no argument loops
|
|
over all values of a hash element
|
|
* DumpAsData: also accepts 'mode' param like fetch from
|
|
Config::Model::Value
|
|
|
|
Bug fixes:
|
|
* Fix tests broken by C::M::Tester 2.053 (required)
|
|
* Loader: fix loop bug which exited too soon
|
|
* Improve hash dump readability ...
|
|
* DumpAsData: Fix corrupted output...
|
|
* BackendMgr: always translate dir with ~/
|
|
|
|
Doc updates:
|
|
* removed Log4Perl instructions from synopsis.
|
|
Log4Perl initialisation is handled by Config::Model
|
|
constructor since v2.057
|
|
* Improved C::M::Warper and C::M:Lister docs
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Mar 8 09:57:52 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.081
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.081 2016-02-29
|
|
|
|
Bug fixes:
|
|
* Fix error handling in Value. This should fix freebsd smoke tests.
|
|
The weird thing is that these tests should have failed in all arch...
|
|
|
|
2.080 2016-02-27
|
|
|
|
Functional improvements:
|
|
* storing a wrong value is no longer ignored but now
|
|
triggers an exception.
|
|
|
|
Other bug fixes:
|
|
* Trigger change notif when store_set reduces the nb of items
|
|
(closes gh #4)
|
|
* Improved change message shown to user
|
|
* Value: don't display grammar in case of error
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Feb 13 09:46:18 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.079
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.079 2016-02-12
|
|
|
|
YAML backend changes:
|
|
* Remove YAML file when no data is left
|
|
* When a root class has only one element, the backend
|
|
write (and read) only the content of that element (this
|
|
reduce the depth of the written data structure by one).
|
|
|
|
Functional improvements:
|
|
* Added "ChangeTracker" log class and traces (Log::Log4Perl)
|
|
* HashId: load_data can load ordered data in non-ordered hash
|
|
|
|
Bug fixes:
|
|
* Removed Exception::Class from warper error handler
|
|
(gh #5, Thanks jplesnik)
|
|
* Dumper/Loader: handle literal \n
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Jan 27 09:44:26 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.078
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.078 2016-01-24
|
|
|
|
A cleanup (and breaking) release: Error handling no longer uses
|
|
Exception::Class. Config::Model::Exception was re-written to emulate
|
|
most of Exception::Class behavior. This will break modules which
|
|
traps or throw exceptions using Exception::Class (at least
|
|
Config::Model::CursesUI will break).
|
|
|
|
* Config::Model: fix get_element_property (fix a bug with cme dpkg where
|
|
XS-Autobuild is wrongly added to debian/control file)
|
|
* Config::Model::Value:
|
|
* don't check value when loading layered config (aka system
|
|
default values). These values are assumed to be correct.
|
|
* accept when a mandatory value is set by a layered value.
|
|
(this fixes hangs in Config::Model::Itself tests)
|
|
|
|
2.077 2016-01-20
|
|
|
|
New features:
|
|
* Loader: added hash copy command. This new command can be used with
|
|
something like: "cme modify stuff some_hash:.copy(from,to)"
|
|
* Instance: added config_dir (used when provided by application info
|
|
and not by model)
|
|
|
|
Bug fix:
|
|
* ValueComputer: escape variables containing a quote (Debian #810768)
|
|
* Value: fix check of reference values
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Jan 19 09:41:38 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 2.076
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Nov 24 09:22:36 UTC 2015 - coolo@suse.com
|
|
|
|
- updated to 2.075
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.075 2015-11-22
|
|
|
|
|
|
Functionality improvements:
|
|
* Lister: can list local (dev) application
|
|
|
|
Support:
|
|
* changed bugtracker to github's
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Oct 2 08:53:46 UTC 2015 - coolo@suse.com
|
|
|
|
- updated to 2.074
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.074 2015-09-30
|
|
|
|
Functionality improvements:
|
|
* Loader: added navigation with upward search. E.g. with a
|
|
command like '/foo', the loader will go up the tree until
|
|
a node containing a 'foo' element is found.
|
|
* C::M::Node: added backend_support_annotation method. This will
|
|
ne used by the Tk GUI to decide whether to display a widget to
|
|
edit annotation (aka comments)
|
|
|
|
Doc improvements:
|
|
* Backend::Any: added missing doc about method that can or must
|
|
be overloaded by a read/write backend.
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Sep 20 15:42:00 UTC 2015 - coolo@suse.com
|
|
|
|
- updated to 2.073
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.073 2015-07-19
|
|
|
|
Bug fix:
|
|
* Fix typo in module name loaded in tests that led to
|
|
impossible build requirement (RT #105938)
|
|
|
|
2.072 2015-07-18
|
|
|
|
Functionality improvements:
|
|
* Loader: convert literal "
|
|
" into real
|
|
|
|
* shell UI: added 'tree' command to show config tree from current node
|
|
|
|
Improvement of messages shown to user:
|
|
* Node: Warn if an accepted element is likely a typo (Debian #789568)
|
|
(this feature requires recommended module Text::Levenshtein::Damerau
|
|
to be installed)
|
|
* All: improved location_short output (truncates long path with '[...]'
|
|
instead of '[truncated...]')
|
|
* All: improved change summary message
|
|
|
|
Documentation improvements:
|
|
* Loader: Added examples using cme modify in pod doc
|
|
* AnyThing: Added missing doc for location_short and composite_name_short
|
|
* Updated wordpress link to use config-model tag
|
|
|
|
Cruft cleanup:
|
|
* removed cme-old command
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Jun 7 08:19:18 UTC 2015 - coolo@suse.com
|
|
|
|
- updated to 2.071
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.071 2015-05-23
|
|
|
|
Bug and doc fix release:
|
|
* shell like user interface:
|
|
* fixed completion of commands (like set, clear...)
|
|
* improved error message sent when command is wrong
|
|
* use item location as prompt
|
|
* Loader: fixed parding of command like foo:.insort("bar( stuff )")
|
|
which are also used in shell UI.
|
|
* Backend::Any: mention cme command used to edit config file in
|
|
comment header when writing back files. (e.g. "You can run
|
|
'cme edit lcdproc' to modify this file" is written in header
|
|
of /etc/LCDd.conf)
|
|
* Value: fixed formatting and errors in pod doc
|
|
|
|
-------------------------------------------------------------------
|
|
Tue May 5 08:14:19 UTC 2015 - coolo@suse.com
|
|
|
|
- updated to 2.070
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.070 2015-05-03
|
|
|
|
Added minor features and bug fixes:
|
|
* Model:
|
|
+ added include_backend model parameter for xorg
|
|
* include no longer include read/write spec... (Debian #783952)
|
|
* Hash and Array: clear now triggers notify_change
|
|
* Value: boolean conversion (e.g yes/no to 1/0) during initial load
|
|
must not trigger a change notification...
|
|
* shell UI:
|
|
+ added fix command
|
|
* added clear command for list hash and value...
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Apr 26 07:15:42 UTC 2015 - coolo@suse.com
|
|
|
|
- updated to 2.069
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.069 2015-04-25
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Apr 16 21:32:08 UTC 2015 - coolo@suse.com
|
|
|
|
- updated to 2.068
|
|
see /usr/share/doc/packages/perl-Config-Model/Changes
|
|
|
|
2.068 2015-03-29
|
|
|
|
Small improvements:
|
|
* Value: request configuration save when initial load
|
|
detects problem like duplicated or mismatched values in config file
|
|
* Loader: raise an exception when ':' action is used with a value element
|
|
|
|
New features:
|
|
* C::M::Anything::grab: type param can also be an array ref
|
|
* Instance: added 'update' method
|
|
|
|
2.067 2015-03-01
|
|
|
|
Bug fix release:
|
|
* SimpleUI: fix 'll' command (failed without argument)
|
|
* C::M::Backend::Any:
|
|
+ added show_message method (delegated to node)
|
|
* added missing doc for node attribute
|
|
* C::M::Instance: callback attributes are now rw
|
|
(should fix test failures of Config::Model::Itself)
|
|
* C::M::AnyThing: delegates show_message to instance
|
|
|
|
2.066 2015-02-15
|
|
|
|
* C::M::Instance:
|
|
+ added on_message_cb and show_message parameters
|
|
* C::M::GenClassPod:
|
|
* added missing doc for gen_class_pod parameters
|
|
* generate doc in a reproducible way by using "sort keys". This should
|
|
fix Debian problem with unreproducible build found on libconfig-model-dpkg-perl
|
|
and libconfig-model-itself-perl
|
|
* dist.ini: use free.fr address instead of cpan.org to avoid problems with
|
|
automated release e-mail
|
|
|
|
2.065 2015-01-06
|
|
|
|
Bug fixes:
|
|
* Value: avoid undef warning when creating error message
|
|
* Node: Must load override class to be able to use it...
|
|
|
|
New (small) feature:
|
|
* Value: warning or error message defined in a model can contain
|
|
a $_ to show the bad value to user
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Dec 29 13:31:32 UTC 2014 - lars@linux-schulserver.de
|
|
|
|
- (build) require perl(Path::Tiny) instead of perl(Path::Class)
|
|
- update to 2.064:
|
|
+ General new features/changes:
|
|
* The Perl class used to implement node, list and hash
|
|
configuration element can be overridden using a new 'class'
|
|
parameter. The Perl class passed to this parameter must inherit
|
|
Config::Model::Node, or Config::Model::HashId or Config::Model::ListId.
|
|
* Config::Model::Value: added warn_if parameter
|
|
* Config::Model: initialise log4perl during construction
|
|
* Value: added file and dir value type. A warning is issued when file
|
|
or dir is not found.
|
|
* removed all code related to asynchronous stores
|
|
* added bash_completion snippet associated to a model. This will be useful
|
|
for dpkg-patch model
|
|
* C::M::Lister: skip backup files when listing available applications
|
|
* replace File::Slurp with Path::Tiny in yaml backend test and gen-class-pod
|
|
(RT #95692). (which changes the dependencies)
|
|
* replaced Path::Class with Path::Tiny dependency
|
|
+ Other incompatible changes:
|
|
* old config-edit command is now really gone
|
|
* cme extensions are obsolete. Extension mechanism is now provided
|
|
by App::Cmd
|
|
+ New features of the cme command:
|
|
* cme command is no longer delivered with this distribution. cme
|
|
is now delivered by App::Cme distribution.
|
|
* cme:
|
|
+ added shell command as a shortcut to 'cme edit -ui shell'.
|
|
E.g 'cme shell ssh' to edit ssh_config through a shell like UI
|
|
+ add :@ and :.sort sub command for ordered hash.
|
|
E.g.: "cme modify dpkg-control ~~ 'binary:~/.*/ Depends:.sort' -save"
|
|
or "cme modify dpkg-copyright ~~ 'Files:.sort' -save "
|
|
* added remove by value on list and hash ( :-= and :-~ )
|
|
(Closes Debian #741453)
|
|
* added lots of list and hash operator usable on 'cme modify stuff'.
|
|
E.g. :.insort :.insert_before :.insert_at :.unshift :.push :.sort
|
|
* handle list/hash value substitution ( e.g. list:=~s/foo/bar/ )
|
|
* warn when trying to remove a list element with a non numeric index
|
|
* rationalize list and hash commands: list assignment is now
|
|
list:=a,b,c instead of list=a,b,c
|
|
* add possibility to override config file (for appli with
|
|
allow_config_file_override) (part of Debian #739387) if config
|
|
file override is '-', open STDIN to read and STDOUT to write.
|
|
This way, cme can be used as a filter.
|
|
* added -strict option so cme exits 1 when warnings are found
|
|
(Closes Debian #736972)
|
|
* added -save option to force save. Useful when just reformatting
|
|
is desired
|
|
* modify command can apply Perl substitution (s/foo/bar) to
|
|
configuration values
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Feb 1 13:08:45 UTC 2014 - lars@linux-schulserver.de
|
|
|
|
- initial package 2.047
|
|
- recommend Term::ReadLine::Perl
|