From a46942d041cd6598e08ded46ff4b0cf0ac01758dff33aa1dc6ce405440ca8caf Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Fri, 19 Feb 2016 09:41:33 +0000 Subject: [PATCH] Accepting request 360187 from home:aplanas:branches:Cloud:OpenStack:Factory - update to 0.7: Bug fixes * Separate locking files are no longer used which avoids deadlock in cases where the system is stopped in the small window where these files exist. * Files are now synced after writing for better Durability. * crudini no longer removes a blank line from the start of a file which has no sections, or options outside a section. [bug introduced in version 0.5] Bug fixes * Lock files are cleaned up robustly. Previously there was a race condition resulting in blocked subsequent edits, due to a lingering lock file. * --del will ignore requests to delete a parameter in a non-existing section (unless --existing is used). Previously it failed citing the missing section. New features * The --existing option takes parameters to give more control over what needs to pre-exist. So you can specify for example that a file needs to exist, but any items within it are created as needed. * A new --verbose option was added to indicate on stderr wether the request resulted in a config change or not. This can be used to determine whether to restart programs etc. Changes in behavior * Files are created by default if missing, unless --existing is specified. Improvements * Protections against creating unparseable ini files were added. * stdin can be parsed just as with normal files. OBS-URL: https://build.opensuse.org/request/show/360187 OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/crudini?expand=0&rev=9 --- crudini-0.4.tar.gz | 3 --- crudini-0.7.tar.gz | 3 +++ crudini.changes | 35 +++++++++++++++++++++++++++++++++++ crudini.spec | 4 ++-- 4 files changed, 40 insertions(+), 5 deletions(-) delete mode 100644 crudini-0.4.tar.gz create mode 100644 crudini-0.7.tar.gz diff --git a/crudini-0.4.tar.gz b/crudini-0.4.tar.gz deleted file mode 100644 index f25f8a1..0000000 --- a/crudini-0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d2689f0312cc353e69c8c250cbca0f24319d330190577d199b02974a95a25591 -size 17614 diff --git a/crudini-0.7.tar.gz b/crudini-0.7.tar.gz new file mode 100644 index 0000000..1573d05 --- /dev/null +++ b/crudini-0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d493ae6600e54f9e0296b12d3adba99b88a439d8c4b2ebf9bc6f9c0613a03d7 +size 22523 diff --git a/crudini.changes b/crudini.changes index 6fd8568..a2c375e 100644 --- a/crudini.changes +++ b/crudini.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Thu Feb 18 16:44:06 UTC 2016 - aplanas@suse.com + +- update to 0.7: + Bug fixes + * Separate locking files are no longer used which avoids deadlock in + cases where the system is stopped in the small window where these + files exist. + * Files are now synced after writing for better Durability. + * crudini no longer removes a blank line from the start of a file + which has no sections, or options outside a section. [bug + introduced in version 0.5] + Bug fixes + * Lock files are cleaned up robustly. Previously there was a race + condition resulting in blocked subsequent edits, due to a + lingering lock file. + * --del will ignore requests to delete a parameter in a non-existing + section (unless --existing is used). Previously it failed citing + the missing section. + New features + * The --existing option takes parameters to give more control over + what needs to pre-exist. So you can specify for example that a + file needs to exist, but any items within it are created as + needed. + * A new --verbose option was added to indicate on stderr wether the + request resulted in a config change or not. This can be used to + determine whether to restart programs etc. + Changes in behavior + * Files are created by default if missing, unless --existing is + specified. + Improvements + * Protections against creating unparseable ini files were added. + * stdin can be parsed just as with normal files. + * File writes are avoided if there are no changes to the config. + ------------------------------------------------------------------- Fri Oct 10 19:21:16 UTC 2014 - dmueller@suse.com diff --git a/crudini.spec b/crudini.spec index 060f475..894b90d 100644 --- a/crudini.spec +++ b/crudini.spec @@ -1,7 +1,7 @@ # # spec file for package crudini # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: crudini -Version: 0.4 +Version: 0.7 Release: 0 Summary: CRUD for .ini files License: GPL-2.0