Skip to content

Keep only the published site in this repository - #9

Merged
lszoszk merged 2 commits into
mainfrom
chore/public-site-only
Oct 13, 2026
Merged

lszoszk merged 2 commits into
mainfrom
chore/public-site-only

Conversation

@lszoszk

@lszoszk lszoszk commented Oct 13, 2026

Copy link
Copy Markdown
Owner

From now on this public repository holds only what GitHub Pages needs. The data pipeline (ingestion, extraction, OCR, audits, source data, Python tests on official texts) moves to the private lszoszk/generalcomments-pipeline. That repo already has this repository's full history, every branch and tag included, up to f9b2553.

What stays (240 files): docs/ (site + published data), build_static_pages.py and pages.yml, the site's Playwright tests (tests/*.ts, *.mjs, contracts), package*.json, Playwright configs, .githooks/, scripts/stamp-cache-buster.sh, test.yml, README, LICENSE, LICENSE-DATA, NOTICE, CITATION.cff, .zenodo.json, codemeta.json, METHODOLOGY.md, STATUS_AUDIT.md.

What goes (4,896 files): all pipeline scripts, json_jurisprudence/, json_data/, json_labeled_v2/, mysite_pythonanywhere/, tests/python/, link-check.yml (now runs in the private repo), the PythonAnywhere app, redirector/, img/, planning notes. They remain in this repository's history; history is not rewritten.

Also in this PR:

  • PUBLIC_FILES lists what may be tracked; public-files.yml fails any push that adds something else, or any Python except the page build.
  • Four site links to pipeline files become plain text (they would 404).
  • README, CITATION.cff and .zenodo.json say the pipeline is kept privately ("open-source" dropped from the descriptions).
  • Cache-buster restamped.

Checked: build_static_pages.py builds all 6,111 documents from the remaining files; the Chromium suite passes (135 + 1 timeout that passes on repeat); the allowlist accepts all 240 files and rejects pipeline scripts, Python tests, source data and .py under docs/.

Not affected: the live site's content, the API on the VM (it builds from a local docs/), MCP. Forks and Zenodo keep their copies.

🤖 Generated with Claude Code

lszoszk and others added 2 commits October 13, 2026 19:45
The data pipeline (ingestion, extraction, OCR, audits, source data and
their tests) moves to a private repository; it stays in this
repository's history. What remains is what GitHub Pages needs: docs/,
the page build and its workflow, the site's Playwright tests, the
licences, citation metadata, METHODOLOGY.md and STATUS_AUDIT.md.

Site links to pipeline files become plain text; README, CITATION.cff and
.zenodo.json say where the pipeline lives.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lszoszk
lszoszk merged commit f5d20f0 into main Oct 13, 2026
2 checks passed
@lszoszk
lszoszk deleted the chore/public-site-only branch October 13, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant