Skip to content

Improve PA credit parsing#4503

Merged
andrew-nowak merged 1 commit into
mainfrom
an/improve-pa-credit-parsing
Jul 23, 2025
Merged

Improve PA credit parsing#4503
andrew-nowak merged 1 commit into
mainfrom
an/improve-pa-credit-parsing

Conversation

@andrew-nowak

@andrew-nowak andrew-nowak commented Jul 22, 2025

Copy link
Copy Markdown
Member

What does this change?

Improves parsing of PA credits. Rather than replacing credit with "PA" wholesale, we extract the section which identifies PA, then place "PA" as the final part of the credit.

How should a reviewer test this change?

Ask @paperboyo very nicely to test this change.

How can success be measured?

Who should look at this?

Tested? Documented?

  • locally by committer
  • locally by Guardian reviewer
  • on the Guardian's TEST environment
  • relevant documentation added or amended (if needed)

@andrew-nowak andrew-nowak requested a review from a team as a code owner July 22, 2025 16:13
@andrew-nowak andrew-nowak force-pushed the an/improve-pa-credit-parsing branch from d0f454c to e371392 Compare July 22, 2025 16:20

@bryophyta bryophyta left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code and test cases look good to me 👍

@prout-bot

Copy link
Copy Markdown

Seen on auth, usage, cropper, image-loader, metadata-editor, thrall (merged by @andrew-nowak 11 minutes and 56 seconds ago) Please check your changes!

@prout-bot

Copy link
Copy Markdown

Seen on collections, leases, kahuna, media-api (merged by @andrew-nowak 12 minutes and 5 seconds ago) Please check your changes!

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.

3 participants