feat: add metrics for repository migration status
Adds a gauge to track migration status.
changes are treated like transactions (eg. PreImportInProgress -> PreImportComplete) so that there is always have a reliable snapshot of the active repositories.
Note: repositories with import status RepositoryStatusNative
are not tracked.
Closes #512 (closed)
Edited by feistel