Conversation
c64ef74 to
d678af7
Compare
|
This is great! 🙏 I think it might be better to add certain belt (with braces). It doesn’t happen as often with Shutterstock any more, but it used to (so at least will affect migration of old images). It is also a common occurrence for eg. Getty’s intermediaries (Anadolu etc, example PROD id This is the case (PROD id Current code doesn’t check if removed string contains all the tokens otherwise available in their proper fields and cleans it up. This prevents humans from being able to fix the byline manually. |
Good shout, e753e11 adds a check to only remove the credit field if the first part of the slash-delimited byline in the description matches the metadata. Includes cd2de8ef064b2a137f32a0250447cf454afe0fe1 as fixture. Presume the person we care about is (edit) always the first one? |
7c4fab0 to
3e42726
Compare
common-lib/src/main/scala/com/gu/mediaservice/lib/cleanup/SupplierProcessors.scala
Outdated
Show resolved
Hide resolved
removing special instructions and credit information when they are already defined in metadata
…ant to accommodate)
Co-authored-by: Andrew Nowak <10963046+andrew-nowak@users.noreply.github.com>
871018d to
ccf1af7
Compare
|
Seen on thrall, usage, kahuna (created by @jonathonherbert and merged by @paperboyo 8 minutes and 53 seconds ago) Please check your changes! |
|
Seen on leases, cropper (created by @jonathonherbert and merged by @paperboyo 9 minutes ago) Please check your changes! |
|
Seen on auth, collections, image-loader (created by @jonathonherbert and merged by @paperboyo 9 minutes and 4 seconds ago) Please check your changes! |
|
Seen on metadata-editor, media-api (created by @jonathonherbert and merged by @paperboyo 9 minutes and 11 seconds ago) Please check your changes! |
|
Seen on media-api (created by @jonathonherbert and merged by @paperboyo 9 minutes and 11 seconds ago) Please check your changes! |
|
Seen on metadata-editor (created by @jonathonherbert and merged by @paperboyo 9 minutes and 17 seconds ago) Please check your changes! |
|
Seen on metadata-editor (created by @jonathonherbert and merged by @paperboyo 9 minutes and 18 seconds ago) Please check your changes! |
What does this change?
Clean up shutterstock image descriptions, by removing special instructions and credit information when they are already wholly defined in metadata. When they are not in the metadata, we leave them in the description — this is especially important if the description is the only place a photographer's byline is included.
How should a reviewer test this change?
How can success be measured?
Staff spend less time spent cleaning captions.
Who should look at this?
Tested? Documented?