/[SVNBrowser]/trunk/bin/indexer
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/bin/indexer

Parent Directory Parent Directory | Revision Log Revision Log


Revision 63 - (show annotations)
Mon Sep 3 20:10:08 2007 UTC (16 years, 8 months ago) by dpavlin
File size: 546 byte(s)
moved indexer into own package and use it
1 #!/usr/bin/perl -w
2
3 # SVNBrowser indexer
4 #
5 # 12/04/06 22:19:20 CET Dobrica Pavlinusic <dpavlin@rot13.org>
6
7 use strict;
8
9 use lib 'lib';
10
11 use SVN::Log;
12 use Data::Dump qw/dump/;
13
14 use Jifty;
15 use SVNBrowser::Indexer;
16
17 BEGIN { Jifty->new };
18
19 my $repository = shift @ARGV || Jifty->config->app('repository');
20
21 my $system_user = SVNBrowser::CurrentUser->superuser;
22
23 my $rep_col = SVNBrowser::Model::RepositoryCollection->new(current_user => $system_user);
24 $rep_col->unlimit;
25 while ( my $rep = $rep_col->next ) {
26 SVNBrowser::Indexer->reindex( $rep );
27 }
28

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.26