summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
Diffstat (limited to 'repo')
-rw-r--r--repo/config4
-rwxr-xr-xrepo/upload29
2 files changed, 31 insertions, 2 deletions
diff --git a/repo/config b/repo/config
index 9e491fef..93d3bd6d 100644
--- a/repo/config
+++ b/repo/config
@@ -8,9 +8,9 @@
owner = esr dbrashear remco nelsonrn garyemiller ckuethe wkazubski marr jfrancis mick_durkin bzed gdt mledford
[hooks]
mailinglist = gpsd-commit-watch@lists.berlios.de
- announcelist = gpsd-dev@lists.berlios.de
+ announcelist = gpsd-announce@lists.berlios.de
envelopesender = gpsd-dev@lists.berlios.de
- emailprefix = [GIT]
+ emailprefix = ""
allowunannotated = true
allowdeletebranch = true
denycreatebranch = false
diff --git a/repo/upload b/repo/upload
new file mode 100755
index 00000000..93f6372e
--- /dev/null
+++ b/repo/upload
@@ -0,0 +1,29 @@
+#!/bin/bash
+#
+# Upload git configuration from here to the repo
+#
+confdir=git.berlios.de:/gitroot/gpsd/
+
+# Get around the ssh lockout on git.berlios.de by copying up to
+# shell.berlios.de and doing a local move. Written so the last
+# move is atomic.
+copy()
+{
+ scp $1 $LOGNAME@shell.berlios.de:STAGE
+ ssh $LOGNAME@shell.berlios.de "mv -f STAGE /gitroot/gpsd; cp /gitroot/gpsd/STAGE /gitroot/gpsd/$1"
+}
+
+
+if [ $1 ]
+then
+ for f in $*; do scp $f $confdir/$f; done
+else
+ scp config $confdir
+ for file in hooks/*
+ do
+ copy $file $confdir/hooks
+ done
+fi
+
+# End
+