+ Alex Muntada <[email protected]>:

> i'll try launchpadlib to see if i can run a cronjob

Launchpad API is amazing:

#!/usr/bin/python
#
# 
https://api.launchpad.net/1.0/~ubuntu-server?ws.op=getMergeProposals&status=Needs+review
#
from launchpadlib.launchpad import Launchpad

lp = Launchpad.login_anonymously('ubuntu-server code reviews', 'production')
team = lp.people['ubuntu-server']
needs_review = team.getMergeProposals(status='Needs review')
print needs_review.total_size

-- 
Alex Muntada <[email protected]>
http://alexm.org/

-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to