Mola-maker opened a new pull request, #1011:
URL: https://github.com/apache/incubator-xtable/pull/1011

   Closes #1010.
   
   The `xtable-hive-metastore-0.5.0-incubating-bundled.jar` contains classes 
from `org.fusesource` (hawtjni, jansi) but its `META-INF/LICENSE` had no entry 
for them. No license violation — both are Apache License 2.0 — just a 
documentation gap.
   
   This adds the two missing entries to 
`xtable-hive-metastore/src/main/resources/META-INF/LICENSE-bundled` (Apache 
License 2.0 section, tuple-sorted position):
   
   - `org.fusesource.hawtjni:hawtjni-runtime:1.8`
   - `org.fusesource.jansi:jansi:1.11`
   
   ## How the versions were pinned down
   
   The fusesource classes do not come from a Maven dependency of 
xtable-hive-metastore — they arrive embedded inside `jline:jline:2.12` (a shade 
include). I downloaded jline-2.12.jar from Maven Central and confirmed it 
embeds the `org/fusesource/hawtjni/runtime` and `org/fusesource/jansi` classes; 
jline 2.12's pom shades `org.fusesource.jansi:jansi` with `jansi.version` = 
1.11. The hawtjni-runtime version is 1.8: all 16 hawtjni classes in 
jansi-1.11.jar are byte-identical (SHA-256) to hawtjni-runtime 1.8/1.9/1.10, 
but 1.7 differs, and 1.9/1.10 postdate jansi 1.11's build (2013-05-13), while 
1.8 was built the same morning (2013-05-13 08:54). Both licenses resolve to 
Apache License 2.0 (hawtjni-runtime 1.8 is dual EPL 1.0 + AL2; the AL2 option 
is used), verified with the repo's own 
`generate_shaded_license_metadata.normalize_family`. Neither jar ships a 
LICENSE or NOTICE file, so no NOTICE-bundled change is needed, and no other 
module in the repo mentions jline or fusesource.
   
   ## Verification
   
   I could not rebuild the jar locally — the sandbox has no Maven and Java 
networking is broken here — so the real confirmation that the generated 
`META-INF/LICENSE` gains these entries should come from this PR's fork CI 
(`mvn-license-check.yml`). What was verified locally: the two entries are in 
the right file, the right section, and the right sorted position, and the 
`validate_shaded_license_coverage.sh` "missing" check is unaffected (simulated: 
69 shade includes all covered, 0 missing).
   
   One follow-up worth noting: `LICENSE-bundled` is generated by 
`release/scripts/generate_shaded_license_metadata.py` from the runtime 
dependency tree, and jansi/hawtjni are not in that tree (they are embedded 
code), so a future regeneration would drop these two lines. The generator 
currently has no embedded-coords mechanism. I left the generator untouched to 
keep this change minimal — happy to follow up on that separately if maintainers 
want it.
   
   AI usage disclosure: this PR was developed with AI assistance (harness: 
Muse; model: Muse Spark; effort: issue triage, investigation, and verification).


-- 
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