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/packit service/1328 bis #2070

Conversation

majamassarini
Copy link
Member

@majamassarini majamassarini commented May 29, 2023

Fixes #1328 (point 3)

The new db diagram:
ERDiagram

@softwarefactory-project-zuul
Copy link
Contributor

@majamassarini majamassarini force-pushed the fix/packit-service/1328-bis branch 2 times, most recently from a9c2db9 to 0c670bc Compare June 28, 2023 10:53
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://softwarefactory-project.io/zuul/t/packit-service/buildset/268eec83c0ca4c98a31d6639e8cbfadb

✔️ pre-commit SUCCESS in 2m 06s
✔️ packit-service-tests SUCCESS in 2m 24s
✔️ packit-service-tests-openshift SUCCESS in 15m 21s

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://softwarefactory-project.io/zuul/t/packit-service/buildset/49bfdef041f44e3ca8938caa9979e265

✔️ pre-commit SUCCESS in 2m 10s
✔️ packit-service-tests SUCCESS in 2m 25s
✔️ packit-service-tests-openshift SUCCESS in 13m 33s

@softwarefactory-project-zuul
Copy link
Contributor

@softwarefactory-project-zuul
Copy link
Contributor

@softwarefactory-project-zuul
Copy link
Contributor

@softwarefactory-project-zuul
Copy link
Contributor

@majamassarini
Copy link
Member Author

recheck

@softwarefactory-project-zuul

This comment was marked as outdated.

@softwarefactory-project-zuul
Copy link
Contributor

@softwarefactory-project-zuul

This comment was marked as outdated.

@softwarefactory-project-zuul
Copy link
Contributor

@majamassarini
Copy link
Member Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

@majamassarini
Copy link
Member Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

@majamassarini
Copy link
Member Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://softwarefactory-project.io/zuul/t/packit-service/buildset/8c87dcdf3bb64093905321d9937f9e2c

✔️ pre-commit SUCCESS in 1m 50s
✔️ packit-service-tests SUCCESS in 2m 03s
✔️ packit-service-tests-openshift SUCCESS in 11m 32s

@softwarefactory-project-zuul
Copy link
Contributor

@majamassarini
Copy link
Member Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

Many ProjectEventModel(s) can work on the same
AbstractProjectObjectDbType (as an example
many pull request pushes can work on the same pull request object).
We need to pass around the event, because we can not
get an event from the object (we will end up with multiple events...).
The db_project_object is retrieved through the related db_project_event.
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://softwarefactory-project.io/zuul/t/packit-service/buildset/15325c062fbd412d9fe7f3d90f768e49

✔️ pre-commit SUCCESS in 1m 43s
✔️ packit-service-tests SUCCESS in 2m 10s
✔️ packit-service-tests-openshift SUCCESS in 13m 18s

Copy link
Member

@lbarcziova lbarcziova left a comment

Choose a reason for hiding this comment

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

this is admirable work Maja!! 🚀

just a few notes, it would be nice to get this to staging and test it there

as for the migration, have you tested that with the production data?

packit_service/models.py Outdated Show resolved Hide resolved
packit_service/models.py Outdated Show resolved Hide resolved
@softwarefactory-project-zuul
Copy link
Contributor

@majamassarini
Copy link
Member Author

as for the migration, have you tested that with the production data?

Yes, on my laptop with the production data the migration took more than half an hour but less than an hour.

majamassarini and others added 4 commits August 8, 2023 09:55
Co-authored-by: Laura Barcziová <49026743+lbarcziova@users.noreply.github.com>
Co-authored-by: Laura Barcziová <49026743+lbarcziova@users.noreply.github.com>
@softwarefactory-project-zuul
Copy link
Contributor

@majamassarini
Copy link
Member Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://softwarefactory-project.io/zuul/t/packit-service/buildset/fc35be2d09994b19baf05b2c62b71160

✔️ pre-commit SUCCESS in 2m 07s
✔️ packit-service-tests SUCCESS in 2m 42s
✔️ packit-service-tests-openshift SUCCESS in 15m 14s

Copy link
Member

@lbarcziova lbarcziova left a comment

Choose a reason for hiding this comment

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

let's ship it!

thanks Maja for taking this complext issue!

@majamassarini majamassarini added the mergeit When set, zuul wil gate and merge the PR. label Aug 8, 2023
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).
https://softwarefactory-project.io/zuul/t/packit-service/buildset/1e4495e3ebc2475091cda80f31530b11

✔️ pre-commit SUCCESS in 1m 55s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 314a380 into packit:main Aug 8, 2023
3 checks passed
softwarefactory-project-zuul bot added a commit to packit/hardly that referenced this pull request Aug 10, 2023
commit_sha has been moved to project_events table

Merge after packit/packit-service#2070

Reviewed-by: Laura Barcziová
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergeit When set, zuul wil gate and merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Database: project reference model
2 participants