[ckan-changes] [ckan/ckan] 250f56: Introduces IDataPusher plugin

GitHub noreply at github.com
Mon Aug 10 14:42:05 UTC 2015


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