Bootstrap CheddarBooks Repo
This runbook stages a standalone CheddarBooks repo from the current NEXUS-EMERGING workspace.
Use it when you want a real repo root to start the extraction without hand-copying files.
What It Does
The bootstrap script:
- copies the current
CheddarBooks.LaundryLog*code projects into a new repo-shaped root - copies the
CheddarBooks.Testsproject - copies the current LaundryLog docs
- renames the copied project files from the older
Nexus.CheddarBooks*path names toCheddarBooks.* - rewrites project references so the staged repo is self-contained except for a bootstrap dependency on a local
FnToolsrepo root - creates:
CheddarBooks.slnxREADME.md.gitignorebootstrap-source.toml
Command
./NEXUS-Code/scripts/bootstrap_cheddarbooks_repo.sh \
--destination-root /tmp/CheddarBooks \
--fntools-root /home/ivan/NEXUS/FnTools
Useful options:
./NEXUS-Code/scripts/bootstrap_cheddarbooks_repo.sh \
--destination-root /tmp/CheddarBooks \
--fntools-root /home/ivan/NEXUS/FnTools \
--source-commit 1ee17e03 \
--force
Dry run:
./NEXUS-Code/scripts/bootstrap_cheddarbooks_repo.sh \
--destination-root /tmp/CheddarBooks \
--fntools-root /home/ivan/NEXUS/FnTools \
--dry-run
After Bootstrap
From the staged repo root:
dotnet build /tmp/CheddarBooks/CheddarBooks.slnx
dotnet run --no-build --project /tmp/CheddarBooks/tests/CheddarBooks.Tests/CheddarBooks.Tests.fsproj
Notes
- the current source project paths in
NEXUS-EMERGINGstill use olderNexus.CheddarBooks*folder names - the staged repo renames those copied project files to the intended
CheddarBooks.*names - this first bootstrap uses a local
FnToolsrepo root directly instead of a package feed - later we can switch the UI dependency to packaged
FnTools.FnHCI.UI