build: binary files in Git LFS #41

Merged
dawid merged 1 commit from git-lfs into main 2026-11-17 21:22:57 +00:00
Owner

The repository kept its images as plain Git blobs. This moves them to LFS: the 50 model pictures, the store icons, the simulator screenshot and the watch launcher icon (54 files). .gitattributes also covers the binary types to come (images, fonts, PDFs, packages, the APK).

  • CI checkouts fetch LFS (lfs: true): the checks compare the generated icons, and the watch build packs its launcher icon.
  • viewer/public/ stays in Git: the app panel builds the image from its own clone, and it isn't verified that it fetches LFS. A wrong guess would deploy pointer files as icons. Under 100 KB together.
  • History not rewritten: earlier commits keep their blobs, so no force-push is needed.
  • Documented in docs/ci.md#binary-files.

Open PRs that add images (#40 hero) will need a rebase onto this, which re-adds their images through LFS.

The repository kept its images as plain Git blobs. This moves them to LFS: the 50 model pictures, the store icons, the simulator screenshot and the watch launcher icon (54 files). `.gitattributes` also covers the binary types to come (images, fonts, PDFs, packages, the APK). - **CI** checkouts fetch LFS (`lfs: true`): the checks compare the generated icons, and the watch build packs its launcher icon. - **`viewer/public/` stays in Git:** the app panel builds the image from its own clone, and it isn't verified that it fetches LFS. A wrong guess would deploy pointer files as icons. Under 100 KB together. - **History not rewritten:** earlier commits keep their blobs, so no force-push is needed. - Documented in `docs/ci.md#binary-files`. Open PRs that add images (#40 hero) will need a rebase onto this, which re-adds their images through LFS.
build: binary files in Git LFS, fetched by CI's checkouts
Some checks failed
CI / checks (pull_request) Failing after 12s
CI / e2e (pull_request) Failing after 57s
CI / relay (pull_request) Successful in 51s
CI / image (pull_request) Successful in 57s
CI / watch (pull_request) Successful in 15s
26bcf1adfe
The model pictures, the store's icons, the simulator's screenshot and the
watch's launcher icon (54 files) move to LFS; .gitattributes covers the binary
types to come (images, fonts, PDFs, packages). viewer/public/ stays in Git: the
app panel builds the image from a plain clone, not known to fetch LFS. The
history isn't rewritten: earlier versions stay as they were.
dawid merged commit 0bc91ac975 into main 2026-11-17 21:22:57 +00:00
dawid deleted branch git-lfs 2026-11-17 21:22:57 +00:00
Sign in to join this conversation.
No description provided.