From ff1b861f1b39637347489a563e147c95fba5a604 Mon Sep 17 00:00:00 2001 From: rnoerenberg Date: Wed, 16 Nov 2016 16:02:12 +0100 Subject: [PATCH] Update documentation Added note with the limit of 1000 harvest sources --- README.rst | 3 ++- ckanext/harvest/commands/harvester.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 2c08da0..fe47bec 100644 --- a/README.rst +++ b/README.rst @@ -190,7 +190,8 @@ The following operations can be run from the command line as described underneat but keeps the source itself harvester clearsource_history [{source-id}] - - If no source id is given the history for all harvest sources will be cleared. + - If no source id is given the history for all harvest sources (maximum is 1000) + will be cleared. Clears all jobs and objects related to a harvest source, but keeps the source itself. The datasets imported from the harvest source will **NOT** be deleted!!! If a source id is given, it only clears the history of the harvest source with diff --git a/ckanext/harvest/commands/harvester.py b/ckanext/harvest/commands/harvester.py index e125439..5c515b9 100644 --- a/ckanext/harvest/commands/harvester.py +++ b/ckanext/harvest/commands/harvester.py @@ -30,7 +30,7 @@ class Harvester(CkanCommand): but keeps the source itself harvester clearsource_history [{source-id}] - - If no source id is given the history for all harvest sources will be cleared. + - If no source id is given the history for all harvest sources (maximum is 1000) will be cleared. Clears all jobs and objects related to a harvest source, but keeps the source itself. The datasets imported from the harvest source will NOT be deleted!!! If a source id is given, it only clears the history of the harvest source with the given source id.