[ckan-changes] [ckan/ckan] c84194: Introduces IDataPusher plugin

GitHub noreply at github.com
Wed Aug 19 11:33:06 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: c84194cd55134880710b91dc40c50ea77c202b44
      https://github.com/ckan/ckan/commit/c84194cd55134880710b91dc40c50ea77c202b44
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-08-12 (Wed, 12 Aug 2015)

  Changed paths:
    A ckanext/datapusher/interfaces.py
    M ckanext/datapusher/logic/action.py
    M ckanext/datapusher/plugin.py
    A ckanext/datapusher/tests/test_interfaces.py
    M setup.py

  Log Message:
  -----------
  Introduces IDataPusher plugin

This new plugin allows users to reject resources for submission,
and also to be notified once a datapush is complete.

The two methods in the interface are:

can_upload: which will abort datapusher_submit calls if they return
True.
after_upload: Called with the resource ID after the upload into the
datastore is complete.


  Commit: 9d3311a315be8d898cfa15243edca447548eb897
      https://github.com/ckan/ckan/commit/9d3311a315be8d898cfa15243edca447548eb897
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-08-12 (Wed, 12 Aug 2015)

  Changed paths:
    M ckanext/datastore/db.py
    M ckanext/datastore/tests/test_create.py

  Log Message:
  -----------
  Checks for duplicate column names

Before the attempt is made to create the table, checks that there
are no duplicate column names in the record sent to the action method.


  Commit: d5234c2b0342e401cbe66864488c739d048c08db
      https://github.com/ckan/ckan/commit/d5234c2b0342e401cbe66864488c739d048c08db
  Author: amercader <amercadero at gmail.com>
  Date:   2015-08-19 (Wed, 19 Aug 2015)

  Changed paths:
    M ckanext/datapusher/interfaces.py

  Log Message:
  -----------
  [#2571] Add note about further checks


  Commit: f857ac790d5cd7fa881187d00c9feaa9a5b6432a
      https://github.com/ckan/ckan/commit/f857ac790d5cd7fa881187d00c9feaa9a5b6432a
  Author: amercader <amercadero at gmail.com>
  Date:   2015-08-19 (Wed, 19 Aug 2015)

  Changed paths:
    A ckanext/datapusher/interfaces.py
    M ckanext/datapusher/logic/action.py
    M ckanext/datapusher/plugin.py
    A ckanext/datapusher/tests/test_interfaces.py
    M setup.py

  Log Message:
  -----------
  Merge branch 'datapusher-plugin'


  Commit: 942a824c85ec2faf0a7c46a44b5d72997f911568
      https://github.com/ckan/ckan/commit/942a824c85ec2faf0a7c46a44b5d72997f911568
  Author: amercader <amercadero at gmail.com>
  Date:   2015-08-19 (Wed, 19 Aug 2015)

  Changed paths:
    M ckanext/datastore/db.py
    M ckanext/datastore/tests/test_create.py

  Log Message:
  -----------
  Merge branch '2574-stop-500-when-creating-tables'


Compare: https://github.com/ckan/ckan/compare/1285d00d9019...942a824c85ec


More information about the ckan-changes mailing list