Difference between revisions of "Template:Bug List Instructions"

From Second Life Wiki
Jump to navigation Jump to search
m (Reverted edits by Bridie Linden (Talk); changed back to last version by Rob Linden)
 
(9 intermediate revisions by 7 users not shown)
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:
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 pageDoing this is the equivalent of copying and pasting the full markup of the template in.
 
=== Setting up ===
Go to [[Bug_Triage/YYYY-MM-DD]] where YYYY is the four 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.
* 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: "Viewer 2 Bug Triage" (sorted by LL ID, Created, Last Triaged):
*** https://jira.secondlife.com/secure/IssueNavigator.jspa?mode=hide&requestId=10155
*** https://jira.secondlife.com/secure/IssueNavigator.jspa?mode=hide&requestId=12724
**  UI triage:
**  UI triage:
*** https://jira.secondlife.com/secure/IssueNavigator.jspa?mode=hide&requestId=10470
*** https://jira.secondlife.com/secure/IssueNavigator.jspa?mode=hide&requestId=10470 ''(The selected filter with id '10470' does not exist.)''
*: ''(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.)''
*: ''(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
* 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


<pre>
<perl>
#!/usr/bin/env perl
#!/usr/bin/env perl
use XML::Simple;
use XML::Simple;
Line 28: Line 33:




</pre>
</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.
* if you do not have access to a perl interpreter. There is a ported version of the script on PHP, located here: http://jirafiller.technokittydevelopment.com/ made by {{User|roberto salubrius}}

Latest revision as of 07:46, 16 March 2010

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 Bug_Triage/YYYY-MM-DD where YYYY is the four 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.