From 13f9ccaed853654df5cfb990884345b513f0b88c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 8 Nov 2014 10:52:59 +0000 Subject: Adds configuration settings to limit valid repository path (#1415). git-svn-id: http://svn.redmine.org/redmine/trunk@13573 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/configuration.yml.example | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'config/configuration.yml.example') diff --git a/config/configuration.yml.example b/config/configuration.yml.example index da209f0bd..e6a8c6e20 100644 --- a/config/configuration.yml.example +++ b/config/configuration.yml.example @@ -108,6 +108,33 @@ default: scm_bazaar_command: scm_darcs_command: + # SCM paths validation. + # + # You can configure a regular expression for each SCM that will be used to + # validate the path of new repositories (eg. path entered by users with the + # "Manage repositories" permission and path returned by reposman.rb). + # The regexp will be wrapped with \A \z, so it must match the whole path. + # And the regexp is case sensitive. + # + # You can match the project identifier by using %project% in the regexp. + # + # You can also set a custom hint message for each SCM that will be displayed + # on the repository form instead of the default one. + # + # Examples: + # scm_subversion_path_regexp: file:///svnpath/[a-z0-9_]+ + # scm_subversion_path_info: SVN URL (eg. file:///svnpath/foo) + # + # scm_git_path_regexp: /gitpath/%project%(\.[a-z0-9_])?/ + # + scm_subversion_path_regexp: + scm_mercurial_path_regexp: + scm_git_path_regexp: + scm_cvs_path_regexp: + scm_bazaar_path_regexp: + scm_darcs_path_regexp: + scm_filesystem_path_regexp: + # Absolute path to the SCM commands errors (stderr) log file. # The default is to log in the 'log' directory of your Redmine instance. # Example: -- cgit v1.2.3