[pkg-apparmor] UDD notifications script

u u at 451f.org
Thu Feb 12 17:24:52 UTC 2015


Hi,

i've set up a script which connects to UDD, takes all usertagged bugs
for a certain user and compares the list to an existing list, which is
saved in a state file. Whenever a new bug is found which is not in the
state file, the list will receive an email notification. For now I send
a mail for each bug, but while I am writing this, I wonder if I should
add them up into one single email. Although in the future, probably,
nobody will tag 10 bugs at a time..

On errors, the list will also receive an email notification.

It works, although I have not tried to set up a cronjob on Alioth for it
(not sure if I am allowed to do that anyway).

I'm also unsure about the location where to save the state file and
thus, for now it's simply saved at the same location as my script.

Would you, Holger and/or intrigeri, care to review this?

It can be found here:
https://github.com/u451f/usertag-notifications/blob/master/udd.py

Cheers,
u.



More information about the pkg-apparmor-team mailing list