HomeSoftware Heritage

Refactor swh/scheduler/updater as well

Description

Refactor swh/scheduler/updater as well

  • use the same config system as the main backend, with the same conventions,
  • do not make SchedulerUpdaterBackend inherit from DbBackend, use a simple association, similar to the SchedulerBackend class,
  • refactor the ghtorrent the same (explicit config),
  • same for the updater writer
  • move their main functions in cli.py
  • adapt tests accordingly

Details

Provenance
douarddaAuthored on Jan 29 2019, 2:29 PM
douarddaPushed on Jan 30 2019, 11:54 AM
Differential Revision
D1028: Refactor swh/scheduler/updater as well
Parents
rDSCH48e537261b2b: Fix tests for the scheduler and the API
Branches
Unknown
Tags
Unknown
Build Status
Buildable 3854
Build 5046: test-and-build