You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "bobbai00 (via GitHub)" <gi...@apache.org> on 2026/05/02 09:10:48 UTC
[I] Auto-generate per-module NOTICE-binary from jars' META-INF/NOTICE [texera]
bobbai00 opened a new issue, #4674:
URL: https://github.com/apache/texera/issues/4674
### What happened?
After #4668 lands, the per-module `NOTICE-binary` files describe each Docker image's bundled third-party content, but they're hand-curated subsets of the previously-curated root `NOTICE-binary`. Hand-curated NOTICE files rot fast — every dep bump silently drifts the committed content from what the jars' `META-INF/NOTICE` actually carry.
ASF compliance under Apache-2.0 §4(d) requires reproducing the attribution notices in every Apache-2.0 dep's bundled `NOTICE` file. Those notices live in each jar's `META-INF/NOTICE`. The right source of truth is the jars themselves.
### Proposed change
Add a generator that produces each `<module>/NOTICE-binary` from the actual bundled jars:
1. Walks the module's `lib/` dir.
2. For each jar, extracts every `META-INF/NOTICE`-style file.
3. Dedupes by content hash so jars sharing an upstream NOTICE collapse into one block.
4. Emits one block per unique blob with a synthesized project heading + the verbatim upstream content.
5. Optional `--extras` for non-jar attributions (Apache-2.0 Python wheels like aiohttp + Matplotlib that don't ship a NOTICE inside any jar).
Then add a CI check that regenerates `<module>/NOTICE-binary` against the freshly-built dist `lib/` and diffs against the committed file. Drift fails the build with a one-line fix-up command.
### Version
1.1.0-incubating (Pre-release/Master)
### Depends on
This change requires #4668 to land first (which introduces the per-module `NOTICE-binary` files in the first place).
--
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: notifications-unsubscribe@texera.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Auto-generate per-module NOTICE-binary from jars' META-INF/NOTICE [texera]
Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang commented on issue #4674:
URL: https://github.com/apache/texera/issues/4674#issuecomment-4637958310
@xuang7 please move this under v1.2
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Auto-generate per-module NOTICE-binary from jars' META-INF/NOTICE [texera]
Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang commented on issue #4674:
URL: https://github.com/apache/texera/issues/4674#issuecomment-4637925147
should we target v1.2?
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Auto-generate per-module NOTICE-binary from jars' META-INF/NOTICE [texera]
Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang commented on issue #4674:
URL: https://github.com/apache/texera/issues/4674#issuecomment-4637867786
@bobbai00 is this done?
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Auto-generate per-module NOTICE-binary from jars' META-INF/NOTICE [texera]
Posted by "bobbai00 (via GitHub)" <gi...@apache.org>.
bobbai00 commented on issue #4674:
URL: https://github.com/apache/texera/issues/4674#issuecomment-4637949006
Yes, let's include it in v1.2.
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Auto-generate per-module NOTICE-binary from jars' META-INF/NOTICE [texera]
Posted by "bobbai00 (via GitHub)" <gi...@apache.org>.
bobbai00 commented on issue #4674:
URL: https://github.com/apache/texera/issues/4674#issuecomment-4637908948
> [@bobbai00](https://github.com/bobbai00) is this done?
Not yet.
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Auto-generate per-module NOTICE-binary from jars' META-INF/NOTICE [texera]
Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang closed issue #4674: Auto-generate per-module NOTICE-binary from jars' META-INF/NOTICE
URL: https://github.com/apache/texera/issues/4674
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org