8000 feat: new meeting registration implementation by rpcross · Pull Request #8408 · ietf-tools/datatracker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: new meeting registration implementation #8408

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

Merged
merged 17 commits into from
Apr 15, 2025

Conversation

rpcross
Copy link
Collaborator
@rpcross rpcross commented Jan 10, 2025

New implementation of meeting registrations. Moved from stats.MeetingRegistration to meeting.Registration and meeting.RegistrationTickets. Also new API and management command, migrate_registrations, to copy MeetingRegistration records to Registration.

This is just the first step in a series. The management command can be called from cron regularly to populate the new table, Registration, from the old. Future commits will migrate all the existing code that uses MeetingRegistration to using Registration. Once that is complete the Registration system can be changed to use the new API, stop running the migration, then remove the old table and API.

This PR replaces #7724

Copy link
codecov bot commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 84.89583% with 29 lines in your changes missing coverage. Please review.

Project coverage is 88.78%. Comparing base (1b4afc9) to head (76736d4).
Report is 49 commits behind head on main.

Files with missing lines Patch % Lines
ietf/api/views.py 73.61% 19 Missing ⚠️
ietf/meeting/models.py 83.33% 4 Missing ⚠️
ietf/meeting/utils.py 92.45% 4 Missing ⚠️
ietf/meeting/tasks.py 66.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8408      +/-   ##
==========================================
- Coverage   88.80%   88.78%   -0.02%     
==========================================
  Files         314      314              
  Lines       41213    41434     +221     
==========================================
+ Hits        36601    36789     +188     
- Misses       4612     4645      +33     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member
@jennifer-richards jennifer-richards left a comment

Choose a reason for hiding this comment

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

I still have a few things to think about, but wanted to get some feedback to you. I like the direction. We'll need to create a feat branch to receive the series of PRs before merging to main. Maybe feat/registration would be a good name?

Copy link
Member
@jennifer-richards jennifer-richards left a comment

Choose a reason for hiding this comment

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

Looking good. For the record, we discussed out-of-band whether the initial=True branch of the migration utility would be better as a Django migration or done manually, but I think it's better to keep it as it's done here.

I think the names.json needs an update. Would also be good to combine the migrations (i.e., remove them and regenerate)

One other comment inline.

@rjsparks rjsparks merged commit 0348dbd into ietf-tools:main Apr 15, 2025
10 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2025
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.

3 participants
0