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

GitHub noreply at github.com
Thu Aug 6 15:53:07 UTC 2015


  Branch: refs/heads/datapusher-plugin
  Home:   https://github.com/ckan/ckan
  Commit: a8e89acf35baddea2e7d3b2405da5d9dadcb4b99
      https://github.com/ckan/ckan/commit/a8e89acf35baddea2e7d3b2405da5d9dadcb4b99
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-08-06 (Thu, 06 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.




More information about the ckan-changes mailing list