[pkg-apparmor] UDD notifications script

Holger Levsen holger at layer-acht.org
Fri Feb 13 09:37:13 UTC 2015


Hi Ulrike,

On Donnerstag, 12. Februar 2015, u wrote:
> 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.

cool!

> 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..

yeah, 640kb are surely enough for everyone!

;-)

> 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).

try & set up a simple test cronjob which just mails you? 
 
> 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.

if you can run it on alioth, save the state in your home?

another option would be a job on jenkins.d.n...

> 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

i didnt really look at the code (sorry!) but I have noticed it's missing 
author + copyright information ;)


cheers,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-apparmor-team/attachments/20150213/5c012696/attachment.sig>


More information about the pkg-apparmor-team mailing list