[releng/mcatanzaro/valarms] Remove alarms from the calendars




commit 17bf00095cc82decea13014c3d8056caf375ba3c
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Tue Mar 29 14:08:17 2022 -0500

    Remove alarms from the calendars
    
    Alarms break import into Google Calendar.
    
    Fixes Infrastructure/Infrastructure#749

 tools/schedule/ical.py | 12 ------------
 1 file changed, 12 deletions(-)
---
diff --git a/tools/schedule/ical.py b/tools/schedule/ical.py
index 4f4fc28..6a5a4d0 100755
--- a/tools/schedule/ical.py
+++ b/tools/schedule/ical.py
@@ -39,17 +39,5 @@ for event in events:
     dtstamp = vevent.add('dtstamp')
     dtstamp.value = now
 
-    valarm = vevent.add('valarm')
-    x = valarm.add('action')
-    x.value = 'DISPLAY'
-    x = valarm.add('description')
-    x.value = summary.value
-    x = valarm.add('trigger')
-
-    if event.category == 'release':
-        x.value = start.value + datetime.timedelta(hours=-1)
-    else:
-        x.value = start.value + datetime.timedelta(days=-3)
-
 print(cal.serialize())
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]