-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #235 from ShaneCurcuru/master
Read in meeting dates from runbook/timeline.json
- Loading branch information
Showing
3 changed files
with
27 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -175,6 +175,15 @@ def self.get_attendance(mtg_root) | |
return JSON.parse(IO.read(File.join(mtg_root, 'attendance.json'))) | ||
end | ||
|
||
# Read runbook/timeline.json file, not present before 2025 | ||
# @return hash, or null if not found | ||
def self.get_timeline(mtg_root) | ||
begin | ||
return JSON.parse(IO.read(File.join(mtg_root, 'runbook', 'timeline.json'))) | ||
rescue StandardError => e | ||
return null | ||
end | ||
end | ||
|
||
# 20081216: First Last <[email protected]>: Yes | ||
# 20090707: First Last <[email protected]>: yes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters