Repo containing scripts to be used with dovel, and git hooks that powers our web interface.
Author: blmayer (bleemayer@gmail.com)
Date: Tue Nov 7 12:15:40 2023 -0300
Parent: 3d8d289
Removed unused scripts
diff --git a/README.md b/README.md index bdd49af..0cdacd6 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,18 @@ # Dovel Scripts -This repo has shell scripts that are part of the dovel project, some are meant only for deployment on our website. Some explanation: +This repo has shell scripts that are part of the dovel project, some are meant +only for deployment on our website. Some explanation: - post-receive: git hook to build html pages -- update*: used by git to creat html pages - receive-localhost: saves emails and create html pages +The other scripts are auxiliary. + ## Contributing -Scripts are super welcome, as well as full programs to be compiled. Add here anything that may help saving emails the way you like. +Scripts are super welcome, as well as full programs to be compiled. +Add here anything that may help saving emails the way you like. + +To submit patches please follow the instructions on the [git home](/git.html) +page.
diff --git a/example-1.mbox b/example-1.mbox deleted file mode 100644 index 183906e..0000000 --- a/example-1.mbox +++ /dev/null @@ -1,10 +0,0 @@ -From derp.herp@example.com Thu Jan 1 00:00:01 2015 -From: derp.herp@example.com (Derp Herp) -To: test@localhost -Date: Thu, 02 Jan 2015 00:00:01 +0100 -Subject: Another test - -This is another simple test. - -Bye. -
diff --git a/update-repo-tree b/update-repo-tree
deleted file mode 100755
index 395757a..0000000
--- a/update-repo-tree
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-
-# for debugging
-# set -ex
-echo "updating git tree"
-
-. ./hooks/aux.sh
-
-OUT="$HOME/www/dovel.email/$REPO"
-createfilepage() {
- cat <<- EOF
- $(pagehead "$REPO")
- $(pagesummary)
- <hr>
- <h2>$1</h2>
- <file>
- <pre>
- <ol>
- EOF
-
- # print file
- while IFS= read -r l
- do
- printf "<li>%s</li>\n" "$(escapehtml "$l")"
- done < "$OUT/tree/$1"
-
- echo "</ol>\n</pre>\n</file>\n</body>\n</html>"
-}
-
-echo "creating tree.html"
-cat << EOF > "$OUT/tree.html"
- $(pagehead "$REPO")
- $(pagesummary)
- <hr>
- <h2>Tree</h2>
- <table>
- <tr><th>Size</th><th>Name</th><th>Raw</th></tr>
-EOF
-
-(cd "$OUT/tree" && find * -type f -printf '%s %p\n') | while read -r s f
-do
- echo "updating file $f"
-
- cat <<- EOF >> "$OUT/tree.html"
- <tr>
- <td>$s</td>
- <td><a href=tree/$f.html>$f</a></td>
- <td><a href=tree/$f>raw</a></td>
- </tr>
- EOF
- createfilepage "$f" > "$OUT/tree/$f.html"
-done
-cat << EOF >> "$OUT/tree.html"
-</table>
-</body>
-</html>
-EOF