A bit ago I wrote up a wiki page regarding what qualifies as a patch and how to work with patches in Launchpad. Part of this process involves properly flagging attachments as patches and ensuring that all attachments flagged as patches really are patches! While its rather easy to flag an attachment as a patch after the fact (edit the attachment, check the box), its not so easy do that and a comment to the bug report.
I’ve written a couple of tools that’ll make this process a single step and they are included in the ubuntu-qa-tools project in Launchpad. check-patch-comment.py can be used to flag an attachment as a patch and a comment pointing people to the Bugs/Patches wiki page, while uncheck-patch-comment.py flags an attachment as not a patch and adds a similar comment. I hope that using these tools in conjunction with the open bugs with patches report and the possible patches report we can integrate more of these patches in Ubuntu and also get them forwarded upstream.
