packages: gitolite/gitolite-gl_setup.patch - fix for initial config file wh...
draenog
draenog at pld-linux.org
Fri Jun 15 18:38:13 CEST 2012
Author: draenog Date: Fri Jun 15 16:38:13 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- fix for initial config file which includes other files
---- Files affected:
packages/gitolite:
gitolite-gl_setup.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/gitolite/gitolite-gl_setup.patch
diff -u packages/gitolite/gitolite-gl_setup.patch:1.3 packages/gitolite/gitolite-gl_setup.patch:1.4
--- packages/gitolite/gitolite-gl_setup.patch:1.3 Mon Jun 11 02:59:58 2012
+++ packages/gitolite/gitolite-gl_setup.patch Fri Jun 15 18:38:08 2012
@@ -47,3 +47,34 @@
--
1.7.11.rc2
+From 3a3761530bf059923ca3e04725dc70dea24c2d0a Mon Sep 17 00:00:00 2001
+From: Kacper Kornet <draenog at pld-linux.org>
+Date: Thu, 14 Jun 2012 13:20:04 +0100
+Subject: [PATCH] Commit all content of conf directory during initial setup
+
+So far only conf/gitolite.conf was committed to gitolie-admin repository
+during an initial setup. When initial gitolite.conf contained include
+directives it resulted in incomplete setup. However
+conf/gitolite.conf-compiled.pm should not be tracked so it has to be
+excluded explicitly.
+---
+ src/gl-setup | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/gl-setup b/src/gl-setup
+index 0395631..d4ffeaf 100755
+--- a/src/gl-setup
++++ b/src/gl-setup
+@@ -179,7 +179,8 @@ gl-compile-conf -q
+ [ -n "$pubkey_file" ] || [ -n "$GITOLITE_HTTP_HOME" ] && { RERUN_GL_INSTALL=1; (
+ cd $HOME; cd $REPO_BASE/gitolite-admin.git
+ GIT_WORK_TREE=$GL_ADMINDIR; export GIT_WORK_TREE
+- git add conf/gitolite.conf keydir
++ git add conf keydir
++ git rm --cached conf/gitolite.conf-compiled.pm
+ git config --get user.email >/dev/null || git config user.email $USER@`hostname`
+ git config --get user.name >/dev/null || git config user.name "$USER on `hostname`"
+ git diff --cached --quiet 2>/dev/null || git commit -am "gl-setup $args"
+--
+1.7.11.rc3
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/gitolite/gitolite-gl_setup.patch?r1=1.3&r2=1.4
More information about the pld-cvs-commit
mailing list