------------------------------------------------------------------- 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/.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