HomeSoftware Heritage

Refactor swh/scheduler/updater as well

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

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
Build Status
Buildable 3854
Build 5046: test-and-build

Commit No Longer Exists

This commit no longer exists in the repository.