Ticket #1728 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Update UKLP harvesters

Reported by: amercader Owned by: amercader
Priority: major Milestone: ckan-sprint-2012-02-20
Component: ckan Keywords: harvesting, uklp, 0.5d
Cc: Repository: ckanext-harvest
Theme: none

Description

Three small changes:

  • Set Resource type to None instead of 'Undefined'
  • Set extra 'UKLP' = True instead of 'INSPIRE' = True

These two changes will require manual update of the database.

  • Allow datasets to be updated if the old source is inactive, even if the metadata date hasn't changed:
    if last_harvested_object.metadata_modified_date is None \
       or last_harvested_object.metadata_modified_date < self.obj.metadata_modified_date \
       or self.force_import \
       or last_harvested_object.metadata_modified_date == self.obj.metadata_modified_date and last_harvested_object.source.active is False:

Change History

comment:1 Changed 2 years ago by amercader

  • Milestone changed from ckan-sprint-2012-02-06 to current-ckan-sprint-2012-02-20

comment:2 Changed 2 years ago by amercader

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.