[ckan-changes] [ckan/ckan] 6fb74f: [#1879] Set DataStore to legacy mode when using Po...
GitHub
noreply at github.com
Fri Oct 3 09:14:54 UTC 2014
Branch: refs/heads/release-v2.1.3
Home: https://github.com/ckan/ckan
Commit: 6fb74fe05a7e0096f591a4d6ba69ed4a38c18143
https://github.com/ckan/ckan/commit/6fb74fe05a7e0096f591a4d6ba69ed4a38c18143
Author: amercader <amercadero at gmail.com>
Date: 2014-10-02 (Thu, 02 Oct 2014)
Changed paths:
M ckanext/datastore/plugin.py
M ckanext/datastore/tests/test_unit.py
M dev-requirements.txt
Log Message:
-----------
[#1879] Set DataStore to legacy mode when using PostgreSQL < 9.x
Up until now the user had to actively set legacy mode when running PG
8.x, and if not you could end up with the full datastore running on an
old postgres version. Features like the SQL search are not properly
supported on these versions, so we need to explicitly disable them when
running on PG 8.x, by setting `legacy_mode` to True.
The current behaviour is that legacy mode will be activated if
`ckan.datastore.read_url` is not present in the configuration and/or
postgres < 9.x.
Commit: 0a6b495937da958202129142f9d5c3bc70d5322e
https://github.com/ckan/ckan/commit/0a6b495937da958202129142f9d5c3bc70d5322e
Author: amercader <amercadero at gmail.com>
Date: 2014-10-02 (Thu, 02 Oct 2014)
Changed paths:
M ckanext/datastore/tests/test_unit.py
Log Message:
-----------
[#1879] Fix tests
The travis setup explicitly removes the `ckan.datastore.read_url`
setting when running the tests, so we need to use a dummy one.
Also some refactoring
Commit: 29b446d6cdf1105de69dbbd5abf90889373ce075
https://github.com/ckan/ckan/commit/29b446d6cdf1105de69dbbd5abf90889373ce075
Author: amercader <amercadero at gmail.com>
Date: 2014-10-03 (Fri, 03 Oct 2014)
Changed paths:
M ckanext/datastore/tests/test_configure.py
Log Message:
-----------
Disable datastore test as per #547
Commit: bee9f815177ad2f20f601caba4ee6d1562e24a74
https://github.com/ckan/ckan/commit/bee9f815177ad2f20f601caba4ee6d1562e24a74
Author: kindly <kindly at gmail.com>
Date: 2014-10-03 (Fri, 03 Oct 2014)
Changed paths:
M .travis.yml
Log Message:
-----------
[#1465] exclude more unlikely cominations
Conflicts:
.travis.yml
Compare: https://github.com/ckan/ckan/compare/b8f6f0459dbe...bee9f815177a
More information about the ckan-changes
mailing list