[ckan-dev] ckanext-archiver

Adrià Mercader adria.mercader at okfn.org
Sat May 3 10:10:42 UTC 2014


Hi Fabrizio,
IIRC the extension updates the resource with some metadata like
last_modified, size and hash depending on the last archiving.

Adrià
On 3 May 2014 09:01, "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/0b488a4c/attachment-0003.html>


More information about the ckan-dev mailing list