=============
ckanext-resourceversions
This extension allows you to create versions of datasets. Each version
becomes a new dataset. Therefore, when uploading a new file or changing
the link of a resource a new dataset with a new resource is being created. However, when changing any other information no new version is being created.

This extension must be used together with ckanext-thredds. Therefore, you can
create versions of subsets and show relations between the original dataset
versions and the subset versions.

API function:
package_search(context, data_dict)
Extends CKAN’s package_search.
Additional Parameters:
* include_versions (bool) - includes all matching versions of a dataset if True, otherwise only the newest versions (optional, default: False)
Requirements
This extension must be used together with ckanext-thredds. Moreover, each
resource needs a field “newer_version” and “subset_of”.
Installation
To install ckanext-resourceversions:
Activate your CKAN virtual environment, for example::
. /usr/lib/ckan/default/bin/activate
Install the ckanext-resourceversions Python package into your virtual environment::
pip install ckanext-resourceversions
Add resourceversions to the ckan.plugins setting in your CKAN
config file (by default the config file is located at
/etc/ckan/default/production.ini).
Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu::
sudo service apache2 reload
Config Settings
Document any optional config settings here. For example::
# The minimum number of hours to wait before re-checking a resource
# (optional, default: 24).
ckanext.resourceversions.some_setting = some_default_value
Development Installation