Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pycsw for openSUSE:Factory checked in at 2022-12-06 16:25:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pycsw (Old) and /work/SRC/openSUSE:Factory/.python-pycsw.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pycsw" Tue Dec 6 16:25:10 2022 rev:5 rq:1040639 version:2.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pycsw/python-pycsw.changes 2021-04-23 17:51:01.114834710 +0200 +++ /work/SRC/openSUSE:Factory/.python-pycsw.new.1835/python-pycsw.changes 2022-12-06 16:25:11.626872123 +0100 @@ -1,0 +2,6 @@ +Mon Dec 5 21:14:52 UTC 2022 - Dirk Müller <dmuel...@suse.com> + +- update to 2.6.1: + * configuration documentation + +------------------------------------------------------------------- Old: ---- pycsw-2.6.0-gh.tar.gz New: ---- pycsw-2.6.1-gh.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pycsw.spec ++++++ --- /var/tmp/diff_new_pack.DaUKYi/_old 2022-12-06 16:25:12.406876443 +0100 +++ /var/tmp/diff_new_pack.DaUKYi/_new 2022-12-06 16:25:12.414876488 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pycsw # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define skip_python2 1 %define skip_python36 1 Name: python-pycsw -Version: 2.6.0 +Version: 2.6.1 Release: 0 Summary: OGC CSW server implementation written in Python License: MIT @@ -44,8 +44,8 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module apipkg} -BuildRequires: %{python_module SQLAlchemy} BuildRequires: %{python_module OWSLib >= 0.16.0} +BuildRequires: %{python_module SQLAlchemy} BuildRequires: %{python_module Shapely >= 1.5.17} BuildRequires: %{python_module geolinks >= 0.2.0} BuildRequires: %{python_module lxml >= 3.6.2} ++++++ pycsw-2.6.0-gh.tar.gz -> pycsw-2.6.1-gh.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycsw-2.6.0/VERSION.txt new/pycsw-2.6.1/VERSION.txt --- old/pycsw-2.6.0/VERSION.txt 2020-12-05 14:31:20.000000000 +0100 +++ new/pycsw-2.6.1/VERSION.txt 2021-10-14 19:23:44.000000000 +0200 @@ -1 +1 @@ -2.6.0 +2.6.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycsw-2.6.0/docs/configuration.rst new/pycsw-2.6.1/docs/configuration.rst --- old/pycsw-2.6.0/docs/configuration.rst 2020-12-05 14:31:20.000000000 +0100 +++ new/pycsw-2.6.1/docs/configuration.rst 2021-10-14 19:23:44.000000000 +0200 @@ -86,6 +86,21 @@ .. _alternate-configurations: +Using environment variables in configuration files +------------------------------------------------------ + +pycsw configuration supports using system environment variables, which can be helpful +for deploying into `12 factor <https://12factor.net/>`_ environments for example. + +Below is an example of how to integrate system environment variables in pycsw: + +.. code-block:: ini + + [repository] + database=${PYCSW_REPOSITORY_DATABASE_URI} + table=${MY_TABLE} + + Alternate Configurations ------------------------ @@ -101,6 +116,9 @@ Environment Variables ~~~~~~~~~~~~~~~~~~~~~ +Configuration file location +^^^^^^^^^^^^^^^^^^^^^^^^^^^ + One option is using Apache's ``Alias`` and ``SetEnvIf`` directives. For example, given the base URL ``http://localhost/pycsw/csw.py?config=foo.cfg``, set the following in Apache's ``httpd.conf``: .. code-block:: none ++++++ pycsw-pr671-rm-json-encoding.patch ++++++ --- /var/tmp/diff_new_pack.DaUKYi/_old 2022-12-06 16:25:12.862878969 +0100 +++ /var/tmp/diff_new_pack.DaUKYi/_new 2022-12-06 16:25:12.862878969 +0100 @@ -8,7 +8,7 @@ 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/functionaltests/test_suites_functional.py b/tests/functionaltests/test_suites_functional.py -index d1077d9f..18643d2b 100644 +index d1077d9f0..18643d2bc 100644 --- a/tests/functionaltests/test_suites_functional.py +++ b/tests/functionaltests/test_suites_functional.py @@ -216,7 +216,7 @@ def _test_xml_result(result, expected, encoding="utf-8"):