Files
perl-Config-Model/perl-Config-Model.changes

109 lines
4.7 KiB
Plaintext
Raw Normal View History

-------------------------------------------------------------------
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
- (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" OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Config-Model?expand=0&rev=3
2014-12-29 13:41:46 +00:00
-------------------------------------------------------------------
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