Difference between revisions of "Template:Bug List Instructions"

From Second Life Wiki
Jump to navigation Jump to search
(copy and paste isn't equivalent of subst: anymore, cause of some tweaks. please use subst:)
(updating instructions for current practices and to be easier and more clear)
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:


=== Setting up ===
*  Go to [[YY-MM-DD]] where YY is the two digit year code, MM is the two digit month code, and DD is the day code
*  Write and save <font color="blue">{{NoWrap|<nowiki>{{subst:Triage Template}}</nowiki>}}</font> as the only content of your new page. This will copy the complete markup from [[Template:Triage Template]] as a starting point for your agenda.
*  Write and save <font color="blue">{{NoWrap|<nowiki>{{subst:Triage Template}}</nowiki>}}</font> as the only content of your new page. This will copy the complete markup from [[Template:Triage Template]] as a starting point for your agenda.
*  Fill in the relevant time, date, and location info for the upcoming meeting. The easiest way to do this is to copy the entire block of information from an earlier meeting of the same type (RC, regular, etc...) and modify the date and time as needed.
=== Populating the issue listings section(s) ===
*  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"):

Revision as of 13:21, 8 June 2009

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


Setting up

  • Go to YY-MM-DD where YY is the two digit year code, MM is the two digit month code, and DD is the day code
  • Write and save {{subst:Triage Template}} as the only content of your new page. This will copy the complete markup from Template:Triage Template as a starting point for your agenda.
  • Fill in the relevant time, date, and location info for the upcoming meeting. The easiest way to do this is to copy the entire block of information from an earlier meeting of the same type (RC, regular, etc...) and modify the date and time as needed.

Populating the issue listings section(s)

<perl>

  1. !/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 "* $key - Votes: $votes - $title - $reporter\n";

}


</perl>

  • Pick a reasonable cutoff point, and copy the output into the appropriate section of your newly created page.