majialoong opened a new pull request, #22266: URL: https://github.com/apache/kafka/pull/22266
Update `NOTICE-binary` and add `verify_notice.py` `verify_notice.py` checks that `NOTICE-binary`contains every `NOTICE` text embedded in the third-party jars shipped by `releaseTarGz`, ensuring all upstream attribution notices are included in the distribution as required by the Apache License 2.0. It extracts all NOTICE-like files from third-party jars, deduplicates them by normalised content, then searches the third-party body of `NOTICE-binary` for each one using a whitespace-tolerant match. It reports two lists and exits non-zero if either is non-empty: - Unmatched – upstream NOTICEs missing from `NOTICE-binary` (must be added). - Leftover – content in `NOTICE-binary` not claimed by any upstream NOTICE (potentially stale). -- 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]
