Artifact 1c7e137acd41ef6a8125ebb87d66e8449b8623739240d53a44af83f118a6fdb5:
- File docs/dev/vendoring.md — part of check-in [244660752f] at 2026-11-22 18:46:15 on branch tether-1 — /remote-control and /rc, and pic remote-control: the ssh command, a QR code (vendored qrcodegen 1.8.0) and the Remote Login and Tailscale checks (user: pi-c-agent, size: 1132) [annotate] [blame] [check-ins using] [more...]
Vendoring
pic's dependencies are vendored and compiled in, each pinned file by file (vendor/*/SHA256SUMS):
SQLite with libfossil, zlib, BearSSL and Nayuki's QR Code generator (vendor/qrcodegen, release
v1.8.0, for /remote-control; its ORIGIN says where it came from, and it is replaced, never
edited). The binary links only libc, libm and pthread.
libfossil and SQLite
Re-vendor on every libfossil cut:
sh tools/vendor-libfossil.sh [CUT_DIR] # default ~/libfossil-builds/current
It copies the amalgamations, SQLite's shell.c and the license into vendor/libfossil, refuses a cut
whose shell.c and sqlite3.c come from different SQLite check-ins, rewrites SHA256SUMS and the first
line of README.md, and prints what changed. It does not commit: run make test-pic and
Fil-C, then land the branch.
The tests use pic's own build/pic/sqlite3, built from the vendored shell.c, never the host's.
Other generated sources
src/ca_bundle.inc: the built-in CA roots, fromtools/ca-bundle.sh.src/model_catalog.inc: the built-in model catalog snapshot, fromtools/model-catalog.sh.