Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(server): Handle sidecars in external libraries #14800

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

etnoy
Copy link
Contributor

@etnoy etnoy commented Dec 19, 2024

Recent improvements in sidecar handling in uploaded assets haven't propagated to external libraries before now.

With this PR, we correctly handle both file.jpg.xmp and file.xmp.

The key part is that we force a sidecar update for every metadata extraction of an external asset.

e2e tests added

A limitation that remains is that we don't automatically import changes when only the xmp is changed. The user will have to manually initiate a metadata refresh of the affected assets when this happens. This will be handled in the future by the planned asset file handling rework, but this depends on the kysely migration :) With the new asset file rework we will only re-discover xmp files when we actually need to.

This PR is a prerequisite for #14456

@etnoy etnoy force-pushed the fix/external-library-sidecars branch from 7af5081 to d0bb59f Compare December 19, 2024 14:01
@etnoy etnoy force-pushed the fix/external-library-sidecars branch 7 times, most recently from 400e4e0 to a542e87 Compare December 19, 2024 23:14
@etnoy etnoy force-pushed the fix/external-library-sidecars branch from a542e87 to 8868d38 Compare December 20, 2024 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant