Template:Bug List Instructions

From Second Life Wiki
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};
  $reporter = $item->{reporter}->{username};
  print "* {{jira|$key}} - $title - {{User|$reporter}}\n";
}
  • Pick a reasonable cutoff point, and save the output