David Arthur created KAFKA-17607:
------------------------------------

             Summary: Add CI step to verify LICENSE-binary 
                 Key: KAFKA-17607
                 URL: https://issues.apache.org/jira/browse/KAFKA-17607
             Project: Kafka
          Issue Type: Improvement
          Components: build
            Reporter: David Arthur


Whenever we update LICENSE-binary, we manually verify that we have correctly 
included all the necessary licenses.

 
{code:java}
% ./gradlewAll clean releaseTarGz
% tar xzf core/build/distributions/kafka_2.13-4.0.0-SNAPSHOT.tgz
% cd kafka_2.13-4.0.0-SNAPSHOT
% for f in $(ls libs | grep -v "^kafka\|connect\|trogdor"); do if ! grep -q 
${f%.*} LICENSE; then echo "${f%.*} is missing in license file"; fi; done {code}
 

We should add this as a verification step to the CI workflow.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to