github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2026-02-14 07:17 pm

[dreamwidth/dreamwidth] e119cc: Bifurcate build-static.sh into dispatcher + two im...

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: e119cc022c1b7d502ba7dd6b9ed22b486f6fbef7 https://github.com/dreamwidth/dreamwidth/commit/e119cc022c1b7d502ba7dd6b9ed22b486f6fbef7 Author: Mark Smith mark@dreamwidth.org Date: 2026-02-14 (Sat, 14 Feb 2026)

Changed paths: A bin/build-static-legacy.sh A bin/build-static-modern.sh M bin/build-static.sh M etc/docker/base/Dockerfile R etc/docker/base/build-static-legacy.sh

Log Message:


Bifurcate build-static.sh into dispatcher + two implementations

The base (Ubuntu 18.04) Dockerfile was copying build-static-legacy.sh over bin/build-static.sh at build time, which dirtied the git working tree. When child images (worker, web) later ran git pull, git refused because the local file had been overwritten.

Instead of this copy-overwrite pattern, build-static.sh is now a thin dispatcher that detects which tools are available (sass → modern, compass → legacy) and execs the appropriate implementation. The legacy script moves from etc/docker/base/ into bin/ alongside the modern one, and the Dockerfile no longer needs to copy or overwrite anything.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications