chore(repo): publish generic variant tooling, keep client data private
Public-repo audit (owner request): the tracked set is now exactly the runtime files plus the generic variant tooling needed to build variants: .gitignore no longer ignores variants/ as a whole, only the confidential parts (*.json client definitions, leak-patterns.txt, tests/); build.php and export_public.sh are tracked. export_public.sh tar-excludes those confidential parts, so the public zip contains runtime files + variants/build.php + variants/export_public.sh and nothing else. Verified: leak grep on HEAD clean (no client names), export zip listing matches, leak-check green with sibling-derived patterns, all referenced assets HTTP 200 (core files like scripts/theme.js resolve via the parent vanilla theme through <extends>, no 404s). Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
8513ec17f5
commit
0a725f516c
1 changed files with 417 additions and 7 deletions
17
.gitignore
vendored
17
.gitignore
vendored
|
|
@ -5,13 +5,16 @@
|
|||
# internal notes and is deliberately NOT tracked, so it never reaches Forgejo.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# variants/ — build & export tooling (build.php, export_public.sh) AND the
|
||||
# confidential client definitions (*.json, leak-patterns.txt, README.internal.md).
|
||||
# Local/private only. The canonical copies of the client variant 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/
|
||||
# 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. 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: they are compiled locally to css/plain.css
|
||||
# (which IS committed). LimeSurvey serves the committed css and never compiles
|
||||
|
|
|
|||
Loading…
Reference in a new issue