You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/07/11 08:24:00 UTC

[jira] [Updated] (MBUILDCACHE-99) Project checksum fails to identify moved files in certain cases

     [ https://issues.apache.org/jira/browse/MBUILDCACHE-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated MBUILDCACHE-99:
--------------------------------------
    Labels: pull-request-available  (was: )

> Project checksum fails to identify moved files in certain cases
> ---------------------------------------------------------------
>
>                 Key: MBUILDCACHE-99
>                 URL: https://issues.apache.org/jira/browse/MBUILDCACHE-99
>             Project: Maven Build Cache Extension
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Amir Hadadi
>            Priority: Major
>              Labels: pull-request-available
>
> Input files checksum is calculated by sorting all files and using their content (but not their path) to update a checksum.
> Let's say that there are 2 files named A,B and B gets renamed to C. Since the order of the files didn't change and the contents of the files didn't change, the input files checksum remains the same.
> The solution is to include the normalized file path in the file checksum calculation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)