Skip to content
Snippets Groups Projects
Verified Commit 416e7f03 authored by Felix Eckhofer's avatar Felix Eckhofer :man_dancing:
Browse files

Disable creating old events

parent 963b976d
No related branches found
No related tags found
No related merge requests found
......@@ -8,43 +8,46 @@
# MovieGenre.find_or_create_by!(name: genre_name)
# end
Conference.find_or_create_by!(slug: "rp2023") do |c|
c.name = "re:publica 2023"
c.time_zone = "Berlin"
c.starts_at = DateTime.parse("Mon, 05 Jun 2023 08:30:00.000000000 UTC +00:00")
c.ends_at = DateTime.parse("Wed, 07 Jun 2023 20:50:00.000000000 UTC +00:00")
c.data = {
"speakers_url" => "https://re-publica.com/sites/default/files/extappdata/2023/speaker.json",
"sessions_url" => "https://re-publica.com/sites/default/files/extappdata/2023/session.json"
}
c.import_job_class = "republica_2023_or_later"
c.location = "Arena Berlin"
end
# Conference.find_or_create_by!(slug: "rp2023") do |c|
# c.name = "re:publica 2023"
# c.time_zone = "Berlin"
# c.starts_at = DateTime.parse("Mon, 05 Jun 2023 08:30:00.000000000 UTC +00:00")
# c.ends_at = DateTime.parse("Wed, 07 Jun 2023 20:50:00.000000000 UTC +00:00")
# c.data = {
# "speakers_url" => "https://re-publica.com/sites/default/files/extappdata/2023/speaker.json",
# "sessions_url" => "https://re-publica.com/sites/default/files/extappdata/2023/session.json"
# }
# c.import_job_class = "republica_2023_or_later"
# c.location = "Arena Berlin"
# c.save!
# end
Conference.find_or_create_by!(slug: "rp2024") do |c|
c.name = "re:publica 2024"
c.time_zone = "Berlin"
c.starts_at = DateTime.parse("27 May 2024 10:30 CEST")
c.ends_at = DateTime.parse("29 May 2024 19:45 CEST")
c.data = {
"speakers_url" => "https://re-publica.com/sites/default/files/extappdata/2024/speaker.json",
"sessions_url" => "https://re-publica.com/sites/default/files/extappdata/2024/session.json"
}
c.import_job_class = "republica_2023_or_later"
c.location = "STATION Berlin"
end
# Conference.find_or_create_by!(slug: "rp2024") do |c|
# c.name = "re:publica 2024"
# c.time_zone = "Berlin"
# c.starts_at = DateTime.parse("27 May 2024 10:30 CEST")
# c.ends_at = DateTime.parse("29 May 2024 19:45 CEST")
# c.data = {
# "speakers_url" => "https://re-publica.com/sites/default/files/extappdata/2024/speaker.json",
# "sessions_url" => "https://re-publica.com/sites/default/files/extappdata/2024/session.json"
# }
# c.import_job_class = "republica_2023_or_later"
# c.location = "STATION Berlin"
# c.save!
# end
Conference.find_or_create_by!(slug: "37c3") do |c|
c.name = "37th Chaos Communication Congress"
c.time_zone = "Berlin"
c.starts_at = DateTime.parse("27 December 2023 10:30 CET")
c.ends_at = DateTime.parse("30 December 2023 19:00 CET")
c.data = {
"schedule_url" => "https://fahrplan.events.ccc.de/congress/2023/fahrplan/schedule.json"
}
c.import_job_class = "pretalx"
c.location = "Congress Center Hamburg"
end
# Conference.find_or_create_by!(slug: "37c3") do |c|
# c.name = "37th Chaos Communication Congress"
# c.time_zone = "Berlin"
# c.starts_at = DateTime.parse("27 December 2023 10:30 CET")
# c.ends_at = DateTime.parse("30 December 2023 19:00 CET")
# c.data = {
# "schedule_url" => "https://fahrplan.events.ccc.de/congress/2023/fahrplan/schedule.json"
# }
# c.import_job_class = "pretalx"
# c.location = "Congress Center Hamburg"
# c.save!
# end
Conference.find_or_create_by!(slug: "38c3") do |c|
c.name = "38th Chaos Communication Congress (de-en)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment