Demolish repository processes
https://redmine.teklia.com/issues/5720
-
Remove
ProcessMode.Repository -
Create a data migration that:
- creates a new corpus named
Repository processes, with a description explaining that old Git import processes are migrated here - updates the mode of
Repositoryprocesses toWorkers, and the corpus ID to this new corpus
If there are no
Repositoryprocesses at all in the database, then it shouldn't do anything.This corpus is necessary since other process modes require a corpus to be set. We cannot just delete old repository processes, since they provide artifacts that may still be in use in some WorkerVersions. There are a few thousand versions relying on it right now on each of our instances.
- creates a new corpus named
-
Remove the
Process.revision_idcolumn -
Remove
revision_idfromCreateWorkerVersion, since it was only used by the tasks removed in tasks#188 (closed) -
Remove support for the revision ACL checks in the ACL mixins