Skip to content

BYT-108: Minimal opt-in README/docs collector for Zensical v2 - #20

Merged
ffworker merged 7 commits into
mainfrom
feature/byt-108-zensical-curated-source-import
Nov 2, 2026
Merged

ffworker merged 7 commits into
mainfrom
feature/byt-108-zensical-curated-source-import

Conversation

@ffworker

@ffworker ffworker commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Why

V2 should be functional, not merely a themed mockup — but it must not repeat v1's mistake of auto-collecting everything. This PR adds a new, independent explicit selection collector under v2/.

Exact boundary

  • Default zero sources. An operator creates a gitignored v2/sources.private.yml selecting exact ffworker/<repo> entries and README.md and/or docs/ per repo.
  • python scripts/curate.py --manifest sources.private.yml fetches only selected default branches (GitHub CLI auth where available), preserves allowed Markdown/assets, generates a SHA/retrieval-time source index, and writes an ephemeral Zensical config/site tree. --local-root supports offline test checkouts.
  • No PR CI accesses private GitHub sources or stores private output. Four offline regression tests cover empty selection, one fixture clone, strict path/manifest checks, symlinks, and link provenance.
  • No VPS02, NetBird, cloud deploy, new secrets, webhook, automatic source enumeration, or repository content rewriting. Old v1 implementation stays historical, independent and undeployed.

How to validate

Check v2/README.md instructions. CI runs both direct static preview and an empty-source Zensical build; operator can later choose real sources with local credentials and review content before any private deployment.

Tracked: BYT-108.

@ffworker
ffworker merged commit 877d955 into main Nov 2, 2026
3 checks passed
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