Archive for the ‘Python’ category

Subversion logs to iCalendar format

April 2nd, 2010

I wanted to know when I’ve kept my vacations so I wrote small Python script to find out.

pysvnlog2ics parses SVN XML commit log and creates iCalendar .ics file from it. This resulted in many .ics files as in work I use one repository per project and over the years this count is in hundreds today. So I wrote another script – pyicalmerge which combines those .ics files to one big .ics file. Then I just uploaded that giant .ics file to Google Calendar and now I have all my commits in my calendar and can easily see the vacation gaps.

Gozerbot and What is this file?

October 2nd, 2009

It’s been many years since I played with IRC bots. I’ve used eggdrop for something like 10+ years. Now I tried Gozerbot and coded plugin (source) to it which gets URLs from chat and then gives some information about them. It utilizes my other project – “what is this file?” which runs on top of Google App Engine. Everything is using Python.