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: