[ckan-changes] [ckan/ckan] cebb92: Introduces IDataPusher plugin
GitHub
noreply at github.com
Mon Aug 10 15:33:50 UTC 2015
Branch: refs/heads/datapusher-plugin
Home: https://github.com/ckan/ckan
Commit: cebb92bd7676569f67e84c2e582c624aa905869d
https://github.com/ckan/ckan/commit/cebb92bd7676569f67e84c2e582c624aa905869d
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