Difference between revisions of "Template:Bug List Instructions"

From Second Life Wiki
Jump to navigation Jump to search
(Updating)
Line 1: Line 1:
To generate a bug list:
Community members generally collaborate on the agenda for bug triage meetings.  Here's how you can quickly fill in an otherwise blank agenda:
* Save a copy of the [https://jira.secondlife.com/sr/jira.issueviews:searchrequest-xml/10155/SearchRequest-10155.xml XML file for "Bugs, sorted by LL ID"]
 
* 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
* Run this perl script on the xml file



Revision as of 17:17, 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 save the output