summary refs log tree commit diff
path: root/www/git.causal.agency/cgit/tests/setup.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-20 13:33:37 -0500
committerJune McEnroe <june@causal.agency>2021-01-20 13:33:37 -0500
commit897cc5db68046d60abdc898a6aeaacf60d5e9fcd (patch)
tree5a66cca93b32b4f8ca874d9b9c21add75a943539 /www/git.causal.agency/cgit/tests/setup.sh
parentFix tests for diff spans (diff)
downloadsrc-897cc5db68046d60abdc898a6aeaacf60d5e9fcd.tar.gz
src-897cc5db68046d60abdc898a6aeaacf60d5e9fcd.zip
Remove Lua support
Lua support is unused and the dlsym fwrite/write hacks horrify me.
Clean it up.
Diffstat (limited to '')
-rwxr-xr-xwww/git.causal.agency/cgit/tests/setup.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/www/git.causal.agency/cgit/tests/setup.sh b/www/git.causal.agency/cgit/tests/setup.sh
index 5879348e..9a85d3a2 100755
--- a/www/git.causal.agency/cgit/tests/setup.sh
+++ b/www/git.causal.agency/cgit/tests/setup.sh
@@ -60,12 +60,6 @@ fi
 
 FILTER_DIRECTORY=$(cd ../filters && pwd)
 
-if cgit --version | grep -F -q "[+] Lua scripting"; then
-	export CGIT_HAS_LUA=1
-else
-	export CGIT_HAS_LUA=0
-fi
-
 mkrepo() {
 	name=$1
 	count=$2
@@ -140,19 +134,6 @@ repo.email-filter=exec:$FILTER_DIRECTORY/dump.sh
 repo.source-filter=exec:$FILTER_DIRECTORY/dump.sh
 repo.readme=master:a+b
 EOF
-
-	if [ $CGIT_HAS_LUA -eq 1 ]; then
-		cat >>cgitrc <<EOF
-repo.url=filter-lua
-repo.path=$PWD/repos/filter/.git
-repo.desc=filtered repo
-repo.about-filter=lua:$FILTER_DIRECTORY/dump.lua
-repo.commit-filter=lua:$FILTER_DIRECTORY/dump.lua
-repo.email-filter=lua:$FILTER_DIRECTORY/dump.lua
-repo.source-filter=lua:$FILTER_DIRECTORY/dump.lua
-repo.readme=master:a+b
-EOF
-	fi
 }
 
 cgit_query()