Improve branch name error message
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
As a developer, when my branch name does not match the specified regular expression, I would like the attempted branch name in the error message so I can quickly resolve my errors.
Intended users
- Delaney (Development Team Lead)
- Sasha (Software Developer)
- Devon (DevOps Engineer)
- Sidney (Systems Administrator)
- Rachel (Release Manager)
- Simone (Software Engineer in Test)
User experience goal
The user should be able to quickly resolve branch name errors.
Proposal
When a branch name does not conform to the specified regular expression, include the attempted branch name in the error message.
Example error message for a cherry-picked branch name:
Branch name (
feat/X~ te$t !*
) does not follow the pattern '^((feature|personal)(-[a-z0-9]+){2,}|development|(cherry-pick-[a-z0-9]+))$'
Further details
Permissions and Security
Documentation
Availability & Testing
What does success look like, and how can we measure that?
What is the type of buyer?
Is this a cross-stage feature?
Links / references
Edited by 🤖 GitLab Bot 🤖