image duplicates: fix handling of sidecar files (#9621)
Merge branch 'master' into duplicate_fix
Merge branch 'master' into duplicate_fix
xmp files: make parsing of uncompressed data more bullet proof
release cache before the lr import circuitry.
Merge branch 'duplicate_fix' of ssh://github.com/darktable-org/darktable into duplicate_fix
image duplicates: on DELETE of last duplicate also delete all orphaned xmp files

orphaned xmp files represent previously REMOVED duplicates. they are kept so one can
reimport the folder and fully reconstruct all edits. however, when the source data
file has been deleted there is no reason to keep those sidecar files.
image COPY: also copy history stack and take care of duplicate handling
Merge branch 'duplicate_fix'

this branch contains a set of fixes that should resolve #9621 and some other issues with
duplicate handling