mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
Adds configuration settings to limit valid repository path (#1415).
git-svn-id: http://svn.redmine.org/redmine/trunk@13573 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user