[ 
https://issues.apache.org/jira/browse/NIFI-16346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18116339#comment-18116339
 ] 

ASF subversion and git services commented on NIFI-16346:
--------------------------------------------------------

Commit 74eab88bfd6ee668a04122545c8df527c50bf957 in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=74eab88bfd6 ]

NIFI-16346 Replaced Hash with Version in Registry Web UI (#11687)

> 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
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to