Files
Martin BallandClaude Opus 5.5 acb0baf9f3 CP3: review — full licence texts per pack, URL parsed by segment, safe licence names, non-empty check words, --only unknown is an error, source in index.json
- language-data/licences/<SPDX id>.txt (spdx/license-list-data 31846481) go into each archive as
  LICENCES/<id>.txt; the checker requires a full text for every data licence id (SPDX: the
  standard text; LicenseRef: a licence entry naming it) and a licence entry per locale.
- A class stricter than the licence needs requires a `note`; CC-BY-NC-SA-4.0 is allow-listed as
  Excluded.
- Pinned URLs are parsed as <owner>/<repo>/<commit>/<path> (no substring match).
- Licence file names are [A-Za-z0-9._-], not leading '.'; check words must be non-empty.
- `build --only xx` fails for a locale not in the manifest.
- index.json and pack.toml gain an optional `source`/`upstream` (upstream folder at its commit).
Regression tests for each in tests/packs.rs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-01 18:17:40 +00:00
..