Skip to content

Prevent builds from getting moved to dynamic groups - #4095

Open
williamjallen wants to merge 1 commit into
Kitware:masterfrom
williamjallen:no-move-to-dynamic-groups
Open

williamjallen wants to merge 1 commit into
Kitware:masterfrom
williamjallen:no-move-to-dynamic-groups

Conversation

@williamjallen

Copy link
Copy Markdown
Collaborator

Builds are supposed to be assigned to exactly one "regular" build group, and dynamic build groups are supposed to have no associated builds. Various parts of the codebase are inconsistent about this, and unintentionally make it seem as if it's possible to reassign builds to dynamic groups. This fixes the issue by adding checks to ensure users can only move builds between "regular" build groups. I plan to follow this with a separate PR which addresses builds which are incorrectly assigned to dynamic groups.

Builds are supposed to be assigned to exactly one "regular" build group, and dynamic build groups are supposed to have no associated builds.  Various parts of the codebase are inconsistent about this, and unintentionally make it seem as if it's possible to reassign builds to dynamic groups.  This fixes the issue by adding checks to ensure users can only move builds between "regular" build groups.  I plan to follow this with a separate PR which addresses builds which are incorrectly assigned to dynamic groups.
@williamjallen

Copy link
Copy Markdown
Collaborator Author

Looking for a double review on this. @josephsnyder, a standard review. @zackgalbreath, a brief check to make sure the big-picture idea makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants