With --ce-ref, CE was the history of the merge bases of HEAD and the CE ref.
When the CE ref is a branch of the unified codebase, such as master, those
merge bases are relicensed commits themselves, so a downstream repository whose
history does not come from CE alone compared against the unified code. The CE
bases below a relicensed merge base are now the CE commits beneath it, found
with the relicensing commit as without --ce-ref.
- Restamp ten files whose header does not match their CE provenance:
EntityDatabaseSchemaService.java, js-resource.component.ts and
DataValidationException.java are identical to CE and take the Apache
header; the 4.3.1.6 cluster migration, TbClusterStore and their tests exist
in CE lts-4.3 and common/transport/snmp/pom.xml lost a CE dependency, so they
take the ce-modified header.
- Remove the DataValidationException.java curation: CE has had an identical
file at the same path since December 2025.
- Remove 29 curations that repeat the header the check decides by itself.
- Delete trendz-settings.component.html and comparison-keys-table.component.html
at their old locations: their components moved and no longer reference them,
and the relicensing commit left only a license header in them.
The check compared each branch against a CE counterpart branch fetched from
thingsboard/thingsboard, which is now the unified codebase itself, so every
file was compared with itself and 5,468 files were reported with a wrong
header.
CE is now the history that does not contain the relicensing commit
31936b09d2. The check compares each file against the latest CE commits merged
into the branch:
- a path that exists in CE is apache when its content equals a CE version or a
clean merge of its CE versions, and ce-modified otherwise;
- a new path is busl unless it is at least 50% similar to a CE file or CE
history had this path, which needs a decision;
- --ce-ref keeps the previous mode of comparing against a fetched CE ref.
The third header kind is named after its template, license-header-busl.txt,
and curations use busl instead of pe-only. --fix also removes redundant
curations and curations of files that are no longer in scope, and the check
lists redundant curations.
This change adds new parameters to keygen.properties to allow the
configuration of the server and client TLS key algorithms:
SERVER_KEY_ALG, SERVER_KEY_SIZE, CLIENT_KEY_ALG, CLIENT_KEY_SIZE
Default values for these have been set at RSA and 2048 to preserve
previous operation.
I have also tested SERVER_KEY_ALG=EC and SERVER_KEY_SIZE=256, along with
CLIENT_KEY_ALG=EC and CLIENT_KEY_SIZE=256. Other algorithms and sizes
may be supported, YMMV.