git_infra

Git infra scripts for git.bracken.jp
git clone https://git.bracken.jp/git_infra.git
Log | Files | Refs | LICENSE

commit b4e3793c642da241efc3efdac78ef05ded990827
parent a92032c0973490e298274eb9653bce505a1cc06b
Author: Chris Bracken <chris@bracken.jp>
Date:   Sun, 29 Aug 2021 00:58:08 +0000

Set stagit output path relative to jail root

Previously, this was set as a global path on the server itself. We now
generate the static pages from within the jail.

Diffstat:
Mpost-receive.d/stagit | 2+-
Mrebuild_all.sh | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/post-receive.d/stagit b/post-receive.d/stagit @@ -3,7 +3,7 @@ export LC_CTYPE="en_US.UTF-8" # HTML root directory into which stagit will write. -www_root="/jails/git_bracken_jp/usr/local/www/git.bracken.jp" +www_root="/usr/local/www/git.bracken.jp" # Hooks are called from the repo directory. repo_dir=$(pwd) diff --git a/rebuild_all.sh b/rebuild_all.sh @@ -1,7 +1,7 @@ #!/bin/sh -e # HTML root directory into which stagit will write. -www_root="/jails/git_bracken_jp/usr/local/www/git.bracken.jp" +www_root="/usr/local/www/git.bracken.jp" # The directory under which all repos are located. # Repos under this directory will be added to the repo index page.