Ticket #801 (closed enhancement: duplicate)

Opened 3 years ago

Last modified 3 years ago

Get/Set last harvested time for a given harvest source

Reported by: johnbywater Owned by: wwaites
Priority: major Milestone: ckan-v1.4-sprint-3
Component: uklii Keywords:
Cc: Repository:
Theme:

Description (last modified by johnbywater) (diff)

Implies that last harvested time must be stored on source by harvesting job (see #802).

Change History

comment:1 Changed 3 years ago by johnbywater

Referencing ticket #728 has changed sprint.

comment:2 Changed 3 years ago by johnbywater

Referencing ticket #799 has changed sprint.

comment:3 Changed 3 years ago by johnbywater

  • Description modified (diff)

comment:4 Changed 3 years ago by thejimmyg

  • Owner changed from johnbywater to wwaites
  • Priority set to major
  • Component set to uklii
  • Summary changed from Get last harvested time for a given harvest source to Get/Set last harvested time for a given harvest source

Perhaps this should be implemented differently so that each harvest attempt creates its own database entry with a timestamp and a status attached. We'll need to move to this when we move to a queue based system.

comment:5 Changed 3 years ago by thejimmyg

  • Status changed from new to closed
  • Resolution set to wontfix

I don't see why we'd really need to do this. Under the current system a job would be created just before the harvesting would be run so the creation date of the job is (give or take a few seconds) the date of the harvesting. If we moved to a queue system this would be done better anyway.

comment:6 Changed 3 years ago by thejimmyg

  • Status changed from closed to reopened
  • Type changed from story to enhancement
  • Resolution wontfix deleted
  • Milestone changed from ckan-v1.3 to ckan-v1.4-sprint-3

We do have a requirement for this now. The job model has changed so that it is hidden from the user. We therefore want to know the timestamp the job started and the timestamp it finished. We'll therefore need migrations adding too.

comment:7 Changed 3 years ago by thejimmyg

  • Status changed from reopened to closed
  • Resolution set to duplicate

This will now be solved as part of the larger harvesting refactor. See #921.

Note: See TracTickets for help on using tickets.