Template:Bug List Instructions: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Rob Linden (talk | contribs)
No edit summary
 
Rob Linden (talk | contribs)
(No difference)

Revision as of 16:13, 17 May 2007

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