/[SVNBrowser]/trunk/lib/SVNBrowser/Model/Revision.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/lib/SVNBrowser/Model/Revision.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations)
Tue Dec 5 10:17:28 2006 UTC (17 years, 4 months ago) by dpavlin
File size: 567 byte(s)
use SVN::Log to parse subversion logs and fill-in model

1 use strict;
2 use warnings;
3
4 package SVNBrowser::Model::Revision;
5 use Jifty::DBI::Schema;
6 use SVNBrowser::Model::Action;
7
8 use SVNBrowser::Record schema {
9
10 column revision =>
11 type is 'int',
12 mandatory;
13
14 # column actions =>
15 # refers_to SVNBrowser::Model::Action by 'id';
16
17 column author =>
18 type is 'text',
19 mandatory;
20
21 column commit_date =>
22 type is 'timestamp',
23 filters are qw( Jifty::Filter::DateTime Jifty::DBI::Filter::DateTime),
24 mandatory;
25
26 column message =>
27 type is 'text',
28 render as 'textarea';
29
30 };
31
32 # Your model-specific methods go here.
33
34 1;
35

  ViewVC Help
Powered by ViewVC 1.1.26