summaryrefslogtreecommitdiffstats
path: root/config/configuration.yml.example
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-08 10:52:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-08 10:52:59 +0000
commit13f9ccaed853654df5cfb990884345b513f0b88c (patch)
tree7e7bc0be36a46b5e87032e89862f56894f68f422 /config/configuration.yml.example
parent34bb545e4f327d24bd81a0bdb4ec02c6fb6ee0e7 (diff)
downloadredmine-13f9ccaed853654df5cfb990884345b513f0b88c.tar.gz
redmine-13f9ccaed853654df5cfb990884345b513f0b88c.zip
Adds configuration settings to limit valid repository path (#1415).
git-svn-id: http://svn.redmine.org/redmine/trunk@13573 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/configuration.yml.example')
-rw-r--r--config/configuration.yml.example27
1 files changed, 27 insertions, 0 deletions
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: