libeconf/python-libeconf.changes
Stefan Schubert a395cec6a2 Accepting request 1179642 from home:schubi2:branches:devel:microos
- Update to version 0.7.1:
* Improved error handling while parsing values with the wrong format.
  Added new return value ECONF_VALUE_CONVERSION_ERROR.
* Setting parsing options via econf_file struct.
  see econf_newKeyFile_with_options. These options will be used by
  econf_readConfig and econf_readConfigWithCallback.
  Following options are supported:
   JOIN_SAME_ENTRIES  (default 0)
     Parsed entries with the same name will not be replaces but
     will be joined to one entry.
   PYTHON_STYLE  (default 0)
     E.G. Identations will be handled like multiline entries.
   PARSING_DIRS (default /usr/etc/:/run:/etc)
     List of directories from which the configuration files have to be parsed.
     The list is a string, divides by ":". The last entry has the highest
     priority. E.g.: "PARSING_DIRS=/usr/etc/:/run:/etc"
   CONFIG_DIRS (default <empty>)
     List of directory structures (with order) which describes the directories
     in which the files have to be parsed.
     The list is a string, divides by ":". The last entry has the highest
     priority. E.g. with the given list: "CONFIG_DIRS=.conf.d:.d" files in
     following directories will be parsed:
            "<default_dirs>/<config_name>.conf.d/"
            "<default_dirs>/<config_name>.d/"
            "<default_dirs>/<config_name>/"
* CAUTION: From now on every econf_file element MUST be intialized if
           econf_readConfig and econf_readConfigWithCallback is used.
  Either with NULL or:
   econf_file *key_file = NULL;
   if (error = econf_newKeyFile_with_options(&key_file, "PYTHON_STYLE=1"))
   {
      fprintf (stderr, "ERROR: couldn't create new key file: %s\n",
               econf_errString(error));
      return 1;
   }
   error = econf_readConfig (&key_file,
                             "foo",
                             "/usr/lib",
                             "example",
                             "conf",
                             "=", "#");
- Update to version 0.7.1:
* Improved error handling while parsing values with the wrong format.
  Added new return value ECONF_VALUE_CONVERSION_ERROR.
* Setting parsing options via econf_file struct.
  see econf_newKeyFile_with_options. These options will be used by
  econf_readConfig and econf_readConfigWithCallback.
  Following options are supported:
   JOIN_SAME_ENTRIES  (default 0)
     Parsed entries with the same name will not be replaces but
     will be joined to one entry.
   PYTHON_STYLE  (default 0)
     E.G. Identations will be handled like multiline entries.
   PARSING_DIRS (default /usr/etc/:/run:/etc)
     List of directories from which the configuration files have to be parsed.
     The list is a string, divides by ":". The last entry has the highest
     priority. E.g.: "PARSING_DIRS=/usr/etc/:/run:/etc"
   CONFIG_DIRS (default <empty>)
     List of directory structures (with order) which describes the directories
     in which the files have to be parsed.
     The list is a string, divides by ":". The last entry has the highest
     priority. E.g. with the given list: "CONFIG_DIRS=.conf.d:.d" files in
     following directories will be parsed:
            "<default_dirs>/<config_name>.conf.d/"
            "<default_dirs>/<config_name>.d/"
            "<default_dirs>/<config_name>/"
* CAUTION: From now on every econf_file element MUST be intialized if
           econf_readConfig and econf_readConfigWithCallback is used.
  Either with NULL or:
   econf_file *key_file = NULL;
   if (error = econf_newKeyFile_with_options(&key_file, "PYTHON_STYLE=1"))
   {
      fprintf (stderr, "ERROR: couldn't create new key file: %s\n",
               econf_errString(error));
      return 1;
   }
   error = econf_readConfig (&key_file,
                             "foo",
                             "/usr/lib",
                             "example",
                             "conf",
                             "=", "#");

OBS-URL: https://build.opensuse.org/request/show/1179642
OBS-URL: https://build.opensuse.org/package/show/devel:microos/libeconf?expand=0&rev=28
2024-06-10 08:10:26 +00:00

111 lines
4.5 KiB
Plaintext

