--- /dev/null
+#!/usr/bin/python
+
+import subprocess, urllib, re
+
+URL='http://people.ubuntu.com/~ubuntu-archive/pending-sru.html'
+
+prev = ''
+for m in re.finditer('href="https://launchpad.net/ubuntu/(\w+)/\+source/([\w_-]+)/?"',
+ urllib.urlopen(URL).read()):
+ suite = m.group(1) + '-proposed'
+ src = m.group(2)
+ if src == prev:
+ continue
+ prev = src
+ subprocess.call(['buildd', src, suite, 'rescore'])