Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-3975

Ability to enforce naming convention for projects and repositories

    • Icon: Suggestion Suggestion
    • Resolution: Answered
    • None
    • Administration
    • None
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      In order to have sensible names for projects and repositories, we would like to enforce naming conventions at the time of creation.

      In our case:

      We would like capitalised, space separated project names, eg: Moon Landing
      We would like hyphen separated repository names: eg: sea-of-tranquility

            [BSERV-3975] Ability to enforce naming convention for projects and repositories

            Please consider this again.  In my case, people are creating spaces in repo names which makes URLs inconvienient (%20) and API usage and parsing difficult for some things.  Just because Bill Gates create "Program Files" doesn't make it a good idea

            Daniel Holmes added a comment - Please consider this again.  In my case, people are creating spaces in repo names which makes URLs inconvienient (%20) and API usage and parsing difficult for some things.  Just because Bill Gates create "Program Files" doesn't make it a good idea

            jens added a comment -

            Thanks for the suggestion. It is possible to create a plugin to enforce conventions like the one you've suggested. For more details, take a look at the following article that describes the ProjectCreationRequestedEvent in Stash: ProjectCreationRequestedEventhttps://answers.atlassian.com/questions/95900/same-projects-across-stash-and-jira-and-other-atlassian-products

            Cheers,
            Jens

            jens added a comment - Thanks for the suggestion. It is possible to create a plugin to enforce conventions like the one you've suggested. For more details, take a look at the following article that describes the ProjectCreationRequestedEvent in Stash: ProjectCreationRequestedEventhttps://answers.atlassian.com/questions/95900/same-projects-across-stash-and-jira-and-other-atlassian-products Cheers, Jens

              Unassigned Unassigned
              4fe49474baee UNIX Services
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: