Kusuma04-dev opened a new pull request, #4091: URL: https://github.com/apache/incubator-kie-tools/pull/4091
Description What scripts/release/release-all.sh now adds LICENSE and NOTICE to every convenience binary: npm tgz files the chrome extension zips sandbox-webapp.zip and sandbox-accelerator-quarkus.zip the Helm chart tarballs the dev-deployment-upload-service tarballs the .vsix files It adds a LEGAL_PROFILE option that appends a per-artifact third-party appendix to LICENSE. These appendix files are new: BINARY-LICENSE-APPENDIX.txt (updated), for the elkjs/EPL-2.0 entry, used by the DMN editor, sandbox-webapp, chrome editors and dmn vsix BINARY-LICENSE-APPENDIX-extended-services.txt BINARY-LICENSE-APPENDIX-drl.txt BINARY-LICENSE-APPENDIX-go.txt npm packages are now packed with pack_public_npm_packages_with_legal. The same tarballs are used for the RC zip and for npm publish, so the published packages carry the legal files too. Tarballs are repacked without a leading ./ entry, because npm publish fails on those. KEEP_EXISTING_LICENSE keeps a package's own LICENSE when it has one. NOTICE is still added. Why The release review found that no binary artifact had a NOTICE. Many artifacts had no LICENSE at all. sandbox-webapp.zip and the chrome editors zip had only webpack *.js.LICENSE.txt files. The .vsix files had only the plain Apache-2.0 text, with no list of bundled third-party components such as elkjs (EPL-2.0). ASF release policy requires each distributed artifact to carry a correct LICENSE and NOTICE, and the bundled third-party licenses have to be listed. How LEGAL_DIR is built once per release run. It holds the root LICENSE and NOTICE, plus one LICENSE variant per profile (root LICENSE plus that profile's appendix). Each packaging step calls the existing add_legal_to_* helpers, with a LEGAL_PROFILE where the artifact bundles third-party code. Only the legal files change. Artifact contents and release flow are the same. -- 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]
