[ckan-changes] [ckan/ckan] df8c1a: [#1725] Datastore must be the first IDatastore plu...

GitHub noreply at github.com
Tue Jun 10 20:34:23 UTC 2014


  Branch: refs/heads/1725-extend-datastore
  Home:   https://github.com/ckan/ckan
  Commit: df8c1af5fbdc436ed63c76a6f3470c8eae1c2b37
      https://github.com/ckan/ckan/commit/df8c1af5fbdc436ed63c76a6f3470c8eae1c2b37
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M ckanext/datastore/plugin.py
    A ckanext/datastore/tests/test_plugin.py

  Log Message:
  -----------
  [#1725] Datastore must be the first IDatastore plugin loaded

This allows extensions to rely on it running before them.


  Commit: 00943d1477bfa453deee89f9eeb9caa518bdd4d8
      https://github.com/ckan/ckan/commit/00943d1477bfa453deee89f9eeb9caa518bdd4d8
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M ckanext/datastore/interfaces.py

  Log Message:
  -----------
  [#1725] Add docstrings to the IDatastore methods


  Commit: 3c38dce0702c64f27eb3997339a082d02616f7b4
      https://github.com/ckan/ckan/commit/3c38dce0702c64f27eb3997339a082d02616f7b4
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M ckanext/datastore/db.py
    M ckanext/datastore/interfaces.py
    M ckanext/datastore/plugin.py
    M ckanext/datastore/tests/sample_datastore_plugin.py

  Log Message:
  -----------
  [#1725] Rename datastore_validate_query() to datastore_validate()

The previous name sounded like we were validating the `query_dict`, but we're
actually validating the `data_dict`. I felt `datastore_validate_data_dict()`
would be too big, so `datastore_validate()` seems better.


Compare: https://github.com/ckan/ckan/compare/b4befddbf423...3c38dce0702c


More information about the ckan-changes mailing list