Migrates from in-repo orphan `website` branch + LFS to a two-repo +
deploy-host model so source editing is fully decoupled from live state.
- Source code stays here (codeberg.org/VARASYS/ZDDC).
- Hand-edited website content moves to a separate Codeberg repo
(codeberg.org/VARASYS/ZDDC-website, cloned at ~/src/zddc-website/).
- Live site is /srv/zddc/ on the deploy host (Caddy bind-mount),
populated by ./deploy from this repo's dist/release-output/ plus
~/src/zddc-website/.
- Releases are no longer in any git history — reproducible from
<tool>-vX.Y.Z tags via `./build release X.Y.Z`. No LFS, no
Codeberg release assets.
Build/deploy split:
- ./build (no arg) is source-only; nothing in dist/release-output/
or /srv/zddc/ is touched.
- ./build alpha|beta|release seeds dist/release-output/ from
/srv/zddc/releases/ (preserving symlinks), then mutates the
channel(s) being cut on top. The bundle is always a complete
intended-live snapshot, so the verifier sees a complete world
and ./deploy --releases (rsync --delete-after) replaces live
state cleanly.
- New ./deploy wraps the rsync flow with --content / --releases
subcommands.
Docs updated to reflect the new model: CLAUDE.md, AGENTS.md,
ARCHITECTURE.md, zddc/README.md, README.md, .gitignore, shared/
build-lib.sh comments, deprecated zddc/release.sh message.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
tossme/
|
|
examples/
|
|
.env
|
|
.vscode
|
|
|
|
# Per-project Claude Code state (planning files, agent transcripts, etc.)
|
|
.claude/
|
|
|
|
# Session planning (never public)
|
|
PLAN.md
|
|
|
|
# Node dependencies
|
|
node_modules/
|
|
|
|
# Test report and results
|
|
playwright-report/
|
|
test-results/
|
|
|
|
# Build artifacts. dist/ is ignored everywhere: per-tool dist/<tool>.html
|
|
# is a transient build output (and the canonical thing tests open via
|
|
# file://), and dist/release-output/ is the local-only release bundle
|
|
# produced by `./build alpha|beta|release`, then rsync'd to the live
|
|
# site by `./deploy`. Nothing in dist/ should be committed.
|
|
#
|
|
# Hand-edited website content (index.html, reference.html, css/, js/,
|
|
# img/) lives in a SEPARATE Codeberg repo at codeberg.org/VARASYS/
|
|
# ZDDC-website, typically cloned at ~/src/zddc-website/. Release
|
|
# artifacts are NOT in git history at all — they're produced by this
|
|
# repo's build, rsync'd to /srv/zddc/releases/ on the deploy host,
|
|
# and reproducible from any <tool>-vX.Y.Z tag.
|
|
dist/
|
|
|
|
# IDE and project files
|
|
.opencode/
|
|
opencode.json
|
|
package-lock.json
|
|
zddc-knowledge*.json
|
|
zddc-knowledge*.md
|
|
zddc-knowledge*.html
|