commit: ff895baa1c8ce3724b6e366346998f048c07ef9c
parent: ea14be22c94f7aac7d9513e95983a0ec31db8825
author: Chris Noxz <chris@noxz.tech>
date: Tue, 10 Mar 2020 11:06:15 +0100
Remove git graph, and replace with 5 more entries from the log
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/build-git.sh b/build-git.sh
@@ -61,10 +61,11 @@ find "${basedir_git}/." -name "*.html" -type f -print0 | \
-e 's,="[^a-zA-Z0-9]*logo.png",="/pub/logo.svg",g' \
-e 's,="[^a-zA-Z0-9]*favicon.png",="/pub/logo.png",g'
-> $basedir/repo-graph
-printf '<h2>Commits in the last year</h2>\n' > $basedir/repo-graph
-repo-graph -s $reposdir/* >> $basedir/repo-graph
+#> $basedir/repo-graph
+#printf '<h2>Commits in the last year</h2>\n' > $basedir/repo-graph
+#repo-graph -s $reposdir/* >> $basedir/repo-graph
+printf '<h2>Latest commits</h2>\n' > $basedir/repo-graph
log=""
for x in $reposdir/*
do
@@ -84,7 +85,7 @@ done
echo "$log" \
| sort -r \
-| sed 10q \
+| sed 15q \
| sed -e 's/^[^:]*://g' \
| awk '
BEGIN {