Commit Graph

4 Commits

Author SHA256 Message Date
a28fdf910c - update to 0.7 (bsc#966695):
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/crudini?expand=0&rev=10
2016-02-19 09:57:43 +00:00
Adam Spiers
a46942d041 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
2016-02-19 09:41:33 +00:00
Stephan Kulow
ef6f077a3b Accepting request 255014 from Cloud:OpenStack:Factory
- update to 0.4:
  * add --format=lines to support line by line processing
  * doc: tweak readme to mention --format=lines
  * Declare encoding to avoid fatal error
  * fix duplicate DEFAULT section header being output
  * ensure edited ini file contents are always complete
  * split out --options from synopsis
  * send --help to stdout
  * provide alternative --rewrite file editing option
  * provide --output option to allow redirecting output
  * use only the base 'crudini' name in --help
  * ensure writes to the edited ini are never lost
  * add a new --list option to update a list of values
  * honor case when merging new parameters

OBS-URL: https://build.opensuse.org/request/show/255014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crudini?expand=0&rev=3
2014-10-11 17:26:43 +00:00
Stephan Kulow
01691c5fb1 Accepting request 201223 from Cloud:OpenStack:Factory
new package needed for OpenStack Havana, also needed for 13.1

OBS-URL: https://build.opensuse.org/request/show/201223
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crudini?expand=0&rev=1
2013-10-01 06:09:44 +00:00