You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "hemasrishalini (via GitHub)" <gi...@apache.org> on 2026/05/14 14:00:26 UTC
[PR] ci: validate distribution zip contains LICENSE and NOTICE [polaris]
hemasrishalini opened a new pull request, #4439:
URL: https://github.com/apache/polaris/pull/4439
Summary
Adds validation for distribution ZIP artifacts to ensure required LICENSE and NOTICE files are present.
Changes
add validateDistributionLicenseNotice Gradle task
validate ZIP distribution contains LICENSE
validate ZIP distribution contains NOTICE
wire validation into Gradle check lifecycle
Testing
./gradlew :polaris-distribution:check
Closes #4186
## Checklist
- [ ] ๐ก๏ธ Don't disclose security issues! (contact security@apache.org)
- [ ] ๐ Clearly explained why the changes are needed, or linked related issues: Fixes #
- [ ] ๐งช Added/updated tests with good coverage, or manually tested (and explained how)
- [ ] ๐ก Added comments for complex logic
- [ ] ๐งพ Updated `CHANGELOG.md` (if needed)
- [ ] ๐ Updated documentation in `site/content/in-dev/unreleased` (if needed)
--
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: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: validate distribution zip contains LICENSE and NOTICE [polaris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #4439: ci: validate distribution zip contains LICENSE and NOTICE
URL: https://github.com/apache/polaris/pull/4439
--
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: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: validate distribution zip contains LICENSE and NOTICE [polaris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #4439:
URL: https://github.com/apache/polaris/pull/4439#issuecomment-4703959056
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
--
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: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: validate distribution zip contains LICENSE and NOTICE [polaris]
Posted by "snazy (via GitHub)" <gi...@apache.org>.
snazy commented on PR #4439:
URL: https://github.com/apache/polaris/pull/4439#issuecomment-4458068471
I do not think this validation adds coverage.
The LICENSE/NOTICE files are produced by `licenseNoticeMerge`, which consumes the `licenseNoticeElements` configurations from polaris-admin and polaris-server.
`LicenseNoticeMerge` unconditionally reads both `LICENSE` and `NOTICE` from each input directory, so a missing file already fails the distribution build.
This task also only validates presence by archive entry name; it does not cover the content/staleness checks requested in #4186.
The existing admin/server checks already validate mentioned dependencies.
So this change seems redundant.
--
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: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: validate distribution zip contains LICENSE and NOTICE [polaris]
Posted by "hemasrishalini (via GitHub)" <gi...@apache.org>.
hemasrishalini commented on PR #4439:
URL: https://github.com/apache/polaris/pull/4439#issuecomment-4458709618
I investigated the existing validation and packaging flow further.
From what I found:
* LicenseNoticeMerge already fails if LICENSE/NOTICE inputs are missing.
* LicenseFileValidation already validates missing and superfluous dependency license mentions.
* The distribution packaging also uses the merged output directly via `from(licenseNoticeMerge)`.
So I understand now that my current archive presence validation overlaps significantly with the existing implementation.
If there is still a specific validation scenario from #4186 that is not currently covered, Iโd be happy to continue working on that direction.
--
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: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org