for my $commit ($repository->list_revs(%logargs)) {
my $entry = XML::Atom::Entry->new;
$entry->title( $mk_title->($commit->comment) );
- $entry->id($c->uri_for_action('/commit/commit', [$repository->name, $commit->sha1]));
+ $entry->id($c->uri_for_action('/ref/commit', [$repository->name, $commit->sha1]));
# XXX FIXME Needs work ...
$entry->content($commit->comment);
$feed->add_entry($entry);
# XXX FIXME Needs work ....
$rss->add_item(
title => $mk_title->($commit->comment),
- permaLink => $c->uri_for_action('/commit/commit', [$repository->name, $commit->sha1]),
+ permaLink => $c->uri_for_action('/ref/commit', [$repository->name, $commit->sha1]),
description => $commit->comment,
);
}
like $res->content, qr{description>some test repository</description};
}
like $res->content, qr{add dir1/file2</div};
-like $res->content, qr{<id>http://localhost/repo1/36c6c6708b8360d7023e8a1649c45bcf9b3bd818</id};
+like $res->content, qr{<id>http://localhost/repo1/36c6c6708b8360d7023e8a1649c45bcf9b3bd818/commit</id};
like $res->content, qr{title>add dir1/file2</title};
done_testing;
like $res->content, qr{description>some test repository</description};
like $res->content, qr{title>add dir1/file2</title};
like $res->content, qr{description>add dir1/file2</description};
-like $res->content, qr{guid isPermaLink="true">http://localhost/repo1/36c6c6708b8360d7023e8a1649c45bcf9b3bd818</guid};
+like $res->content, qr{guid isPermaLink="true">http://localhost/repo1/36c6c6708b8360d7023e8a1649c45bcf9b3bd818/commit</guid};
done_testing;