summaryrefslogtreecommitdiff
path: root/www/generate/src/stagit
diff options
context:
space:
mode:
authorHayden Hamilton <hayden@hhvn.uk>2026-09-14 19:59:11 +0100
committerHayden Hamilton <hayden@hhvn.uk>2026-09-14 19:59:11 +0100
commit06adabffe759eafcd3932e98b0395dcbd95bc16c (patch)
treefee8edf0150b049849f870b08495b26045dea272 /www/generate/src/stagit
parentda348e3d7b56df2bf5bb243405d7a44eda893c79 (diff)
Switched to cgit -> remove stagit scripts
Diffstat (limited to 'www/generate/src/stagit')
-rwxr-xr-xwww/generate/src/stagit29
1 files changed, 0 insertions, 29 deletions
diff --git a/www/generate/src/stagit b/www/generate/src/stagit
deleted file mode 100755
index b884816..0000000
--- a/www/generate/src/stagit
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/rc
-
-domain = $1
-if (~ $domain ()) {
- domain = `hostname
-}
-
-gitdir = /var/git
-wwwdir = /var/www/htdocs/src.$domain
-
-stagit-index $gitdir/* | \
- sed 's/<td><b>Owner<\/b><\/td>//' | \
- sed 's/<td><\/td>//' \
- > $wwwdir/index.html
-
-for (repo in $gitdir/*) {
- base = `{basename $repo}
- echo GEN src.$domain $base
-
- mkdir -p $wwwdir/$base
- cd $wwwdir/$base
- stagit -c .cache -u 'https://src.$domain/'$base $repo
- if (!test -e index.html) {
- ln -s log.html index.html
- }
- if (!test -e style.css) {
- ln -s ../style.css style.css
- }
-}