]> source.dussan.org Git - gitblit.git/commitdiff
Documentation
authorJames Moger <james.moger@gitblit.com>
Wed, 24 Jul 2013 15:50:50 +0000 (11:50 -0400)
committerJames Moger <james.moger@gitblit.com>
Wed, 24 Jul 2013 15:50:50 +0000 (11:50 -0400)
src/site/setup_client.mkd
src/site/setup_express.mkd

index 684cba215abfc3b2fc722144ece927ca15e3328c..e72751a1a440de3934a31e322c4f2f63c25e87b7 100644 (file)
@@ -28,7 +28,7 @@ You may run into SNI alerts (Server Name Indication).  These will manifest as fa
 \r
 #### Java-based Clients\r
 \r
-When using Java 7-based clients, SNI is enabled by default.  You can disable SNI by specifying the JVM system parameter `-Djsse.enableSNIExtension=false` when your Java-based client launches.\r
+Luckily, Java 6-based clients ignore SNI alerts but when using Java 7-based clients, SNI checking is enabled by default.  You can disable SNI alerts by specifying the JVM system parameter `-Djsse.enableSNIExtension=false` when your Java-based client launches.\r
 \r
 For Eclipse, you can append `-Djsse.enableSNIExtension=false` to your *eclipse.ini* file.\r
 \r
index 6753542ccbd3c30db78a64aabb5dba1008ade6e8..cf3ef6590ca1bca870f81e0f3be50392d12f994d 100644 (file)
@@ -10,6 +10,10 @@ as Gitblit Express is not a source distribution to be built with Maven on OpenSh
 Gitblit automatically adjusts itself to running on OpenShift.  Repositories, users,\r
 federation proposals, setting overrides, and Groovy push scripts are stored in *OPENSHIFT_DATA_DIR*.\r
 \r
+### Recommended Settings\r
+\r
+You should disable the git daemon by setting *git.daemonPort=0*.\r
+\r
 It is recommended to enable all RPC settings in the `web.xml` file to allow remote\r
 administration and, more importantly, configuration of your Gitblit Express\r
 installation using the Gitblit Manager.\r
@@ -25,16 +29,20 @@ doing:
 - *groovy.scriptsFolder*\r
 - *federation.proposalsFolder*\r
 - *realm.userService* (for standard users.conf)\r
\r
-Additionally, it is recommended to force your Gitblit installation to cleanup up\r
-older versions on your OpenShift filesystem to maximize available space for your\r
-repositories.\r
 \r
-Append the following command to your ./openshift/action_hooks/build file:\r
+### Native Git Failures\r
+\r
+Unfortunately, sometime in early 2013 RedHat changed their SSL certificate such that cloning from/pushing to Gitblit Express over https fails due to an SNI (server name indication) TLS alert.  There is no known workaround for native git and https.\r
+\r
+However, if your git client is JGit-based, like Eclipse/EGit, then you can workaround this problem and happily push/clone using https and OpenShift.\r
+\r
+Luckily, Java 6-based clients ignore SNI alerts but when using Java 7-based clients, SNI checking is enabled by default.  You can disable SNI alerts by specifying the JVM system parameter `-Djsse.enableSNIExtension=false` when your Java-based client launches.\r
+\r
+For Eclipse, you can append `-Djsse.enableSNIExtension=false` to your *eclipse.ini* file.\r
 \r
-    rm -fr $OPENSHIFT_APP_DIR/jbossas-7.0/standalone/tmp/vfs/*\r
+### Heap and PermGen\r
 \r
-Lastly, you may want to play with the heap and permgen settings of your Gitblit\r
+You may want to play with the heap and permgen settings of your Gitblit\r
 instance because the default heap for the JVM is 95 MB, which may be a little\r
 tight.\r
 \r