Project and Repository Naming Standards Enforcement

This built-in listener allows you to easily enforce naming standards for projects and repositories. Define a regular expression for either or both project and repository names. For example:

  • enforce project names are at least ten characters, and begin with an upper-case character

  • ensure repository names are all characters in the range [a-z] you might use:

When a project is created that doesn’t conform to the rules, it will be blocked like this:

If you need greater control, it’s easy to write your own naming rule listener.

Enforce Branch and Tag Naming Standards

This listener is deprecated. Please use pre-receive hook instead.

On this page