stable

Clone or download

Read-only

[feature] Better handling of create branch prefix checks

This is part of story #21336: create a development branch on GitLab out of an artifact. Some valid prefixes like "dev/" are not considered valid because the validator validates a whole branch name. So to avoid that, a fake branch_name is added to the prefix to do the checks. Change-Id: I17a8d1917f34c0d3a105307d8196db1b7b765757

Modified Files

Name
M plugins/gitlab/include/Artifact/Action/CreateBranchPrefixUpdater.php +3 −1 Go to diff View file
M plugins/gitlab/tests/unit/Artifact/Action/CreateBranchPrefixUpdaterTest.php +29 −0 Go to diff View file