harvester-d4science/ckanext/harvest
Konrad Reiche 05094090af Change type of the API version to integer
The CKAN logic uses integers when dealing with the API version, e.g.
making checks which API version is in use. Currently, the harvester
uses strings to identify the API version. Instead of dealing with
type conversion the harvester could use integers directly.

This commit fixes okfn/ckanext-harvest#36. When the API version is
parsed from the configuration it is passed through the int() function.
This way the harvesting will still work even if a harvest source was
configured with a string API version which makes this commit backward
compatible.

Signed-off-by: Konrad Reiche <konrad.reiche@fokus.fraunhofer.de>
2013-05-27 12:51:48 +02:00
..
commands [#32] redis queue support 2013-04-21 17:04:57 +01:00
controllers [#30] Remove lxml dependency 2013-05-24 18:12:02 +01:00
fanstatic_library/styles [#23] Make labels a little wider on harvest new form 2013-03-20 14:07:03 +00:00
harvesters Change type of the API version to integer 2013-05-27 12:51:48 +02:00
logic [#34] Integrate clear command with delete source 2013-05-20 14:30:22 +01:00
model Better harvest source dataset migration 2013-05-24 14:49:55 +01:00
public/ckanext/harvest add javascript for source type 2013-02-25 18:12:47 +00:00
templates Use page_heading helper consistently with the main CKAN templates. 2013-05-17 16:12:57 +01:00
templates_new [#34] Integrate clear command with delete source 2013-05-20 14:30:22 +01:00
tests Update queue tests 2013-04-22 17:56:11 +01:00
__init__.py Moving the extension points code to package as a .deb file 2011-03-28 15:52:43 +01:00
helpers.py [#27] fix package_list_for_source for unowned data sources 2013-03-21 15:59:22 +00:00
interfaces.py Document method and cleanup the interface file 2013-01-24 18:39:19 +00:00
plugin.py [#34] Expose harvest source clear button 2013-05-16 17:51:48 +01:00
queue.py Changes in Redis conusmer to make tests work 2013-04-22 18:08:19 +01:00