joseluisll commented on PR #8943:
URL: https://github.com/apache/hadoop/pull/8943#issuecomment-6826551067

   We have automated exactly the check @pjfanning asks for: enumerate every jar 
in the binary tarball and diff it against LICENSE-binary (proposed for adoption 
in [HADOOP-20078](https://issues.apache.org/jira/browse/HADOOP-20078), 
prototype: 
   
https://github.com/joseluisll/hadoop/blob/feat/LICENSES/dev-support/licenses).
   
   I ran it on the official 3.5.0 tarball and on a distribution build of 
current trunk:
   
   | | 3.5.0 | trunk |
   |---|---|---|
   | distinct third-party coordinates shipped | 215 | 302 |
   | listed in LICENSE-binary | 271 | 276 |
   | ships but not listed (missing) | 52 | 69 |
   | stale entries (listed, no jar ships) | 107 | 43 |
   | listed version matches no shipped version | 10 | 22 |
   
   The PR's 30 netty lines are a clean version bump — all 30 module jars exist 
at 4.2.20.Final.
   
   Deriving LICENSE-binary from the archive's contents in the release build 
makes that verification automatic and keeps the file synchronized with whatever 
the dependency graph decides: if `netty-all` is later replaced by selected 
modules, the pruned jars stop appearing in the enumeration and their license 
lines drop out of the generated file automatically.
   
   Currently, the prototype automation cannot help with the prunning, but gives 
a baseline a tools for **detecting drift**.
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to