I've been triaging a few bugs, and I came across a pair of bugs in libpcap which had patches [1][2].<br>I found and checked the wiki page on triaging bugs with patches [3], and after completing the available steps, I ran into a wall.<br>
<br>The complete text of the section describing what to do with a bug that has a patch reads as follows:<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
<p class="line874">In the event that [the patch] is not a debdiff one could
incorporate the patch into a debdiff for the latest release of Ubuntu or
apply the patch to a bzr branch of the package and link the branch to
the bug report. <span class="anchor" id="line-136"></span><span class="anchor" id="line-137"></span></p>If an
attachment is a debdiff and applies to a recent version of the package
the bug report needs to be <a href="https://wiki.ubuntu.com/SponsorshipProcess">sponsored</a> to the
appropriate archive. This is done by subscribing (NOT assigning) the
appropriate sponsorship team to the bug. For packages in main and
restricted the ubuntu-main-sponsors team should be subscribed. For
packages in the universe and multiverse repositories the
ubuntu-universe-sponsors team should be subscribed. You can view their
queues at <a class="https" href="https://bugs.launchpad.net/ubuntu/+bugs?field.subscriber=ubuntu-main-sponsors">main-sponsors</a>
and <a class="https" href="https://bugs.launchpad.net/ubuntu/+bugs?field.subscriber=ubuntu-universe-sponsors">universe-sponsors</a>.<br></blockquote><div><br>1) The two attached patches are simple diffs, not debdiffs - is there a way to convert them, and could it be added to this page?<br>
2) As a triager, how is one expected to be able to apply a patch to a bzr branch, and what if the project isn't hosted on launchpad/bzr? This seems more dev-related then triager-related.<br>3) Is there a way to tell from a bug page which repository the package is in? I eventually found it on the launchpad libpcap package page, but I couldn't find any obvious indicator on the bug page itself. This should probably be mentioned as well.<br>
<br>To my mind, once a bug has an attached patch which the triager can verify as at least being potentially useful, there should be a simple button "flag as patched".<br>This flag should ping the maintainer with something like: "Project X has a ticket with a patch!".<br>
The maintainer (or another dev) should then check the patch, commit it, and close the bug.<br><br>I'm not a workflow expert, so there may be reasons for the way the system is currently set up, but it doesn't make sense to me.<br>
If the general consensus is that my points on the wiki are valid, I'll take a shot at rewriting that section.<br><br>Thanks,<br>Evan<br></div><br>[1] <a href="https://bugs.launchpad.net/ubuntu/+source/libpcap/+bug/523340">https://bugs.launchpad.net/ubuntu/+source/libpcap/+bug/523340</a><br>
[2] <a href="https://bugs.launchpad.net/ubuntu/+source/libpcap/+bug/523349">https://bugs.launchpad.net/ubuntu/+source/libpcap/+bug/523349</a><br>[3] <a href="https://wiki.ubuntu.com/Bugs/Patches">https://wiki.ubuntu.com/Bugs/Patches</a><br>