Skip to content

Remove Repository, Revision and GitRef models

Valentin Rigal requested to merge drop-repo-rev-refs into master

Closes #1805 (closed)

Noticeable changes:

  • The latest WorkerVersion from a master build is not visible by default.
  • Slug is not unique for workers anymore (was for a similar repo). Creation behavior (returns a worker if slug exists + write access) is a bit misleading.

Please note the migration is not reversible, because of the XOR contraint.

Also I got a missing constraint in my DB ("workerversion_revision_xor_version"), but most certainly due to a migration I missed (I had 2 other constraints, doing the same thing).

Edited by Valentin Rigal

Merge request reports