[dreamwidth/dreamwidth] e26767: Make initialize-db idempotent to avoid errors on r...
Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: e26767b2e3f02ba7ff72fb279dcdf34cb894906a https://github.com/dreamwidth/dreamwidth/commit/e26767b2e3f02ba7ff72fb279dcdf34cb894906a Author: Mark Smith mark@dreamwidth.org Date: 2026-02-06 (Fri, 06 Feb 2026)
Changed paths: M t/bin/initialize-db
Log Message:
Make initialize-db idempotent to avoid errors on rerun
Consolidate individual mysql calls into a single statement using CREATE USER/DATABASE IF NOT EXISTS, so the script can be run repeatedly without throwing errors on an already-initialized database.
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
Commit: 8f82b8be8ff5db0e7e7b0ff8678a4680e7f394b7 https://github.com/dreamwidth/dreamwidth/commit/8f82b8be8ff5db0e7e7b0ff8678a4680e7f394b7 Author: Mark Smith mark@dreamwidth.org Date: 2026-02-06 (Fri, 06 Feb 2026)
Changed paths: M .devcontainer/Dockerfile M .devcontainer/setup.sh M bin/build-static.sh R config.rb M doc/dependencies-system M etc/docker/base22/Dockerfile R ext/dw-nonfree/config.rb
Log Message:
Replace Compass/YUI with Dart Sass/esbuild for static asset builds
- Switch SCSS compilation from deprecated Ruby Compass to Dart Sass (installed via npm), with proper --load-path for import resolution
- Replace YUI Compressor (Java) with esbuild (Node.js) for JS minification; CSS skips minification since Dart Sass already outputs compressed CSS
- Add --sass and --compress flags to build-static.sh for selective builds; asset sync (rsync) always runs
- Install Node.js 20 LTS via nodesource in devcontainer and base22 Dockerfiles; remove Ruby, Compass, default-jre, and YUI
- Symlink pre-built static assets in devcontainer setup instead of copying them
- Delete config.rb (Compass configuration) from both repos
- Leave Ubuntu 18.04 base image unchanged (being deprecated)
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
Compare: https://github.com/dreamwidth/dreamwidth/compare/4d2a30581c19...8f82b8be8ff5
To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications
