Skip to content

Conversation

artcz
Copy link
Contributor

@artcz artcz commented Apr 12, 2025

Basic background task to download pretalx submissions/speakers data.

This is first step to making the programme data available in intbot.

The next step after downloading the data, will be to parse it to separate tables so that we can write simple queries against them. (this is coming in future PRs)

TODO for this PR:

  • Add management command to trigger the downloads
  • Add cronjob to pull the data automatically on a regular basis
  • Add a database migration to create a Table for PretalxData

@artcz artcz requested review from clytaemnestra and egeakman April 12, 2025 21:38
@artcz artcz self-assigned this Apr 12, 2025
@egeakman egeakman requested a review from Copilot April 14, 2025 05:53
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

intbot/intbot/settings.py:288

  • The PRETALX_API_TOKEN is declared globally and then overwritten for the dev environment, which might lead to confusion; consider consolidating the configuration to maintain a single source of truth.
PRETALX_API_TOKEN = "Test-Pretalx-API-token"

url = base_url + f"{endpoint}"

# Pretalx paginates the output, so we will need to do multiple requests and
# then merge mutliple pages to one big dictionary
Copy link

Copilot AI Apr 14, 2025

Choose a reason for hiding this comment

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

There is a minor spelling error: 'mutliple' should be corrected to 'multiple'.

Suggested change
# then merge mutliple pages to one big dictionary
# then merge multiple pages to one big dictionary

Copilot uses AI. Check for mistakes.

@artcz artcz merged commit 538db9b into main Apr 24, 2025
2 checks passed
@artcz artcz deleted the pretalx-data branch April 24, 2025 16:50
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.

2 participants