Any interest in these utility scripts

Andy Doan andy.doan at linaro.org
Tue Jan 20 05:22:23 AEDT 2015


I have a couple of scripts I've started experimenting with for my
patchwork instances and thought I'd share them to see if there might be
in any interest in me trying to upstream either of them:

1) update-committed-patches.py
http://tinyurl.com/nzk87tt

Similar to "tools/patchwork-update-commits" but with 2 big differences:

* Runs on the patchwork server and talks directly to the Django ORM
* Keeps track of the last analyzed commit, so that it can be run via cron

2) import_emails.py
http://tinyurl.com/pcvt2el

Seems less likely to be of interest, but rather than using procmail type
logic, I have a cron job that operates via IMAP. One handy thing with
this, is that we catch failures and put them in a folder so that we can
go back and analyze what failed. It also makes it easy to re-try things
because you simply move the message back to the inbox and run the script
again.

Thanks for providing such a handy project!
-andy


More information about the Patchwork mailing list