Template:Bug List Instructions

From Second Life Wiki
Revision as of 15:11, 17 May 2007 by Rob Linden (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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