[Git][debian-gis-team/pycsw][upstream] New upstream version 2.6.1+dfsg

Angelos Tzotsos (@kalxas-guest) gitlab at salsa.debian.org
Thu Oct 14 19:35:17 BST 2021



Angelos Tzotsos pushed to branch upstream at Debian GIS Project / pycsw


Commits:
98464255 by Angelos Tzotsos at 2021-10-14T21:29:28+03:00
New upstream version 2.6.1+dfsg
- - - - -


2 changed files:

- VERSION.txt
- docs/configuration.rst


Changes:

=====================================
VERSION.txt
=====================================
@@ -1 +1 @@
-2.6.0
+2.6.1


=====================================
docs/configuration.rst
=====================================
@@ -86,6 +86,21 @@ The The following describes how ``maxRecords`` is handled by the configuration w
 
 .. _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 @@ Some deployments with alternate configurations prefer not to advertise the base
 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



View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/-/commit/984642550a30275e2ca177a155a67359d05cf84c

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/-/commit/984642550a30275e2ca177a155a67359d05cf84c
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20211014/878f82ae/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list