Given a work already in the index:
- The same work with a higher transformer version always overrides it
- The same work with the same transformer version and more sources merged in overrides it
- The same work with the same transformer version which have been unlinked from some/all sources overrides it
- The same work with the same transformer version which has been redirected overrides it
Given an image already in the index:
- The same image with a higher transformer version always overrides it
- The same image with the same transformer version but a higher transformer version of any source always overrides it
- The same image with the same transformer version and the same transformer version of all sources, but where any of the sources have more sources merged in, overrides it
- The same image with the same transformer version and a new redirected source overrides it
All but the first point are really just applying the works rules to the works in image.source, but:
- This can't be done "literally" as the image source works are just work data and do not contain the work state directly
- The image.source can contain 2 works (canonical and redirected) - but perhaps we can just apply the rules to the canonical work as this will (?) contain the information about redirects?
Good point - I'll try to work through the example which led me to that originally and see what the "real" issue is:
source.canonicalWork
referring to the work created at this stage.source.canonicalWork
referring to the merged Sierra work andsource.redirectedWork
referring to the Miro work that will now be redirected.