Commit Graph

9 Commits

Author SHA256 Message Date
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
Stefan Schubert
17d8e7e3e2 Accepting request 1178500 from home:schubi2
- 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)
- 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)

OBS-URL: https://build.opensuse.org/request/show/1178500
OBS-URL: https://build.opensuse.org/package/show/devel:microos/libeconf?expand=0&rev=27
2024-06-04 14:07:43 +00:00
Stefan Schubert
24b4396efd Accepting request 1167040 from home:schubi2
- Update to version 0.6.3:
  * Fix build with musl libc on ppc64le (#198)
  * creating static library
- Update to version 0.6.3:
  * Fix build with musl libc on ppc64le (#198)
  * creating static library

OBS-URL: https://build.opensuse.org/request/show/1167040
OBS-URL: https://build.opensuse.org/package/show/devel:microos/libeconf?expand=0&rev=23
2024-04-12 11:11:44 +00:00
Stefan Schubert
0e0ce80407 Accepting request 1155520 from home:schubi2
- Update to version 0.6.2:
  * Fix static analyzer detected issues (#196)
- Update to version 0.6.2:
  * Fix static analyzer detected issues (#196)

OBS-URL: https://build.opensuse.org/request/show/1155520
OBS-URL: https://build.opensuse.org/package/show/devel:microos/libeconf?expand=0&rev=21
2024-03-06 11:25:22 +00:00
Stefan Schubert
ae3baf20b1 Accepting request 1140688 from home:schubi2
- Update to version 0.6.1:
  * reading lines which have a length greater than BUFSIZE (#195)
  * Improved data quote check in read_file (#193)
- Update to version 0.6.1:
  * reading lines which have a length greater than BUFSIZE (#195)
  * Improved data quote check in read_file (#193)

OBS-URL: https://build.opensuse.org/request/show/1140688
OBS-URL: https://build.opensuse.org/package/show/devel:microos/libeconf?expand=0&rev=19
2024-01-22 16:19:47 +00:00
Stefan Schubert
45025ac905 Accepting request 1125417 from home:aplanas:branches:devel:microos
- Do not requires the library for the documentation

OBS-URL: https://build.opensuse.org/request/show/1125417
OBS-URL: https://build.opensuse.org/package/show/devel:microos/libeconf?expand=0&rev=17
2023-11-14 10:05:31 +00:00
Richard Brown
12e719a8de Accepting request 1124264 from home:schubi2
- Update to version 0.6.0:
  * Supporting Linux Userspace API (UAPI) Group
    chapter "Configuration Files Specification".
    See: https://uapi-group.org/specifications/specs/
                 configuration_files_specification/
- Update to version 0.5.3:
  * Added bindings for python3 and C#
------------------------------------------------------------------
- Fix version comparison operator
- Remove explicit python3-base requirement
- 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/

OBS-URL: https://build.opensuse.org/request/show/1124264
OBS-URL: https://build.opensuse.org/package/show/devel:microos/libeconf?expand=0&rev=16
2023-11-10 12:48:19 +00:00
Stefan Schubert
cf0ed7c190 Accepting request 1123189 from home:aplanas:branches:devel:microos
- Support only Python >= 3.10. PEP 604 is used for union types

OBS-URL: https://build.opensuse.org/request/show/1123189
OBS-URL: https://build.opensuse.org/package/show/devel:microos/libeconf?expand=0&rev=15
2023-11-03 10:27:48 +00:00
Richard Brown
5adc8ee640 Accepting request 1120759 from home:nkrapp:branches:devel:microos
- Version 0.5.2:
  * Add python bindings (#188)
  * docu version 0.5.2
  * Fix test (#185)
  * Plug memory leak (#186)
- Python-libeconf Version 1.1.0
  * Added tests
  * Support all functions form libeconf 0.5.2
  * Bug fixes

OBS-URL: https://build.opensuse.org/request/show/1120759
OBS-URL: https://build.opensuse.org/package/show/devel:microos/libeconf?expand=0&rev=14
2023-10-30 09:58:24 +00:00