[pkg-apparmor] UDD notifications script

u u at 451f.org
Fri Feb 13 11:03:36 UTC 2015


Hi Holger,

Holger Levsen:
> 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'll do that. And if it works I'll change the receiver email to this list.

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

Ok.

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

Ok, thanks for the idea. In case I can't do it on Alioth, I'd like to
try that.

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

No problem.
Will add the missing info.

Cheers!
u.




More information about the pkg-apparmor-team mailing list