Difference between revisions of "Template:Bug List Instructions"
Jump to navigation
Jump to search
m (Reverted edits by Bridie Linden (Talk); changed back to last version by Rob Linden) |
|||
Line 1: | Line 1: | ||
== | == Bug List Instructions == | ||
Community members generally collaborate on the agenda for bug triage meetings. Here's how you can quickly fill in an otherwise blank agenda: | |||
* Copy the markup from [[Template:Triage Template]] as a starting point for your agenda. One wiki trick you can employ is to save "<nowiki>{{subst:Triage Template}}</nowiki>" as the complete markup of a new page. Doing this is the equivalent of copying and pasting the full markup of the template in. | |||
* Look at the results of one of these queries | |||
** General triage: "Bugs, sorted by LL ID"): | |||
*** https://jira.secondlife.com/secure/IssueNavigator.jspa?mode=hide&requestId=10155 | |||
** UI triage: | |||
*** https://jira.secondlife.com/secure/IssueNavigator.jspa?mode=hide&requestId=10470 | |||
*: ''(Note: there's no hard and fast rule that says these are the only valid queries. If you feel there's a better query one particular week, use that.)'' | |||
* Save a copy of the XML version of the query | |||
* Run this perl script on the xml file | |||
<pre> | |||
#!/usr/bin/env perl | |||
use XML::Simple; | |||
my $bugs = XMLin($ARGV[0]); | |||
foreach my $item (@{$bugs->{channel}->{item}}) { | |||
$title = $item->{title}; | |||
$title =~ s/^\[[^\]]*\] //; | |||
$key = $item->{key}->{content}; | |||
$votes = $item->{votes}; | |||
$reporter = $item->{reporter}->{username}; | |||
print "* {{jira|$key}} - Votes: $votes - $title - {{User|$reporter}}\n"; | |||
} | |||
</pre> | |||
* Pick a reasonable cutoff point, and copy the output into the appropriate section of your newly created page. |
Revision as of 15:22, 30 July 2007
Bug List Instructions
Community members generally collaborate on the agenda for bug triage meetings. Here's how you can quickly fill in an otherwise blank agenda:
- Copy the markup from Template:Triage Template as a starting point for your agenda. One wiki trick you can employ is to save "{{subst:Triage Template}}" as the complete markup of a new page. Doing this is the equivalent of copying and pasting the full markup of the template in.
- Look at the results of one of these queries
- General triage: "Bugs, sorted by LL ID"):
- UI triage:
- (Note: there's no hard and fast rule that says these are the only valid queries. If you feel there's a better query one particular week, use that.)
- Save a copy of the XML version of the query
- Run this perl script on the xml file
#!/usr/bin/env perl use XML::Simple; my $bugs = XMLin($ARGV[0]); foreach my $item (@{$bugs->{channel}->{item}}) { $title = $item->{title}; $title =~ s/^\[[^\]]*\] //; $key = $item->{key}->{content}; $votes = $item->{votes}; $reporter = $item->{reporter}->{username}; print "* {{jira|$key}} - Votes: $votes - $title - {{User|$reporter}}\n"; }
- Pick a reasonable cutoff point, and copy the output into the appropriate section of your newly created page.