D4.1 Database-authored events in DTC
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
First confirm C5.3 is done in docs/plan/STATUS.md, then read AGENTS.md, _docs/PROCESS.md, docs/plan/phase-4.md, and the listed events files and specifications. Trace the existing Event, Q&A, importer, and service models before planning the event_qna and historical_registrations apps and import. Done means the migration preserves row counts and identifiers, the listed pytest and compatibility tests pass, and the core Playwright events tests pass.
Written by the indexing model from the issue text.
Description
Plan issue D4.1, phase 4 of the community-base unification plan.
Spec: docs/plan/phase-4.md, section D4.1, in DataTalksClub/community-base. Status is tracked in docs/plan/STATUS.md there, which stays the source of truth.
Depends on: C5.3. Do not start until every one of them is done in STATUS.md.
Process
This repository's AGENTS.md and _docs/PROCESS.md govern this work, with _docs/specs/ as the product authority. The plan says what to build and how to verify it; the site process says how work is done here.
Spec
Repository: DataTalksClub/website. Depends on: C5.3. Playbook P5 for events.
Read first
events/models.py,events/identity.py,events/importers.py,events/qna/,
events/services.py,_docs/specs/05-events-registration-email.md"Event model",
_docs/architecture/event-qna-integration.md,_docs/compatibility/.
Steps
- Export current events, Q&A sessions and historical aggregates (P5 step 1).
- Create
event_qnaapp: models fromevents/qna/withsession.eventas aOneToOneField
toevents.Event(integer pk now); views and Studio pages unchanged otherwise.
historical_registrationsapp for the aggregate models keyed byevent_id. - Remove the
eventsparser from the content sync; removeevents/app; install
community_base.eventswithEVENT_URL_STYLE="public_id"; rebuild tables (P5 steps 2 to 4). - Import command: old
Eventrows -> sharedEventwithpublic_idpreserved,slug
preserved, speakers ->Host(kind=speaker, external_ref=<people short>), lifecycle mapped to
status; Q&A sessions and aggregates re-linked bypublic_id. - Studio: DTC event pages come from the package; Q&A and historical totals register under the
Eventssection. - Public detail keeps speaker links through
HOST_PROFILE_RESOLVER; description bridge from
_docs/event-description-bridge.mdbecomes the description field content.
Verification
- Row counts before and after import equal for events, Q&A sessions, aggregates.
uv run pytest events event_qna historical_registrations -q-> pass; compatibility route
test passes; Playwright core events tests pass.
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DataTalksClub/website
-
bug infra operations P1 testing
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
DataTalksClub/website#329 ·
-
bug content data-migration documentation events operations P1
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
DataTalksClub/website#327 ·
-
bug frontend P0 testing
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
DataTalksClub/website#300 · 7 comments ·
-
bug data-migration events P0 testing
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
DataTalksClub/website#295 · 6 comments ·
-
courses enhancement P2
Difficulty 4/5 3-5 days Newbie friendliness 35/100
DataTalksClub/website#455 · 6 comments ·
All issues in DataTalksClub/website
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
area:docs
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
RailtownAI/railtracks#1633 ·
Maintainers usually reply within 2 days
-
review-panel severity:low
Difficulty 1/5 Under an hour Newbie friendliness 85/100
kristovatlas/coin-accounting#152 ·
Maintainers usually reply within 1 day
-
documentation :blue_book:
Difficulty 1/5 Under an hour Newbie friendliness 88/100
PennyLaneAI/pennylane#10280 ·
Maintainers usually reply within 2 days
-
`pipx reinstall` prints a Python traceback when the reinstall failsPossibly taken @ParamTanna claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day