Rationalize task type names
As of today, there is no naming convention for task types, so we have:
- indexer_fossology_license & friends,
- origin-update-git and friends,
- swh-deposit-archive-checks (...)
- swh-lister-debian (...)
- swh-vault-cooking
It would be nice to have a common naming scheme there.
Actions to take:
-
rename old task names to new ones in swh codebase -
add new task types in production database -
tag and deploy impacted components: -
swh-lister -
swh-scheduler -
swh-deposit -
swh-web -
swh-vault -
swh-indexers
-
-
rename type column in production task table -
restart scheduler runner (stopped to ease data migration) ~> that needed a fix (hot for now), a diff is on its way -
remove sql code to keep backward compatibility task names in swh-scheduler
Migrated from T1508 (view on Phabricator)
Edited by Phabricator Migration user