19 Commits

Author SHA256 Message Date
0a5d6781fb Accepting request 1304151 from Cloud:OpenStack:Factory
- update to 0.9.6:
  * Support BOM correctly.  Previously we would have stripped
    any Byte Order Mark, and incorrectly matched items on the first
    line.
  * Extraneous blank lines are avoided when deleting a section.
  * Previously blank lines preceeding a [section] were not
    removed.
  * Support creating a section called "default".  Previously
    this would have been disallowed, with an invalid section name
    error.
  * Support ensuring a single space in all 'name = value'
    entries in the file with --ini-options=space.  This is
    symmetric and opposite to the existing --ini-options=nospace
    option.
  * Support ensuring a single blank line between sections, and
    no blank lines at the start or end of the file, with --ini-
    options=sectionspace.

OBS-URL: https://build.opensuse.org/request/show/1304151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crudini?expand=0&rev=11
2025-09-12 19:10:00 +00:00
6a1eb885a7 - update to 0.9.6:
* Support BOM correctly.  Previously we would have stripped
    any Byte Order Mark, and incorrectly matched items on the first
    line.
  * Extraneous blank lines are avoided when deleting a section.
  * Previously blank lines preceeding a [section] were not
    removed.
  * Support creating a section called "default".  Previously
    this would have been disallowed, with an invalid section name
    error.
  * Support ensuring a single space in all 'name = value'
    entries in the file with --ini-options=space.  This is
    symmetric and opposite to the existing --ini-options=nospace
    option.
  * Support ensuring a single blank line between sections, and
    no blank lines at the start or end of the file, with --ini-
    options=sectionspace.

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/crudini?expand=0&rev=22
2025-09-11 20:09:57 +00:00
b2d9ff2365 Accepting request 1126962 from Cloud:OpenStack:Factory
- update to 0.9.5:
  * Support for multiple --set and --del, or --get operations,
    allowing for more efficient and atomic updates to multiple
    parameters.
  * Support indented ini files with --ini-options=ignoreindent.
    Indentation is ignored (and maintained) in the ini file.
  * --format=sh will now attempt to output a whole ini file in
    sh format.
    Previously it would have only printed the section names.

    lingering lock file.
- Initial package (0.3)

OBS-URL: https://build.opensuse.org/request/show/1126962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crudini?expand=0&rev=10
2023-11-16 19:31:02 +00:00
a7f7870724 - update to 0.9.5:
* Support for multiple --set and --del, or --get operations,
    allowing for more efficient and atomic updates to multiple
    parameters.
  * Support indented ini files with --ini-options=ignoreindent.
    Indentation is ignored (and maintained) in the ini file.
  * --format=sh will now attempt to output a whole ini file in
    sh format.
    Previously it would have only printed the section names.
    lingering lock file.
- Initial package (0.3)

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/crudini?expand=0&rev=21
2023-11-16 15:59:19 +00:00
bb10fec7e4 Accepting request 1071429 from Cloud:OpenStack:Factory
OBS-URL: https://build.opensuse.org/request/show/1071429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crudini?expand=0&rev=9
2023-03-14 17:17:19 +00:00
7cc8fa1e6b Accepting request 1071212 from home:susnux:branches:Cloud:OpenStack:Factory
Update to version 0.9.4

OBS-URL: https://build.opensuse.org/request/show/1071212
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/crudini?expand=0&rev=20
2023-03-14 09:12:46 +00:00
72b315cc6f Accepting request 805362 from Cloud:OpenStack:Factory
- Update to 0.9.3:
  * Python 3 support
  * Fix regression with windows line endings
- Run spec-cleaner
- Add BuildArch noarch
- Run crudini test script
- Add manpage

OBS-URL: https://build.opensuse.org/request/show/805362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crudini?expand=0&rev=8
2020-05-13 20:56:53 +00:00
ab5ae62ef4 Fix source URL
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/crudini?expand=0&rev=19
2020-05-13 17:12:48 +00:00
fa971166b1 Accepting request 805251 from home:Kieltux:branches:Cloud:OpenStack:Factory
- Update to 0.9.3:
  * Python 3 support
  * Fix regression with windows line endings
- Run spec-cleaner
- Add BuildArch noarch
- Run crudini test script
- Add manpage

OBS-URL: https://build.opensuse.org/request/show/805251
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/crudini?expand=0&rev=18
2020-05-13 16:51:29 +00:00
49de0ba997 Accepting request 518536 from Cloud:OpenStack:Factory
- update to 0.9:
  * Write errors to stdout are diagnosed correctly and consistently.
  * Replacing symlinks now replaces the target rather than the symlink itself.
  * The case of parameters is maintained with --get.
  * Single token parameters (without equals) are now supported,
    which are used in mysql config for example.
- Drop 3c52bd938975f7c5b32d7009f109ccbd2328c16d.patch . Applied upstream.

OBS-URL: https://build.opensuse.org/request/show/518536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crudini?expand=0&rev=7
2017-08-24 16:56:41 +00:00
e24889c34d - update to 0.9:
* Write errors to stdout are diagnosed correctly and consistently.
  * Replacing symlinks now replaces the target rather than the symlink itself.
  * The case of parameters is maintained with --get.
  * Single token parameters (without equals) are now supported,
    which are used in mysql config for example.
- Drop 3c52bd938975f7c5b32d7009f109ccbd2328c16d.patch . Applied upstream.

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/crudini?expand=0&rev=17
2017-08-24 13:23:58 +00:00
279b0899f3 Accepting request 444970 from Cloud:OpenStack:Factory
- update to 0.8:
  * maint: improve documentation for fsync() calls
  * use sha256 rather than md5 to checksum file contents
  * maint: remove stale comment
  * document --help and --version
  * fix spelling in --help and man page
  * fix processing of lines starting with "rem"
  * bump version for release
- add 3c52bd938975f7c5b32d7009f109ccbd2328c16d.patch .
  Fixes symlink handling when writing linked files.

OBS-URL: https://build.opensuse.org/request/show/444970
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crudini?expand=0&rev=6
2016-12-10 17:29:04 +00:00
2e937a8519 - update to 0.8:
* maint: improve documentation for fsync() calls
  * use sha256 rather than md5 to checksum file contents
  * maint: remove stale comment
  * document --help and --version
  * fix spelling in --help and man page
  * fix processing of lines starting with "rem"
  * bump version for release
- add 3c52bd938975f7c5b32d7009f109ccbd2328c16d.patch .
  Fixes symlink handling when writing linked files.

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/crudini?expand=0&rev=13
2016-12-08 22:09:25 +00:00
1bfb813250 Accepting request 384372 from Cloud:OpenStack:Factory
- update to 0.7 (bsc#966695):

OBS-URL: https://build.opensuse.org/request/show/384372
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crudini?expand=0&rev=5
2016-05-04 06:19:21 +00:00
5d5ae1679f Accepting request 360276 from Cloud:OpenStack:Factory
1

OBS-URL: https://build.opensuse.org/request/show/360276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crudini?expand=0&rev=4
2016-02-22 07:57:56 +00:00
509b897f08 - 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
e63901b499 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
1f8b1bd37d 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
5c1600f9b7 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