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

Person identifier cleaning #2433

Merged
merged 5 commits into from
Aug 8, 2024
Merged

Person identifier cleaning #2433

merged 5 commits into from
Aug 8, 2024

Conversation

symroe
Copy link
Member

@symroe symroe commented Aug 7, 2024

This PR combines and replaces #2400 and #2406 into one PR.

I combined them because both PRs contained the same management command with different code in it. I decided to re-write it to make it more generic.

I also did some cleaning up of the validation and cleaning code.

Tested on a staging copy of the database.

@symroe symroe requested a review from chris48s August 7, 2024 11:59
Copy link
Member

@chris48s chris48s left a comment

Choose a reason for hiding this comment

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

I haven't run this code locally, but I've had a quick read over the diff. Here's a few thoughts..

ynr/apps/people/tests/test_person_form_identifier_crud.py Outdated Show resolved Hide resolved
ynr/apps/people/helpers.py Outdated Show resolved Hide resolved
ynr/apps/people/helpers.py Outdated Show resolved Hide resolved
ynr/apps/people/tests/test_person_form_identifier_crud.py Outdated Show resolved Hide resolved
ynr/apps/people/tests/test_person_form_identifier_crud.py Outdated Show resolved Hide resolved
ynr/apps/candidatebot/helpers.py Show resolved Hide resolved
@chris48s
Copy link
Member

chris48s commented Aug 7, 2024

Oh, and your build is ❌ failing 😆

ynr/apps/people/helpers.py Fixed Show fixed Hide fixed
@symroe symroe force-pushed the person-identifier-cleaning branch from 0a7329a to 6327f12 Compare August 7, 2024 14:34
@symroe
Copy link
Member Author

symroe commented Aug 7, 2024

Ok, I reckon that's all of those comments addressed?

Copy link
Member

@chris48s chris48s left a comment

Choose a reason for hiding this comment

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

Latest changes look pretty sensible. Ta

@symroe symroe merged commit 9bbc554 into master Aug 8, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants