David Handermann created NIFI-16346:
---------------------------------------
Summary: Replace Webpack Content Hash with Project Version in
Registry UI
Key: NIFI-16346
URL: https://issues.apache.org/jira/browse/NIFI-16346
Project: Apache NiFi
Issue Type: Improvement
Components: NiFi Registry
Reporter: David Handermann
Assignee: David Handermann
The NiFi Registry web UI production webpack configuration includes a content
hash in JavaScript and CSS bundle filenames. Webpack 4 computes this hash from
the module graph rather than the emitted file contents, which produces
different filenames across rebuilds even when the bundle bytes are identical.
The production configuration should be updated to include the Maven project
version in bundle filenames instead of the content hash, defaulting to SNAPSHOT
when the version is not provided, so cache-busting is preserved across releases
while supporting reproducible builds.
This issue is visible in the [diffoscope
evaluation|https://github.com/jvm-repo-rebuild/reproducible-central/blob/d0e94ea4d3c0cd1b30d85885e81b54596044a6cf/content/org/apache/nifi/nifi/nifi-2.12.0.diffoscope]
of NiFi 2.12.0.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)