From b74f0e07cfebf09d5336124cbd82e46d9a4b5399 Mon Sep 17 00:00:00 2001 From: Tammo ter Hark Date: Tue, 24 Nov 2026 22:58:44 +0100 Subject: [PATCH] chore(repo): keep limesurvey.md local-only (gitignored + export-excluded) limesurvey.md in the theme root accumulates local working notes on LimeSurvey (theme inheritance, custom options page, twig cache, CLI fixtures, DB tables). Like prompts.md/AGENTS.md it must never be committed or published: added to .gitignore and to the export tar excludes. The notes file itself is not tracked. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- .gitignore | 3 +++ variants/export_public.sh | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index fae9ca5..72d342e 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,9 @@ # 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 diff --git a/variants/export_public.sh b/variants/export_public.sh index e3517d1..bdd9206 100644 --- a/variants/export_public.sh +++ b/variants/export_public.sh @@ -9,8 +9,8 @@ # tooling (variants/build.php, variants/export_public.sh) — the same set # that the public repo tracks (see .gitignore): everything except .git, # the confidential variants/ parts (*.json, leak-patterns.txt, tests/), -# sass/, css/*.map, dist/, AGENTS.md, prompts.md, FEATURE_REQUEST*.md, -# BUG_REPORT*.md, .vibe/, node_modules/ and package files; +# sass/, css/*.map, dist/, AGENTS.md, prompts.md, limesurvey.md, +# FEATURE_REQUEST*.md, BUG_REPORT*.md, .vibe/, node_modules/ and package files; # 2. scans the staged copy for client-identifying strings and ABORTS if any # are found; # 3. creates a zip next to the folder. @@ -69,7 +69,7 @@ mkdir -p "$STAGE" "$OUT_DIR" # in .gitignore (the public repo tracks the remaining files; the generic # variants/ tooling build.php + export_public.sh IS included, the client # definitions *.json, leak-patterns.txt and tests/ are NOT) -(cd "$THEME_DIR" && tar --exclude='./.git' --exclude='./dist' --exclude='./variants/*.json' --exclude='./variants/leak-patterns.txt' --exclude='./variants/tests' --exclude='./sass' --exclude='./css/*.map' --exclude='./FEATURE_REQUEST*.md' --exclude='./BUG_REPORT*.md' --exclude='./AGENTS.md' --exclude='./prompts.md' --exclude='./.vibe' --exclude='./node_modules' --exclude='./package.json' --exclude='./package-lock.json' --exclude='./tmp' -cf - .) | (cd "$STAGE" && tar -xf -) +(cd "$THEME_DIR" && tar --exclude='./.git' --exclude='./dist' --exclude='./variants/*.json' --exclude='./variants/leak-patterns.txt' --exclude='./variants/tests' --exclude='./sass' --exclude='./css/*.map' --exclude='./FEATURE_REQUEST*.md' --exclude='./BUG_REPORT*.md' --exclude='./AGENTS.md' --exclude='./prompts.md' --exclude='./limesurvey.md' --exclude='./.vibe' --exclude='./node_modules' --exclude='./package.json' --exclude='./package-lock.json' --exclude='./tmp' -cf - .) | (cd "$STAGE" && tar -xf -) # 2. leak check: no client-identifying strings may remain (text files only). # Client names are NOT hardcoded in this public file. Patterns are derived: