feat: each build comes with its complete GPL source #5

Merged
jwarykowski merged 2 commits from feat/source-offer into main 2026-11-01 02:17:20 +00:00
Owner

Firmware is QMK firmware (GPL-2.0-or-later), and because keybars Pro is sold, each build must come with its complete source, or a written offer of it, not a link to upstream GitHub.

  • Archives: the image tars each tree as built, with submodules and the keybars module: /source/qmk-<commit>.tar.gz (172 MB), zsa-<commit>.tar.gz (152 MB).
  • Serving: GET /source/<archive> serves only names that match an archive (../ and anything else is a 404). keybars.app's Worker will put them at https://keybars.app/action-keys/source/ when the build route lands.
  • BUILDING.md: names the licence, links the build's archive, keeps the upstream repo and commit, and makes the three-year written offer ([email protected]).
  • Module pin: keybars-qmk is pinned by tag, v0.1.0-beta.1, so a squash merge of its branch can't orphan the commit.
  • The keymap folder is keybars, not studio, so firmware is <kb>_keybars.bin.
  • README's new "The GPL" section and CLAUDE.md say to keep every linked archive for three years, even after the pins move.

Checked: a Moonlander revb build through builder serve in the image, its BUILDING.md, and the 152 MB archive it links. Tests and CI's lint (in the job image) pass.

Firmware is QMK firmware (GPL-2.0-or-later), and because keybars Pro is sold, each build must come with its complete source, or a written offer of it, not a link to upstream GitHub. - **Archives:** the image tars each tree as built, with submodules and the keybars module: `/source/qmk-<commit>.tar.gz` (172 MB), `zsa-<commit>.tar.gz` (152 MB). - **Serving:** `GET /source/<archive>` serves only names that match an archive (`../` and anything else is a 404). keybars.app's Worker will put them at `https://keybars.app/action-keys/source/` when the build route lands. - **BUILDING.md:** names the licence, links the build's archive, keeps the upstream repo and commit, and makes the three-year written offer ([email protected]). - **Module pin:** keybars-qmk is pinned by tag, `v0.1.0-beta.1`, so a squash merge of its branch can't orphan the commit. - The keymap folder is `keybars`, not `studio`, so firmware is `<kb>_keybars.bin`. - README's new "The GPL" section and CLAUDE.md say to keep every linked archive for three years, even after the pins move. Checked: a Moonlander revb build through `builder serve` in the image, its `BUILDING.md`, and the 152 MB archive it links. Tests and CI's lint (in the job image) pass.
feat: each build comes with its complete GPL source
All checks were successful
CI / go (pull_request) Successful in 54s
5df0c1ee90
The image archives each QMK tree as built (submodules and the keybars module, now pinned by tag), the builder serves them on GET /source/, and BUILDING.md links the build's archive at keybars.app/action-keys/source/ and makes the GPL's three-year written offer, since keybars Pro is sold and a link to upstream doesn't cover that. The keymap folder is keybars, not studio.
docs: the source archives are served from R2
All checks were successful
CI / go (pull_request) Successful in 54s
67330deeda
jwarykowski deleted branch feat/source-offer 2026-11-01 02:17:21 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jwarykowski/keybars-build!5
No description provided.