Thread: [Codestriker-commits] CVS update: codestriker/lib/Codestriker/FileParser Parser.pm
Brought to you by:
sits
|
From: <si...@us...> - 2004-11-03 22:37:51
|
Created Codestriker topic at: http://codestriker.sourceforge.net/cgi-bin/codestriker.pl?topic=4501313&action=view&brmode=1&fview=-1 User: sits Date: 04/11/03 14:37:36 Modified: lib/Codestriker/FileParser Parser.pm Log: Handle exclusions for unmatched cvs diffs, from Dave Clendenan Index: Parser.pm =================================================================== RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/FileParser/Parser.pm,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- Parser.pm 2 Nov 2004 21:04:19 -0000 1.14 +++ Parser.pm 3 Nov 2004 22:37:34 -0000 1.15 @@ -166,7 +166,7 @@ my @trimmed_diffs = (); foreach my $curr (@diffs) { - if ($curr->{filename} =~ /\.(\w+)$/o) { + if ($curr->{filename} =~ /\.(\w+)(,v)?$/o) { push @trimmed_diffs, $curr unless grep(/^$1$/, @Codestriker::exclude_file_types); } |
|
From: <si...@us...> - 2004-11-12 03:12:14
|
Created Codestriker topic at: http://codestriker.sourceforge.net/cgi-bin/codestriker.pl?topic=6312520&action=view&brmode=1&fview=-1 User: sits Date: 04/11/11 19:11:18 Modified: lib/Codestriker/FileParser Parser.pm Log: Fixed bug where filenames in a delta with no extension were excluded from the final topic text. Index: Parser.pm =================================================================== RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/FileParser/Parser.pm,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- Parser.pm 3 Nov 2004 22:37:34 -0000 1.15 +++ Parser.pm 12 Nov 2004 03:11:16 -0000 1.16 @@ -169,6 +169,9 @@ if ($curr->{filename} =~ /\.(\w+)(,v)?$/o) { push @trimmed_diffs, $curr unless grep(/^$1$/, @Codestriker::exclude_file_types); + } else { + # No extension on this file, add the diff in. + push @trimmed_diffs, $curr; } } |
|
From: <si...@us...> - 2004-11-16 21:40:33
|
Created Codestriker topic at: http://codestriker.sourceforge.net/cgi-bin/codestriker.pl?topic=872331&action=view&brmode=1&fview=-1 User: sits Date: 04/11/16 13:40:21 Modified: lib/Codestriker/FileParser Parser.pm Log: Make the file extension matcher more generic. Index: Parser.pm =================================================================== RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/FileParser/Parser.pm,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- Parser.pm 12 Nov 2004 07:18:39 -0000 1.17 +++ Parser.pm 16 Nov 2004 21:40:19 -0000 1.18 @@ -169,7 +169,7 @@ my @trimmed_diffs = (); foreach my $curr (@diffs) { - if ($curr->{filename} =~ /\.(\w+)(,v)?$/o) { + if ($curr->{filename} =~ /\.([^\.]+)(,v)?$/o) { push @trimmed_diffs, $curr unless grep(/^$1$/, @Codestriker::exclude_file_types); } else { |
|
From: <si...@us...> - 2005-06-19 10:56:23
|
Created Codestriker topic at: http://codestriker.sourceforge.net/cgi-bin/codestriker.pl?topic=5211135&action=view User: sits Date: 05/06/19 03:56:08 Modified: . CHANGELOG doc codestriker.sgml lib/Codestriker/FileParser Parser.pm Log: * Filenames ending in ++, for example, filename.c++ could not be loaded into the system, due to a bug introduced in 1.8.5. Index: CHANGELOG =================================================================== RCS file: /cvsroot/codestriker/codestriker/CHANGELOG,v retrieving revision 1.171 retrieving revision 1.172 diff -u -r1.171 -r1.172 --- CHANGELOG 22 May 2005 22:26:01 -0000 1.171 +++ CHANGELOG 19 Jun 2005 10:55:54 -0000 1.172 @@ -93,6 +93,9 @@ "xbinary". Also handled Perforce diffs which contain unidiff style '---' and '+++' header lines. From Hope Duryea <hop...@ya...>. +* Filenames ending in ++, for example, filename.c++ could not be + loaded into the system, due to a bug introduced in 1.8.5. + Version 1.8.5 * Complete support for VSS repositories. Topics linked to a VSS Index: codestriker.sgml =================================================================== RCS file: /cvsroot/codestriker/codestriker/doc/codestriker.sgml,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- codestriker.sgml 9 Jun 2005 23:33:15 -0000 1.49 +++ codestriker.sgml 19 Jun 2005 10:56:00 -0000 1.50 @@ -550,6 +550,10 @@ slashes.</emphasis> </para> <para> + If you are using Subversion, make sure the + <varname>$svn</varname> setting is set to the correct path. + </para> + <para> If you are using Perforce, make sure the <varname>$p4</varname> setting is set to the correct path. </para> Index: Parser.pm =================================================================== RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/FileParser/Parser.pm,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- Parser.pm 16 Nov 2004 21:40:19 -0000 1.18 +++ Parser.pm 19 Jun 2005 10:56:07 -0000 1.19 @@ -170,8 +170,9 @@ my @trimmed_diffs = (); foreach my $curr (@diffs) { if ($curr->{filename} =~ /\.([^\.]+)(,v)?$/o) { + my $ext = $1; push @trimmed_diffs, $curr - unless grep(/^$1$/, @Codestriker::exclude_file_types); + unless grep { $_ eq $ext } @Codestriker::exclude_file_types; } else { # No extension on this file, add the diff in. push @trimmed_diffs, $curr; |