From 8b5ecd8d975d79a96343abc1fb5453bedbb8f972 Mon Sep 17 00:00:00 2001 From: Charlie Date: Tue, 24 Aug 2010 20:04:53 +0000 Subject: Commit some old changes --- check-rev-policy | 2 +- install-repos | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/check-rev-policy b/check-rev-policy index d0c1630..52e427c 100755 --- a/check-rev-policy +++ b/check-rev-policy @@ -24,7 +24,7 @@ EOF subj="`git log $commit -1 --pretty=format:%s`" case "$subj" in - *Merge\ branch*of*[gs][is][th]\:*) + *XXXXMerge\ branch*of*[gs][is][th]\:*) cat <&2 --- The commit: diff --git a/install-repos b/install-repos index d070ba1..ce8532a 100755 --- a/install-repos +++ b/install-repos @@ -17,10 +17,10 @@ for git in $REPOS; do echo $name # Prepare the repository - chown -R www:www . + chown -R stef:wheel . ln -sf $git $DIR/$simple - find . -type f -print0 | xargs -0 chmod 660 - find . -type d -print0 | xargs -0 chmod 770 + find . -type f -print0 | xargs -0 chmod 664 + find . -type d -print0 | xargs -0 chmod 775 # Install hooks for hook in $HOOKS; do @@ -28,9 +28,12 @@ for git in $REPOS; do done # Repository settings - git config core.sharedRepository=0660 || true + git config core.sharedRepository=0664 || true git config receive.denyNonFastforwards=true || true touch git-daemon-export-ok + if [ ! -f git-receive-allow ]; then + touch git-receive-allow + fi # Add to cgit list ( @@ -40,6 +43,7 @@ for git in $REPOS; do echo "repo.url=$simple" echo "repo.path=$git" echo "repo.desc=$simple" + echo "repo.owner=stef@memberwebs.com" fi echo ) >> $DIR/cgit-repo-rc -- cgit v1.2.3