/[SVNBrowser]/trunk/lib/SVNBrowser/Model/Action.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

Annotation of /trunk/lib/SVNBrowser/Model/Action.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26 - (hide annotations)
Sun Dec 10 00:01:33 2006 UTC (17 years, 5 months ago) by dpavlin
File size: 471 byte(s)
a bunch of improvements:
- moved regex to extract branch from path to config.yml as branch_regex
- added filtering by branch (two new models Branch and RevisionBranch for that)
- added indexes where needed to speed-up filtering
1 dpavlin 1 use strict;
2     use warnings;
3    
4     package SVNBrowser::Model::Action;
5    
6     use Jifty::DBI::Schema;
7    
8     use SVNBrowser::Model::Revision;
9    
10     use SVNBrowser::Record schema {
11    
12     column revision =>
13     type is 'int',
14 dpavlin 26 is indexed,
15 dpavlin 1 mandatory;
16    
17     column type =>
18     type is 'char',
19     valid are qw( A M D ),
20     mandatory;
21    
22     column branch =>
23     type is 'text',
24 dpavlin 26 is indexed,
25 dpavlin 1 mandatory;
26    
27     column rel_path =>
28     type is 'text',
29 dpavlin 26 is indexed,
30 dpavlin 1 mandatory;
31    
32     };
33    
34     # Your model-specific methods go here.
35    
36     1;
37    

  ViewVC Help
Powered by ViewVC 1.1.26