Child pages
  • UFL Portal Bug Report management

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We're currently setting the property portal.error.email to a particular service account mailbox. We're then using the getmail software to pull these bugs out of that mailbox and into a directory hierarchy.

The getmail configuration looks like so:

Wiki Markup
_\[retriever\]_
_server = (address)_
_username = (secret)_
_password = (secret)_
_type = SimpleIMAPRetriever_

...

Wiki Markup
_\[options\]_
_verbose = 0_
_read_all = true_
_delete = true_

Then, we're executing the attached perl script via crontab:

5  * * * * ~/src/getmail-4.20.2/getmail -r getmail.rc -g ~/src/getmail-4.20.2
30 8 * * * ~/src/sakai-bug-stats/sakai-bug-stat-o-rama.pl yesterday daily
30 8 * * 1 ~/src/sakai-bug-stats/sakai-bug-stat-o-rama.pl yesterday weekly
30 8 1 1 * ~/src/sakai-bug-stats/sakai-bug-stat-o-rama.pl yesterday yearly

This script reads the contents of that directory, and produces a report such as the following:

Summary of daily Sakai bug reports for 2011-09-18:

...