Skip to content

chore: full third-party licence notices - #19

Merged
nodemode-ai merged 2 commits into
mainfrom
chore/launcher-and-notices
Nov 30, 2026
Merged

nodemode-ai merged 2 commits into
mainfrom
chore/launcher-and-notices

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds THIRD-PARTY-NOTICES.txt, generated by setup/notices.py and setup/notices_crates.py after FormDAM's: full licence texts for the 443 Rust crates compiled into the app (33 that publish no licence file get their SPDX id, repository and a note) and for Vite, whose module preload helper ends up in the built window. The window has no npm production dependencies, no Python ships and nothing is downloaded.
  • Adds --check, which needs only the lock files, and runs it in the CI test job together with 8 generator tests in setup/tests/test_notices.py. The tests cover crate reachability, the Vite licence cut, render and parse with shared texts, and missing, stale and empty sections.
  • Bundles the file as a Tauri resource, adds a read-only notices command (src-tauri/src/notices.rs) and a Help > About and Licences pane that loads the text on demand as plain text; the dev engine bridge answers the same command.
  • NOTICE.md stays the human list and points to the generated file; the README links it; the HASHOUT logs record the change.
  • Windows launcher: not applicable. There is no agent_lookup.py or equivalent; the only Windows process start opens a fixed FormPortal URL.

Tests

  • The notices check and the tests for the launcher behaviour this app depends on were run locally on macOS; failures seen locally also fail on main. Please rely on this PR's CI.

How to ship

  • Independent of other repos. The shared launcher file is the same byte for byte in every Form app (agent_lookup 1.1.0, source in FormVis). No version bump; it can go into the next release.

THIRD-PARTY-NOTICES.txt holds the licence files of every Rust crate the
app compiles in and of Vite, whose module preload helper is built into
the window. setup/notices.py generates it from the lock files, the
installed npm packages and the cargo registry; --check fails while it
does not cover what ships and runs in the CI test job with the
generator's tests. The bundle carries the file, the shell's notices
command reads it, and Help > About and Licences shows it. NOTICE.md
stays the human list.
@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 29, 2026 23:14
Vendor the upstream licence texts (each with a SOURCE.txt naming the file
and commit, or the SPDX text it was reconstructed from) under
setup/licence_texts and have setup/notices.py use them for the 33 crates
whose published package carries no licence file. Regenerate
THIRD-PARTY-NOTICES.txt.
@nodemode-ai
nodemode-ai merged commit 714d4ab into main Nov 30, 2026
4 checks passed
@nodemode-ai
nodemode-ai deleted the chore/launcher-and-notices branch November 30, 2026 18:50
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.

2 participants