starting new job...
→ running command: dir='/etc/byggsteg/job-clone//wip-site/trunk'
branch='trunk'
if ! command -v git >/dev/null 2>&1; then
echo 'byggsteg: git is not on this deployment PATH, so the clone cannot be updated' >&2
exit 1
fi
if ! cd "$dir"; then
echo "byggsteg: cannot enter the clone $dir" >&2
exit 1
fi
root=$(git rev-parse --show-toplevel 2>/dev/null)
if [ "$root" != "$(pwd -P)" ]; then
echo "byggsteg: $dir is not a git checkout; remove it and the next run clones it again" >&2
exit 1
fi
if ! origin=$(git remote get-url origin 2>/dev/null); then
echo "byggsteg: $dir has no origin remote to fetch $branch from" >&2
exit 1
fi
before=$(git rev-parse --short HEAD 2>/dev/null) || before=none
attempt=1
while :; do
if GIT_TERMINAL_PROMPT=0 git fetch --quiet origin "+refs/heads/$branch:refs/remotes/origin/$branch"; then
break
fi
if [ "$attempt" -ge 3 ]; then
echo "byggsteg: could not fetch $branch from $origin after 3 attempts; is the branch still there, and is the remote reachable?" >&2
exit 1
fi
echo "byggsteg: fetching $branch from $origin failed; retrying in $((attempt * 2))s" >&2
sleep $((attempt * 2))
attempt=$((attempt + 1))
done
if ! git checkout --quiet --force -B "$branch" FETCH_HEAD; then
echo "byggsteg: fetched $branch from $origin but could not check it out" >&2
exit 1
fi
after=$(git rev-parse --short HEAD)
if [ "$before" = "$after" ]; then
echo "byggsteg: $branch was already at $after"
else
echo "byggsteg: $branch moved from $before to $after"
fi
byggsteg: trunk moved from b746760 to 6bb30cc
✓ command finished in 0.60s
→ running command: cd /etc/byggsteg/job-clone/wip-site/trunk && uname -a
Linux wolk-jjba 7.2.11-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
✓ command finished in 0.01s
→ running command: cd /etc/byggsteg/job-clone/wip-site/trunk && git log --name-status HEAD^..HEAD
commit 6bb30cc88a5a9a4c0f2776e3a82453d4fd2e434c
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Sat Nov 14 00:16:17 2026 +0100
docs: add a VISION document
Argues for a single-file bundle, a budget in the repository checked in CI, and
a page that can state its own outage honestly, while keeping the two-file
artefact that has no build, no JavaScript and no network request. Names the
states not yet covered — print, forced colours, long outages, other languages —
and compares the page with uptime monitors, hosted status pages and stock
server error documents.
Documentation only; no code, build, test or configuration change.
🤖 Generated with ECA (https://eca.dev)
A VISION.md
✓ command finished in 0.01s
→ running command: cd /etc/byggsteg/job-clone/wip-site/trunk && sudo maak deploy
--------------------------------------------------------------
Maak 0.14.0: the infinitely extensible command runner
Loading tasks from Maak file: /etc/byggsteg/job-clone/wip-site/trunk/maak.scm
Executing Maak tasks: deploy
--------------------------------------------------------------
=> Running Maak task: deploy
Copy index.html and index.css into the deploy directory.
The publish directory is $WIP_SITE_DEPLOY_DIR when it is set, and
/srv/http/wip-site.jointhefreeworld.org otherwise. There is no build step:
the files are the site.
Examples:
maak deploy
WIP_SITE_DEPLOY_DIR=/var/www/example.org maak deploy
;;; note: source file /etc/byggsteg/job-clone/wip-site/trunk/maak.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/wip-site/trunk/maak.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /etc/byggsteg/job-clone/wip-site/trunk/maak.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/wip-site/trunk/maak.scm.go
Deploying to /srv/http/wip-site.jointhefreeworld.org
'/etc/byggsteg/job-clone/wip-site/trunk/index.html' -> '/srv/http/wip-site.jointhefreeworld.org/index.html'
'/etc/byggsteg/job-clone/wip-site/trunk/index.css' -> '/srv/http/wip-site.jointhefreeworld.org/index.css'
✓ command finished in 0.33s