From eb870fc034460c2bab69039b21049d332a002ca1 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 10 Aug 2012 17:46:11 -0400 Subject: [PATCH] Submodules support --- distrib/gitblit.properties | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index 0923c41..836ac05 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -37,6 +37,18 @@ # SINCE 1.0.1 git.searchExclusions = +# List of regex url patterns for extracting a repository name when locating +# submodules. +# e.g. git.submoduleUrlPatterns = .*?://github.com/(.*) will extract +# *gitblit/gitblit.git* from *git://github.com/gitblit/gitblit.git* +# If no matches are found then the submodule repository name is assumed to be +# whatever trails the last / character. (e.g. gitblit.git). +# +# SPACE-DELIMITED +# CASE-SENSITIVE +# SINCE 1.0.1 +git.submoduleUrlPatterns = .*?://github.com/(.*) + # Allow push/pull over http/https with JGit servlet. # If you do NOT want to allow Git clients to clone/push to Gitblit set this # to false. You might want to do this if you are only using ssh:// or git://. @@ -62,6 +74,14 @@ # # SINCE 1.0.0 git.defaultAccessRestriction = NONE + +# The default authorization control for new repositories. +# Valid values are AUTHENTICATED and NAMED +# AUTHENTICATED = any authenticated user is granted restricted access +# NAMED = only named users/teams are granted restricted access +# +# SINCE 1.0.1 +git.defaultAuthorizationControl = NAMED # Number of bytes of a pack file to load into memory in a single read operation. # This is the "page size" of the JGit buffer cache, used for all pack access @@ -789,6 +809,8 @@ # # URL of the LDAP server. +# To use encrypted transport, use either ldaps:// URL for SSL or ldap+tls:// to +# send StartTLS command. # # SINCE 1.0.0 realm.ldap.server = ldap://localhost -- Gitblit v1.9.1