Page MenuHomeSoftware Heritage

deposit: Admin tool to reschedule deposits
Closed, MigratedEdits Locked

Description

As per the parent child T1693#31350, we need a tool to ease the re-scheduling of deposits.

Impacts:

  • (deposit model) keep the scheduling task identifier deposit side. (This is an information we can store at scheduling time. This in order to avoid any scheduler db lookup.)
  • new admin cli endpoint in charge of rescheduling. This would orchestrate:
    • the db record change needed (state needs to be reset: status set to 'verified', swh_id(s) set to null)
    • effective task rescheduling (reusing the deposit's reference ids from the first point)