Difference between revisions of "Template:Bug List Instructions"
Jump to navigation
Jump to search
Rob Linden (talk | contribs) (Taking out title to avoid problems with accidental blanking) |
m (perl code tagging) |
||
Line 11: | Line 11: | ||
* Run this perl script on the xml file | * Run this perl script on the xml file | ||
< | <perl> | ||
#!/usr/bin/env perl | #!/usr/bin/env perl | ||
use XML::Simple; | use XML::Simple; | ||
Line 27: | Line 27: | ||
</ | </perl> | ||
* Pick a reasonable cutoff point, and copy the output into the appropriate section of your newly created page. | * Pick a reasonable cutoff point, and copy the output into the appropriate section of your newly created page. |
Revision as of 07:12, 5 April 2008
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
<perl>
- !/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.