Repo containing scripts to be used with dovel, and git hooks that powers our web interface.
Author: brian (git@myr.sh)
Date: Fri Sep 29 16:32:05 2023 -0300
Parent: f74e1f6
Some adjustments
diff --git a/post-receive-scripts b/post-receive-scripts index 43a0a8b..7ddf746 100755 --- a/post-receive-scripts +++ b/post-receive-scripts @@ -42,7 +42,6 @@ done . ./hooks/update-git-index . ./hooks/update-repo-index . ./hooks/update-repo-refs - . ./hooks/update-repo-tree . ./hooks/update-repo-log diff --git a/update-repo-index b/update-repo-index index a7e0389..1ab3ac9 100755 --- a/update-repo-index +++ b/update-repo-index @@ -10,7 +10,7 @@ OUT="$HOME/www/dovel.email/$REPO" # archives echo "creating archives" -tar -C "$OUT" cz tree/ --xform="s/tree/$REPO/" > "$OUT.tar.gz" +tar -C "$OUT" -cz tree/ --xform="s/tree/$REPO/" > "$OUT.tar.gz" echo "creating index.html" cat << EOF > "$OUT/index.html" diff --git a/update-repo-log b/update-repo-log index cc32eae..afa0b37 100755 --- a/update-repo-log +++ b/update-repo-log @@ -70,7 +70,7 @@ do read -r name read -r msg - # [ -f "$OUT/log/$h.html" ] && break + [ -f "$OUT/log/$h.html" ] && break echo "creating commit page $h" cat <<- EOF >> "$OUT/log.html"