-------------------------------------------------------------------
Mon Jun 10 07:36:06 UTC 2024 - schubi@suse.com
- Update to version 0.7.1:
* Improved error handling while parsing values with the wrong format.
Added new return value ECONF_VALUE_CONVERSION_ERROR.
* Setting parsing options via econf_file struct.
see econf_newKeyFile_with_options. These options will be used by
econf_readConfig and econf_readConfigWithCallback.
Following options are supported:
JOIN_SAME_ENTRIES (default 0)
Parsed entries with the same name will not be replaces but
will be joined to one entry.
PYTHON_STYLE (default 0)
E.G. Identations will be handled like multiline entries.
PARSING_DIRS (default /usr/etc/:/run:/etc)
List of directories from which the configuration files have to be parsed.
The list is a string, divides by ":". The last entry has the highest
priority. E.g.: "PARSING_DIRS=/usr/etc/:/run:/etc"
CONFIG_DIRS (default <empty>)
List of directory structures (with order) which describes the directories
in which the files have to be parsed.
The list is a string, divides by ":". The last entry has the highest
priority. E.g. with the given list: "CONFIG_DIRS=.conf.d:.d" files in
following directories will be parsed:
"<default_dirs>/<config_name>.conf.d/"
"<default_dirs>/<config_name>.d/"
"<default_dirs>/<config_name>/"
* CAUTION: From now on every econf_file element MUST be intialized if
econf_readConfig and econf_readConfigWithCallback is used.
Either with NULL or:
econf_file *key_file = NULL;
if (error = econf_newKeyFile_with_options(&key_file, "PYTHON_STYLE=1"))
{
fprintf (stderr, "ERROR: couldn't create new key file: %s\n",
econf_errString(error));
return 1;
}
error = econf_readConfig (&key_file,
"foo",
"/usr/lib",
"example",
"conf",
"=", "#");
-------------------------------------------------------------------
Tue Jun 04 11:08:28 UTC 2024 - schubi@suse.com
- Update to version 0.7.0:
* Defining manual parsing directories (#209)
* parsing config files in python style
* econf_readConfig: set usr_subdir to empty string if it is NULL
* Fix static analyzer detected issues (#202)
* comment string can be in the parsed value which is defined with quotes (#207)
* tst-comments2: comment sign in quoted string (#205)
* Setting options via new econf_newKeyFile_with_options. (#206)
-------------------------------------------------------------------
Fri Apr 12 10:47:39 UTC 2024 - schubi@suse.com
- Update to version 0.6.3:
* Fix build with musl libc on ppc64le (#198)
* Creating static library with new package libeconf-devel-static.
This is needed for building package util-linux and btrfsprogs.
-------------------------------------------------------------------
Wed Mar 06 11:02:00 UTC 2024 - schubi@suse.com
- Update to version 0.6.2:
* Fix static analyzer detected issues (#196)
-------------------------------------------------------------------
Mon Jan 22 14:30:16 UTC 2024 - schubi@suse.com
- Update to version 0.6.1:
* reading lines which have a length greater than BUFSIZE (#195)
* Improved data quote check in read_file (#193)
-------------------------------------------------------------------
Mon Nov 13 07:55:36 UTC 2023 - Alberto Planas Dominguez <aplanas@suse.com>
- Do not requires the library for the documentation
------------------------------------------------------------------
Wed Nov 8 12:45:07 UTC 2023 - Alberto Planas Dominguez <aplanas@suse.com>
- Fix version comparison operator
- Remove explicit python3-base requirement
-------------------------------------------------------------------
Fri Nov 03 16:44:38 UTC 2023 - schubi@suse.com
- Update to version 1.1.1:
* Supporting Linux Userspace API (UAPI) Group
chapter "Configuration Files Specification".
See: https://uapi-group.org/specifications/specs/
configuration_files_specification/
-------------------------------------------------------------------
Fri Nov 3 10:12:29 UTC 2023 - Alberto Planas Dominguez <aplanas@suse.com>
- Support only Python >= 3.10. PEP 604 is used for union types
-------------------------------------------------------------------
Fri Oct 27 08:42:26 UTC 2023 - Nico Krapp <nico.krapp@suse.com>
- Version 1.1.0
* Added tests
* Support all functions form libeconf 0.5.2
* Bug fixes