kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 5d69879d87e5869740713d43e81a961d14e164a1
parent d67763273242089d37d336c1b954493ae8c58bbc
Author: Joris Vink <joris@coders.se>
Date:   Thu,  5 Jan 2023 09:25:06 +0100

Shuffle stuff around in the hook.

Diffstat:
misc/hooks/post-receive | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/misc/hooks/post-receive b/misc/hooks/post-receive @@ -23,6 +23,8 @@ while read oldrev newrev ref; do fi done +git update-server-info + ROOT=/var/chroot/kore-site TARGET=$ROOT/stagit STATIC=$HOME/src/stagit_static @@ -33,15 +35,13 @@ STAGING=`mktemp -d` function update_stagit { mkdir -p $STAGING/$1 pushd $STAGING/$1 - stagit-index > index.html + stagit-index $2 > index.html cp -R $2 ${STAGING}/${1}.git chmod -R +rx ${STAGING}/${1}.git popd } -git update-server-info - update_stagit kore /home/git/kore.git cp -R $STATIC/* $STAGING