summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie <root@memberwebs.com>2010-08-24 20:04:53 +0000
committerCharlie <root@memberwebs.com>2010-08-24 20:04:53 +0000
commit8b5ecd8d975d79a96343abc1fb5453bedbb8f972 (patch)
tree8a20159e5a45a8b75ba7f58f7b66c62935fcb484
parenta672ed8caa6ea75b2f3b4857e8ffafd3d737456d (diff)
Commit some old changes
-rwxr-xr-xcheck-rev-policy2
-rwxr-xr-xinstall-repos12
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 <<EOF >&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