summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-05-21 22:00:43 +0200
committerlassulus <lass@aidsballs.de>2015-05-21 22:00:43 +0200
commit162a99f14c59aa518ebe85adfae016da0373a57c (patch)
tree21f89d00aa9101e78c81fb063148f853a6e9ed77
parentd2c9cd4e0c667a42f7992e5c8c6960f647b13b38 (diff)
uriel: update gitolite test stuff
-rw-r--r--modules/uriel/default.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/modules/uriel/default.nix b/modules/uriel/default.nix
index 367a284..a07972c 100644
--- a/modules/uriel/default.nix
+++ b/modules/uriel/default.nix
@@ -55,9 +55,11 @@
RW+ = lass
R = tv
R = makefu
+ option hook.post-receive = irc-announce
repo brain
- RW+ = lass
+ RW+ = uriel
+ R = lass
R = tv
R = makefu
option hook.post-receive = irc-announce
@@ -83,6 +85,10 @@
RW+ = lass
RW+ = uriel
option hook.post-receive = irc-announce
+
+ repo teeest
+ RW+ = lass
+ option hook.post-receive = irc-announce
'';
rc = ''
@@ -140,8 +146,10 @@
# CAVEAT beware of real TABs in grep pattern!
# CAVEAT there will never be more than 42 relevant log entries!
- log="$(tail -n 42 "$GL_LOGFILE" | grep "^[^ ]* $GL_TID ")"
- update_log="$(echo "$log" | grep "^[^ ]* $GL_TID update")"
+ tab=$(printf '\x09')
+ log="$(tail -n 42 "$GL_LOGFILE" | grep "^[^$tab]*$tab$GL_TID$tab" || :)"
+
+ update_log="$(echo "$log" | grep "^[^$tab]*$tab$GL_TID''${tab}update")"
# (debug output)
env | sed 's/^/env: /'