Skip to content

Commit

Permalink
ci: enhance detection of file names and dates
Browse files Browse the repository at this point in the history
  • Loading branch information
cubercsl committed Mar 14, 2022
1 parent ce6fae3 commit 59fe7be
Show file tree
Hide file tree
Showing 22 changed files with 39 additions and 35 deletions.
1 change: 1 addition & 0 deletions conference-yaml-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ items:
date:
description: When the main conference is happening, e.g., Mar 12-16, 2021
type: string
pattern: ^[ -~]+$
place:
description: Where the main conference is happening, e.g., city, country
type: string
4 changes: 2 additions & 2 deletions conference/AI/ijcai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
timeline:
- deadline: '2022-01-14 23:59:59'
timezone: UTC+1
date: July 23-29, 2022.
place: Vienna, Austria.
date: July 23-29, 2022
place: Vienna, Austria.
4 changes: 2 additions & 2 deletions conference/DS/asplos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
timeline:
- deadline: '2020-08-21 23:59:59'
timezone: AoE
date: April 1923, 2021
date: April 19-23, 2021
place: Virtual
- year: 2022
id: asplos22
Expand All @@ -19,4 +19,4 @@
- deadline: '2021-08-06 23:59:59'
timezone: AoE
date: Feb 28-March 4, 2022
place: Virtual
place: Virtual
4 changes: 2 additions & 2 deletions conference/DS/atc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
timeline:
- deadline: '2021-01-12 23:59:59'
timezone: AoE
date: July 1416, 2021
date: July 14-16, 2021
place: SANTA CLARA, USA
- year: 2022
id: atc2022
link: https://www.usenix.org/conference/atc22/
timeline:
- deadline: '2022-01-13 23:59:59'
timezone: UTC+0
date: July 1113, 2022
date: July 11-13, 2022
place: Omni La Costa Resort & Spa in Carlsbad, CA, USA
6 changes: 3 additions & 3 deletions conference/DS/eurosys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- abstract_deadline: '2020-10-01 23:59:59'
deadline: '2020-10-09 23:59:59'
timezone: AoE
date: April 2629, 2021
date: April 26-29, 2021
place: Edinburgh, UK
- year: 2022
id: eurosys2022
Expand All @@ -20,7 +20,7 @@
- abstract_deadline: '2021-10-01 23:59:59'
deadline: '2021-10-09 23:59:59'
timezone: AoE
date: April 58, 2022
date: April 5-8, 2022
place: Rennes, France
- year: 2023
id: eurosys2023
Expand All @@ -29,5 +29,5 @@
- abstract_deadline: '2022-05-10 23:59:59'
deadline: '2022-05-17 23:59:59'
timezone: AoE
date: May 912, 2023
date: May 9-12, 2023
place: Rome, Italy
6 changes: 3 additions & 3 deletions conference/DS/fast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
timeline:
- deadline: '2020-09-24 23:59:59'
timezone: UTC-7
date: Feburary 2325, 2021
date: Feburary 23-25, 2021
place: Virtual
- year: 2022
id: fast22
link: https://www.usenix.org/conference/fast22/
timeline:
- deadline: '2021-09-23 23:59:59'
timezone: UTC-7
date: Feburary 2124, 2022
place: SANTA CLARA, CA, USA
date: Feburary 21-24, 2022
place: SANTA CLARA, CA, USA
2 changes: 1 addition & 1 deletion conference/DS/fccm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
- deadline: '2022-01-10 23:59:59'
comment: 'full paper deadline'
timezone: AoE
date: May 1518, 2022
date: May 15-18, 2022
place: New York City, USA
2 changes: 1 addition & 1 deletion conference/DS/isca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
- deadline: '2021-11-23 23:59:59'
comment: 'full paper deadline'
timezone: AoE
date: June 1115, 2022
date: June 11-15, 2022
place: New York City, USA
2 changes: 1 addition & 1 deletion conference/DS/sc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
timeline:
- deadline: '2022-04-01 23:59:00'
timezone: AoE
date: November 1318, 2022
date: November 13-18, 2022
place: Dallas, Texas, USA
2 changes: 1 addition & 1 deletion conference/NW/nsdi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
- abstract_deadline: '2022-09-13 23:59:59'
deadline: '2022-09-20 23:59:59'
timezone: UTC-5
date: April 1719, 2023
date: April 17-19, 2023
place: BOSTON, USA
4 changes: 2 additions & 2 deletions conference/SC/esorics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
- deadline: '2022-05-22 23:59:59'
comment: 'Spring Cycle Full Paper Submission'
timezone: UTC+1
date: September 2630, 2022
place: Copenhagen, Denmark
date: September 26-30, 2022
place: Copenhagen, Denmark
4 changes: 2 additions & 2 deletions conference/SC/fc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
- deadline: '2021-09-09 23:59:59'
comment: 'Paper submission'
timezone: UTC-12
date: February 1418, 2022
place: Radisson Grenada Beach Resort Grenada
date: February 14-18, 2022
place: Radisson Grenada Beach Resort Grenada
4 changes: 2 additions & 2 deletions conference/SC/ndss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
- deadline: '2021-07-23 23:59:59'
comment: 'fall'
timezone: UTC-12
date: February 27 March 3, 2022
place: San Diego, California
date: February 27 - March 3, 2022
place: San Diego, California
4 changes: 2 additions & 2 deletions conference/SC/pets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
- deadline: '2022-02-28 23:59:59'
comment: 'Issue 4 Paper Submission Deadline'
timezone: AoE
date: July 1823, 2022
place: Sydney, Australia
date: July 18-23, 2022
place: Sydney, Australia
4 changes: 2 additions & 2 deletions conference/SC/soups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
- deadline: '2021-02-25 23:59:59'
comment: 'Paper Submission Deadline'
timezone: AoE
date: AUGUST 810, 2021
place: Co-located withUSENIX Security '21
date: AUGUST 8-10, 2021
place: Co-located withUSENIX Security '21
4 changes: 2 additions & 2 deletions conference/SC/uss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
- deadline: '2022-02-01 23:59:59'
comment: '3 review cycles'
timezone: UTC-12
date: August 1012, 2022
place: BOSTON, MA, USA
date: August 10-12, 2022
place: BOSTON, MA, USA
2 changes: 1 addition & 1 deletion conference/SE/cp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
- deadline: '2022-02-25 23:59:59'
comment: 'Full Paper Submission'
timezone: AoE
date: July 31August 8, 2022
date: July 31-August 8, 2022
place: HAIFA, ISRAEL
2 changes: 1 addition & 1 deletion conference/SE/esem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
- deadline: '2022-05-02 23:59:59'
comment: 'Submission'
timezone: AoE
date: September 1923, 2022
date: September 19-23, 2022
place: Helsinki, Finland
2 changes: 1 addition & 1 deletion conference/SE/middleware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
- deadline: '2022-03-15 23:59:59'
comment: 'Submission R2'
timezone: AoE
date: November 711, 2022
date: November 7-11, 2022
place: Fairmont Le Château Frontenac, Québec City, Québec, Canada
2 changes: 1 addition & 1 deletion conference/SE/osdi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
timeline:
- deadline: '2021-12-14 23:59:59'
timezone: AoE
date: July 1113, 2022
date: July 11-13, 2022
place: Omni La Costa Resort & Spa in Carlsbad, CA, USA
2 changes: 1 addition & 1 deletion conference/SE/sas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
- deadline: 'TBD'
comment: 'Submission deadline'
timezone: AoE
date: November 1419, 2022
date: November 14-19, 2022
place: Auckland, New Zealand
7 changes: 5 additions & 2 deletions scripts/validate
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import os
import sys

from io import StringIO
from pprint import pprint
from unittest import TestCase, TestLoader, TextTestRunner

import jsonschema
Expand All @@ -37,9 +38,11 @@ class ConferenceTest(TestCase):
subdir = os.path.join(DATA_ROOT, sub)
if os.path.isdir(subdir):
for conf in os.listdir(subdir):
if not conf.endswith('.yml'):
continue
with self.subTest(conf=conf):
if conf.endswith('.yaml'): # Some new contributors will commit a wrong the file extension.
self.fail(msg=f'\033[1;31m{conf}\033[m should be renamed as \033[1;31m{conf[:-4]}yml\033[m')
if not conf.endswith('.yml'):
continue
conference_yml_path = os.path.join(DATA_ROOT, sub, conf)
with open(conference_yml_path, 'r') as conference_yml_file:
try:
Expand Down

0 comments on commit 59fe7be

Please sign in to comment.