Difference between revisions of "Template:Bug List Instructions"

From Second Life Wiki
Jump to navigation Jump to search
(Updating)
(More details about how to use the template)
Line 1: Line 1:
Community members generally collaborate on the agenda for bug triage meetings.  Here's how you can quickly fill in an otherwise blank agenda:
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
*  Look at the results of one of these queries
**  General triage: "Bugs, sorted by LL ID"):
**  General triage: "Bugs, sorted by LL ID"):
Line 27: Line 28:


</pre>
</pre>
*  Pick a reasonable cutoff point, and save the output
*  Pick a reasonable cutoff point, and copy the output into the appropriate section of your newly created page.

Revision as of 22:38, 13 July 2007

Community members generally collaborate on the agenda for bug triage meetings. Here's how you can quickly fill in an otherwise blank agenda:

#!/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.