Wiki, Email & ical script



Yo,

Vuntz made some script to handle the schedule creation. Basically it
converts a simple text file into various output formats. I've enhanced
it a little so it now:
 * Does ical, sort of
 * Emails, sort of
 * Output code for the wiki (this should work)

Do an svn update for releng and you'll find everything under schedule.
The template directory is not used. It still is a bit hackish.

You'll want to check two things:
 * 2.22.schedule: the text file
 * libschedule.py: contains wiki descriptions, summaries and
   descriptions for the stuff in the text file

Then there is the stuff that uses this: automail.py, ical.py and
wiki.py.

Problems:
 * Still too much hard coding
 * Announces everything 3 days in advance (even tarballs due + the
   actual GNOME release)
 * Some duplication of text (currently between the descriptions and
   automail.py)
 * It doesn't know about rc/beta.. the announcements contain them, but
   there is no nice 'beta 1', 'beta 2'. All are just 'beta'
 * The ical doesn't work properly in Evolution. It doesn't see the alarm
   (it schedules it, however Evolution doesn't see that it should warn
   about it 3 days in advance). Further, long descriptions (72+ chars)
   cause spaces to appear in weird places. That last one is an Evolution
   bug btw (not sure about the first one).

Assumptions:
 * In the text file you only set an event for a week. An event is almost
   always on Monday. The exception is releases. Those are on Wednesday
   and libschedule.py automatically adds a fake tarballs due event on
   Monday (you don't actually specify this in the text file)


Could someone look over the descriptions, summaries, etc? Please expand
them. 

If you run ./automail.py you'll see the different events that it parsed
(do comment out the emailing part.. it is set to email me some test
stuff).

-- 
Regards,
Olav


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