Template:Bug List Instructions

From Second Life Wiki
Revision as of 18:37, 24 June 2007 by Gigs Taggart (talk | contribs)
Jump to navigation Jump to search

To generate a bug list:

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