runbot icon indicating copy to clipboard operation
runbot copied to clipboard

[IMP] runbot: reinforce version

Open d-fence opened this issue 1 year ago • 0 comments

When updating a bundle and changing the is_base field to True, it creates a new version based on the bundle name. This can potentially breaks builds and moreover, it can breaks the whole runbot when a duplicate version name is created.

With this commit:

  • a constraint on the version name uniqueness is added
  • the is_base field is hidden in the interface when the bundle name does not match the regular expression defined in the settings
  • a version cannot be created by the compute version if the bundle name does not match the above mentioned regular expression

d-fence avatar Feb 20 '24 15:02 d-fence