[ckan-dev] ckanext-archiver
Mike Sinclair
mm.sinclair08 at gmail.com
Sat May 3 08:39:04 UTC 2014
I believe that if there has been any change to resource URLs since the
archiver has last ran, it needs to update the resource to reflect that
change.
Like Nigel said, the purpose of the extension is essentially to store
resources in an archive somewhere. If a resource URL has changed it will
need to update that.
Mike Sinclair
OpenGovGear
On Sat, May 3, 2014 at 1:00 AM, Fabrizio Fornari <ckanappoggio at gmail.com>wrote:
> I see, but I don't get why it updates the CKAN resources. In
> /ckanext-archiver/ckanext/archiver/task.py <https://github.com/ckan/ckanext-archiver/blob/master/ckanext/archiver/tasks.py>
> there is _update_resources that calls resource_update through the CKAN
> api.
>
>
> On Wed, Apr 30, 2014 at 7:15 AM, Nigel Babu <nigel.babu at okfn.org> wrote:
>
>> The purpose of the extension is to archive resources to a different
>> place. Since ckanext-archiver does basic archiving, it's used by other
>> extensions that need to act on the downloaded resource.
>>
>> Nigel Babu
>> Developer, Open Knowledge
>>
>>
>> On 29 April 2014 21:24, Fabrizio Fornari <ckanappoggio at gmail.com> wrote:
>>
>>> Hi guys,
>>>
>>> can anyone explain me what actually ckanext-archiver does?
>>>
>>> From the documentation:
>>> "The CKAN Archiver Extension provides a set of Celery tasks for
>>> downloading and saving CKAN resources. It can be configured to run
>>> automatically, saving any new resources that are added to a CKAN instance
>>> (and saving any resources when their URL is changed). It can also be run
>>> manually from the command line in order to archive resources for specific
>>> datasets, or to archive all resources in a CKAN instance."
>>>
>>> I need ckanext-archiver for using the extension qa (ok) but I don't get
>>> why the archiver should download, update resources and stuff like that,
>>> which is the purpose of this extension?
>>>
>>> Thank you!
>>>
>>> _______________________________________________
>>> ckan-dev mailing list
>>> ckan-dev at lists.okfn.org
>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>
>>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>
>>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140503/e07d77d3/attachment-0003.html>
More information about the ckan-dev
mailing list