From 3273f9a76c138c05ec96a56efda372cd7c2d71a9 Mon Sep 17 00:00:00 2001 From: confs-tech-bot <37353062+confs-tech-bot@users.noreply.github.com> Date: Fri, 13 Jun 2025 09:17:34 -0400 Subject: [PATCH 1/3] Add Data 2030 Summit for data --- conferences/2025/data.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/conferences/2025/data.json b/conferences/2025/data.json index c082f0c3d..4f4231de8 100644 --- a/conferences/2025/data.json +++ b/conferences/2025/data.json @@ -685,6 +685,16 @@ "bluesky": "infoq.bsky.social", "mastodon": "@infoq@techhub.social" }, + { + "name": "Data 2030 Summit", + "url": "https://data2030summit.com", + "startDate": "2025-10-21", + "endDate": "2025-10-22", + "city": "Stockholm", + "country": "Sweden", + "online": true, + "locales": "EN" + }, { "name": "International PHP Conference Munich", "url": "https://phpconference.com/munich", From 022bfebf58af08a2f3b1afa02c5d2d5c1ba624c4 Mon Sep 17 00:00:00 2001 From: Juan Pablo Diaz Date: Fri, 20 Jun 2025 09:18:28 -0400 Subject: [PATCH 2/3] fix: skip URL year validation for conferences with year in their brand name --- scripts/utils/checkConference.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/utils/checkConference.ts b/scripts/utils/checkConference.ts index 3abcd5006..e145baccb 100644 --- a/scripts/utils/checkConference.ts +++ b/scripts/utils/checkConference.ts @@ -102,6 +102,12 @@ export default function (year: string, conference: MergedConference, assertField const year: number = parseInt(urlContainsYear[0]); const eventStartYear: number = new Date(conference.startDate).getFullYear(); const diffInYears: number = Math.abs(year - eventStartYear); + + // Special case for conferences with years in their brand name + if (conference.name.includes(urlContainsYear[0])) { + return; // Skip validation if the year in URL is part of the conference name + } + if (diffInYears == 0 || diffInYears > 5) { return; } From d4528c93f76d91c198be65f379ce75af38e0d77b Mon Sep 17 00:00:00 2001 From: Juan Pablo Diaz Date: Fri, 20 Jun 2025 09:20:48 -0400 Subject: [PATCH 3/3] format --- scripts/utils/checkConference.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/utils/checkConference.ts b/scripts/utils/checkConference.ts index e145baccb..652571c44 100644 --- a/scripts/utils/checkConference.ts +++ b/scripts/utils/checkConference.ts @@ -102,12 +102,12 @@ export default function (year: string, conference: MergedConference, assertField const year: number = parseInt(urlContainsYear[0]); const eventStartYear: number = new Date(conference.startDate).getFullYear(); const diffInYears: number = Math.abs(year - eventStartYear); - + // Special case for conferences with years in their brand name if (conference.name.includes(urlContainsYear[0])) { return; // Skip validation if the year in URL is part of the conference name } - + if (diffInYears == 0 || diffInYears > 5) { return; }