From ed21d23885c2f112e5c5650e9436870b1ac99392 Mon Sep 17 00:00:00 2001 From: James Moger Date: Tue, 5 Jul 2011 17:32:45 -0400 Subject: [PATCH] Documentation. Added JavaDoc. Clarified repository access restriction. --- build.xml | 4 +- distrib/gitblit.properties | 4 + docs/01_features.mkd | 2 +- src/com/gitblit/GitBlit.java | 2 +- src/com/gitblit/utils/JGitUtils.java | 555 +++++++++++++++--- src/com/gitblit/wicket/pages/SummaryPage.java | 2 +- tests/com/gitblit/tests/JGitUtilsTest.java | 6 +- 7 files changed, 470 insertions(+), 105 deletions(-) diff --git a/build.xml b/build.xml index 5d386487..67c3910b 100644 --- a/build.xml +++ b/build.xml @@ -484,7 +484,7 @@ projectname="gitblit" filename="${distribution.zipfile}" targetfilename="gitblit-${gb.version}.zip" - summary="Standalone, integrated Gitblit server v${gb.version}" + summary="Gitblit GO v${gb.version} (standalone, integrated Gitblit server)" labels="Featured, Type-Package, OpSys-All" /> @@ -494,7 +494,7 @@ projectname="gitblit" filename="${distribution.warfile}" targetfilename="gitblit-${gb.version}.war" - summary="Gitblit WAR v${gb.version} for your servlet container" + summary="Gitblit WAR v${gb.version} (standard WAR webapp for servlet containers)" labels="Featured, Type-Package, OpSys-All" /> diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index 37fdd344..93b306a2 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -20,6 +20,10 @@ git.repositoriesFolder = git git.searchRepositoriesSubfolders = true # 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://. +# If you set this false, consider changing the [web.otherUrls] setting to +# indicate your clone/push urls. # # SINCE 0.5.0 git.enableGitServlet = true diff --git a/docs/01_features.mkd b/docs/01_features.mkd index 7c522a7c..f3b17071 100644 --- a/docs/01_features.mkd +++ b/docs/01_features.mkd @@ -1,7 +1,7 @@ ## Gitblit Features - JGit SmartHTTP servlet - Browser and git client authentication -- Four repository access control configurations with a Read-Only control flag +- Four *per-repository* access control configurations with a Read-Only control flag