[Bps-public-commit] r19715 - Net-Google-Code/trunk/lib/Net/Google/Code
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Tue May 19 01:59:47 EDT 2009
Author: sunnavy
Date: Tue May 19 01:59:47 2009
New Revision: 19715
Modified:
Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm
Log:
add reported stuff as comment 0
Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm (original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm Tue May 19 01:59:47 2009
@@ -160,7 +160,14 @@
# extract comments
my @comments_tag = $tree->look_down( class => 'vt issuecomment' );
- my @comments;
+ my @comments = Net::Google::Code::Issue::Comment->new(
+ project => $self->project,
+ sequence => 0,
+ date => $self->reported,
+ author => $self->reporter,
+ content => $self->description,
+ attachments => $self->attachments,
+ );
for my $tag (@comments_tag) {
next unless $tag->look_down( class => 'author' );
my $comment =
More information about the Bps-public-commit
mailing list