vanilla_respondage/.gitignore
Tammo ter Hark 5dfe08bf6f chore(files): row 234 — gitignore WIP svg artwork (files/*.svg), commit new preview.png
The new theme preview was added as files/preview.svg (source) +
files/preview.png (export). LimeSurvey's image validator rejects SVG for
theme images anyway, so only the PNG is tracked: .gitignore now ignores
/files/*.svg (generalizes the row-208 logos.svg entry to all WIP artwork).

Also fixed variants/export_public.sh: the staging tar did not exclude
files/*.svg, so the gitignored logos.svg still leaked into the public zip;
added --exclude='./files/*.svg'. Verified: export exit 0 and the new
dist/vanilla_respondage-0.1-public.zip contains files/preview.png and no
.svg files at all.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-30 11:58:34 +01:00

75 lines
3.2 KiB
Text

# ---------------------------------------------------------------------------
# Public-repo policy (Forgejo): this repository contains ONLY the files needed
# to run the theme (config.xml, views/, options/, css/, scripts/, files/,
# README.md, LICENSE). Everything listed below is developer-local tooling or
# internal notes and is deliberately NOT tracked, so it never reaches Forgejo.
# ---------------------------------------------------------------------------
# variants/ — only the confidential parts stay local: the client definitions
# (*.json), the leak patterns (client names/colors) and the dev tests. The
# generic tooling (build.php, export_public.sh — verified to contain no client
# data) IS tracked, so variants can be built from the public repo alone, and
# variants/example/ IS tracked on purpose: it is the public example output of
# the build process (the respondage_respondage example variant). The canonical
# client definitions live in the private variants repository
# (vanilla_respondage_variants); point variants/build.php at that folder via
# its 2nd CLI argument or RESPONDAGE_VARIANTS_DIR.
/variants/*.json
/variants/leak-patterns.txt
/variants/tests/
# sass/ sources are developer-only and LEADING: every sass/*.sass (except _*
# partials) is compiled locally to its css/<name>.css counterpart (which IS
# committed — sass is leading, css is the build artifact). LimeSurvey serves
# the committed css and never compiles sass itself. The .sass files were purged
# from history with git filter-repo. Watcher: `sass --watch sass:css`.
/sass/
# Source maps are artifacts of the local sass compile — not needed at runtime
# (LimeSurvey serves css/ as-is).
/css/*.map
# Export zips, if an output dir inside the theme is ever used.
/dist/
# Work-in-progress artwork sources (logo/preview SVGs) — local only, never
# commit/publish. LimeSurvey's image validator rejects SVG for theme images
# anyway, so only the exported PNG is ever committed (e.g. files/preview.png).
/files/*.svg
# Session prompt log (prompts used + results). Internal working notes — never
# commit, never publish.
prompts.md
# Local LimeSurvey working notes (limesurvey.md) — internal, never commit/publish.
limesurvey.md
# Feature-request drafts for LimeSurvey core (English, well-substantiated) are
# internal too: never commit them to the public repo.
FEATURE_REQUEST*.md
# Bug-report drafts for LimeSurvey core (English, with repro + stack trace) are
# internal too: never commit them to the public repo.
BUG_REPORT*.md
# Parked-prompt index (moved out of prompts.md so it stays findable) and
# security-review reports are internal too: never commit, never publish.
OPEN_PROMPTS.md
SECURITY_REVIEW*.md
# Working agreements for the agent (AGENTS.md) are internal too: never commit.
AGENTS.md
# Local agent config for this repo (tool permissions) — never commit, never publish.
/.vibe/
# Local dev tooling (jsdom DOM tests for options/options.js): package files and
# node_modules live in the theme dir so tests run from here, but they are
# developer-local only — never commit, never publish.
/node_modules/
/package.json
/package-lock.json
# Runtime cache the app writes into the theme dir during local renders (twig
# cache) — never commit, never publish.
/tmp/