Skip to content

Commit 95d15c0

Browse files
committed
Update configurations and references for 2022
1 parent b66e013 commit 95d15c0

File tree

6 files changed

+24
-30
lines changed

6 files changed

+24
-30
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy to static server
33
on:
44
push:
55
branches:
6-
- ep2023
6+
- ep2022
77
schedule:
88
- cron: "*/10 * * * *" # every 10 minutes
99
workflow_dispatch:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Variables for the project
22
# =========================
3-
CONFERENCE ?= ep2023
3+
CONFERENCE ?= ep2022
44
DATA_DIR ?= ./data/public/$(CONFERENCE)/
55

66
# Variables for remote host

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
> This Program API as we know it was not implemented until 2024. The data might be incomplete or not fully accurate.
55
66
## Accessing the Program API
7-
- https://static.europython.eu/programme/ep2023/releases/current/speakers.json
8-
- https://static.europython.eu/programme/ep2023/releases/current/sessions.json
9-
- https://static.europython.eu/programme/ep2023/releases/current/schedule.json
7+
- https://static.europython.eu/programme/ep2022/releases/current/speakers.json
8+
- https://static.europython.eu/programme/ep2022/releases/current/sessions.json
9+
- https://static.europython.eu/programme/ep2022/releases/current/schedule.json

src/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66

77
class Config:
8-
event = "europython-2023"
9-
event_dir_name = "ep2023"
8+
event = "europython-2022"
9+
event_dir_name = "ep2022"
1010
api_version = "v1"
1111

1212
project_root = Path(__file__).resolve().parents[1]

src/misc.py

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
class SpeakerQuestion:
55
affiliation = "Company / Institute"
66
homepage = "Homepage"
7-
twitter = "Twitter / Mastodon handle(s)"
7+
twitter = "Twitter handle"
88
bluesky = "Social (Bluesky)"
99
linkedin = "LinkedIn"
10-
mastodon = "Twitter / Mastodon handle(s)"
10+
mastodon = "Social (Mastodon)"
1111
gitx = "Github/Gitlab"
1212

1313

1414
class SubmissionQuestion:
15-
tweet = "Abstract as a tweet / toot"
15+
tweet = "Abstract as a tweet"
1616
delivery = "My presentation can be delivered"
1717
level = "Expected audience expertise"
1818

@@ -31,25 +31,17 @@ class Room(Enum):
3131
Rooms at the conference venue, this can change year to year
3232
"""
3333

34-
# Tutorial/workshop rooms
35-
club_a = "Club A"
36-
club_b = "Club B"
37-
club_c = "Club C"
38-
club_d = "Club D"
39-
club_e = "Club E"
40-
club_h = "Club H"
41-
42-
# Conference rooms
43-
forum_hall = "PyCharm (Forum Hall)"
44-
terrace_2a = "Terrace 2A"
45-
terrace_2b = "Terrace 2B"
46-
north_hall = "North Hall"
47-
south_hall_2a = "South Hall 2A"
48-
south_hall_2b = "South Hall 2B"
49-
exhibit_hall = "Exhibit Hall"
50-
51-
# Other rooms
52-
open_space = "Open Space"
34+
liffey_a = "Liffey A"
35+
liffey_b = "Liffey B"
36+
liffey_hall_1 = "Liffey Hall 1"
37+
liffey_hall_2 = "Liffey Hall 2"
38+
wicklow_hall_1 = "Wicklow Hall 1"
39+
wicklow_hall_2 = "Wicklow Hall 2"
40+
wicklow_hall_2a = "Wicklow Hall 2A"
41+
wicklow_hall_2b = "Wicklow Hall 2B"
42+
the_auditorium = "The Auditorium"
43+
liffey_meeting_room_2 = "Liffey Meeting Room 2"
44+
forum = "Forum"
5345

5446

5547
class EventType(Enum):

src/models/europython.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,10 @@ def extract_answers(cls, values) -> dict:
349349
values["tweet"] = answer.answer_text
350350

351351
if answer.question_text == SubmissionQuestion.delivery:
352-
if "in-person" in answer.answer_text:
352+
if answer.answer_text == "in-person at the conference":
353353
values["delivery"] = "in-person"
354+
elif answer.answer_text == "in-person or remote":
355+
values["delivery"] = "in-person or remote"
354356
else:
355357
values["delivery"] = "remote"
356358

0 commit comments

Comments
 (0)