CC: | mst [...] shadowcat.co.uk |
Subject: | Addition of external bug tracker support to rt.cpan.org |
Hi Peeps,
Final piece of the jigsaw for support for displaying external bugtrackers.
Commit message:
This patch adds support for displaying the information added by cpan2rt
in rt.cpan.org ticket #80020 and #79499, it also fixes an inconsistency
in display of distribution notes on the ticket modification page.
Whilst we don't prevent creation of tickets in a queue with an external
bug tracker set, we strongly suggest that they might want to look at the
alternative tracking solution indicated. Should this be unavailable,
this still enables creation of tickets within rt.cpan.org as a last resort.
Please let me know if you require any further information or changes.
This work has been sponsored by Shadowcat Systems.
Thanks, Ian.
Subject: | rt-bugtracker-public-external.patch |
diff --git a/html/Public/Bug/Display.html b/html/Public/Bug/Display.html
index 0be3b28..2424c5a 100755
--- a/html/Public/Bug/Display.html
+++ b/html/Public/Bug/Display.html
@@ -54,6 +54,8 @@
<& /Elements/ListActions, actions => \@Actions &>
+<& /Dist/Elements/ShowBugtracker, Queue => $TicketObj->QueueObj &>
+
<&| /Widgets/TitleBox, title => loc("Report information") &>
<& /Public/Bug/Elements/ShowSummary, Ticket => $TicketObj, Attachments => $attachments &>
</&>
diff --git a/html/Public/Bug/Report.html b/html/Public/Bug/Report.html
index c08091a..faa41d4 100755
--- a/html/Public/Bug/Report.html
+++ b/html/Public/Bug/Report.html
@@ -52,6 +52,8 @@
current_tab => $current_tab,
&>
+<& /Dist/Elements/ShowBugtracker, Queue => $QueueObj &>
+
<p>
Thanks for taking the time to report a bug in <em><% $Queue %></em>. You
should be aware that each and every module available through CPAN is free
diff --git a/html/Public/Dist/Display.html b/html/Public/Dist/Display.html
index be6d8ef..e879f78 100755
--- a/html/Public/Dist/Display.html
+++ b/html/Public/Dist/Display.html
@@ -53,6 +53,8 @@
current_tab => $current_tab,
&>
+<& /Dist/Elements/ShowBugtracker, Queue => $QueueObj &>
+
<& /Dist/Elements/ShowNotes, Queue => $QueueObj &>
<& /Dist/Elements/ShowMaintainers,