kevinjqliu commented on code in PR #18658: URL: https://github.com/apache/iceberg/pull/18658#discussion_r4381651764
########## site/docs/how-to-release.md: ########## @@ -88,6 +88,83 @@ Note, creating a milestone in github requires a committer. However, a non-commit The release status is discussed during each community sync meeting. Release manager should join the meeting to report status and discuss any release blocker. +### Review bundled dependency licenses + +Some Iceberg artifacts, such as the Spark and Flink runtime JARs, bundle third-party dependencies. Each of these [bundled modules](#bundled-modules) has its own `LICENSE` and `NOTICE` files that must cover every dependency it ships. Before building the release candidate, please make sure these files are up to date: + +1. Find the dependency changes since the previous release: + + ```bash + git fetch apache main --tags + git diff apache-iceberg-<PREVIOUS_VERSION> apache/main -- '**/runtime-deps.txt' + ``` + + Each `runtime-deps.txt` file lists the dependencies bundled by the module in the same directory. Lines starting with `+` are added or upgraded dependencies, and lines starting with `-` are removed or replaced ones. + +2. Update the `LICENSE` and `NOTICE` files of each affected module and open a PR against `main`. See [Updating LICENSE and NOTICE](#updating-license-and-notice). Review Comment: are we expecting `LICENSE` and `NOTICE` files to be updated in the individual PRs that change dependencies (add/update/remove)? -- 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]
