[ckan-changes] [ckan/ckan] 83f103: [#2429] Config options set from env vars.
GitHub
noreply at github.com
Mon May 18 10:58:21 UTC 2015
Branch: refs/heads/2429-config-env-var
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
Compare: https://github.com/ckan/ckan/compare/83f103cc030d^...e9cd0c4b4a2a
More information about the ckan-changes
mailing list