bobbai00 opened a new pull request, #4389:
URL: https://github.com/apache/texera/pull/4389

   ### What changes were proposed in this PR?
   
   Adds `tools/licensing/collect_binary_licenses.py`, a Flink-style skeleton 
helper that walks every `.jar` in a given directory (typically the `lib/` of a 
built Docker image or sbt-native-packager dist zip) and extracts each jar's 
`META-INF/LICENSE`, `META-INF/NOTICE`, and embedded `pom.xml` into a staging 
directory.
   
   Produces per-jar extracts, a concatenated `NOTICE-binary-skeleton`, and a 
`summary.tsv` overview.
   
   This is a helper to support hand-maintaining `LICENSE-binary` (#4387). It is 
not a full generator — the final `LICENSE-binary` still requires manual 
curation to group deps by license family, dedupe copyright notices, and verify 
coverage.
   
   Modeled after Apache Flink's 
[`tools/releasing/collect_license_files.sh`](https://github.com/apache/flink/blob/master/tools/releasing/collect_license_files.sh).
   
   ### Any related issues, documentation, discussions?
   
   Part of #4372. Companion tooling for #4387.
   
   ### How was this PR tested?
   
   Ran against the `lib/` of a built Docker image 
(`bobbai2000/texera-config-service:latest`, 119 jars). Confirmed the script 
extracts per-jar `META-INF/LICENSE`, `META-INF/NOTICE`, and `pom.xml` where 
present, emits a `summary.tsv`, and produces a readable 
`NOTICE-binary-skeleton`.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (claude-opus-4-6)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to