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

fix(semver): Set semver cols on pre_save #28946

Merged
merged 1 commit into from
Sep 30, 2021

Conversation

ahmedetefy
Copy link
Contributor

Creates a pre_save signal that parses release version into semver on creation

@ahmedetefy ahmedetefy requested a review from wedamija September 29, 2021 14:22
@ahmedetefy ahmedetefy requested a review from a team as a code owner September 29, 2021 14:22
@@ -847,6 +847,41 @@ def test_parse_release_into_semver_cols_with_get_or_create(self):
assert release.build_number is None
assert release.package == "org.example.FooApp"

def test_parse_release_into_semver_cols_on_pre_save(self):
"""
Test that ensures get_or_create populates semver fields
Copy link
Member

Choose a reason for hiding this comment

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

Nit: These doc strings look wrong

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops you are right.. I had it on my mind to change but forgot

Creates a pre_save signal that parses release
version into semver on creation
@ahmedetefy ahmedetefy force-pushed the ahmed-add-semver-parse-presave branch from 59e0fdd to d2efe5c Compare September 30, 2021 08:04
@ahmedetefy ahmedetefy merged commit 3cc2e18 into master Sep 30, 2021
@ahmedetefy ahmedetefy deleted the ahmed-add-semver-parse-presave branch September 30, 2021 08:35
vuluongj20 pushed a commit that referenced this pull request Sep 30, 2021
Creates a pre_save signal that parses release
version into semver on creation
@github-actions github-actions bot locked and limited conversation to collaborators Oct 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants