[ckan-changes] [ckan/ckan] 83f103: [#2429] Config options set from env vars.

GitHub noreply at github.com
Tue May 19 17:21:56 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 83f103cc030d29a48bd01ac6532292f74218e272
      https://github.com/ckan/ckan/commit/83f103cc030d29a48bd01ac6532292f74218e272
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2015-05-15 (Fri, 15 May 2015)

  Changed paths:
    M ckan/config/environment.py
    A ckan/tests/config/test_environment.py

  Log Message:
  -----------
  [#2429] Config options set from env vars.

A whitelist of config options that can be set from env vars, currently:

    'sqlalchemy.url': 'CKAN_SQLALCHEMY_URL'
    'ckan.datastore.write_url': 'CKAN_DATASTORE_WRITE_URL'
    'ckan.datastore.read_url': 'CKAN_DATASTORE_READ_URL'
    'solr_url': 'CKAN_SOLR_URL'
    'ckan.site_id': 'CKAN_SITE_ID'

These are set after the config is read from the .ini file and after
plugins have had an opportunity to update the config, but before
app_globals are set from the database.


  Commit: 436bac88f664b3447c02099056c0e2356333ccc9
      https://github.com/ckan/ckan/commit/436bac88f664b3447c02099056c0e2356333ccc9
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2015-05-15 (Fri, 15 May 2015)

  Changed paths:
    M ckan/tests/config/test_environment.py

  Log Message:
  -----------
  [#2429] Test teardown removes env vars


  Commit: e9cd0c4b4a2af62b21d18dd7502e46a05020d1c6
      https://github.com/ckan/ckan/commit/e9cd0c4b4a2af62b21d18dd7502e46a05020d1c6
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2015-05-18 (Mon, 18 May 2015)

  Changed paths:
    M ckan/config/environment.py
    M ckan/tests/config/test_environment.py

  Log Message:
  -----------
  [#2429] Deprecate warning for CKAN_DB env var


  Commit: 27aeccc8c47892349548476bf87bf7b98d344227
      https://github.com/ckan/ckan/commit/27aeccc8c47892349548476bf87bf7b98d344227
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
    M ckan/config/environment.py
    M ckan/tests/config/test_environment.py

  Log Message:
  -----------
  [#2429] Email settings exposed to env vars


  Commit: 2db129a4c04df6c0099d4d12a33a90d8e05ddb59
      https://github.com/ckan/ckan/commit/2db129a4c04df6c0099d4d12a33a90d8e05ddb59
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
    M ckan/config/environment.py

  Log Message:
  -----------
  [#2429] Better name for the config/envvar mapping


  Commit: 71565cbc0c3d9907f7660f1439301e6d8b6152c2
      https://github.com/ckan/ckan/commit/71565cbc0c3d9907f7660f1439301e6d8b6152c2
  Author: amercader <amercadero at gmail.com>
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
    M ckan/tests/config/test_environment.py

  Log Message:
  -----------
  [#2429] Fix typo


  Commit: 0f145a54629287a6f7764b8fd73963bda62260ef
      https://github.com/ckan/ckan/commit/0f145a54629287a6f7764b8fd73963bda62260ef
  Author: amercader <amercadero at gmail.com>
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
    M ckan/config/environment.py
    A ckan/tests/config/test_environment.py

  Log Message:
  -----------
  Merge branch '2429-config-env-var'


Compare: https://github.com/ckan/ckan/compare/56100e77d856...0f145a546292


More information about the ckan-changes mailing list