User: sits
Date: 07/06/06 21:46:28
Modified: . CHANGELOG codestriker.conf
doc codestriker.sgml
lib/Codestriker/Repository RepositoryFactory.pm
Log:
* Allow subversion repositories that communicate using the Subversion
protocol to be specified in @valid_repositories as
'svn://my.subversion.server/repos/product/trunk' rather than
'svn:svn://my.subversion.server/repos/product/trunk'.
Index: CHANGELOG
===================================================================
RCS file: /cvsroot/codestriker/codestriker/CHANGELOG,v
retrieving revision 1.201
retrieving revision 1.202
diff -u -r1.201 -r1.202
--- CHANGELOG 22 May 2007 04:07:35 -0000 1.201
+++ CHANGELOG 7 Jun 2007 04:46:26 -0000 1.202
@@ -6,6 +6,11 @@
* Emit a javascript warning if the external javascript files could
not be loaded. This usually occurs due to apache misconfiguration.
+* Allow subversion repositories that communicate using the Subversion
+ protocol to be specified in @valid_repositories as
+ 'svn://my.subversion.server/repos/product/trunk' rather than
+ 'svn:svn://my.subversion.server/repos/product/trunk'.
+
Version 1.9.3
* The project list screen now displays for each project, the total
Index: codestriker.conf
===================================================================
RCS file: /cvsroot/codestriker/codestriker/codestriker.conf,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- codestriker.conf 4 Jul 2006 00:36:01 -0000 1.87
+++ codestriker.conf 7 Jun 2007 04:46:27 -0000 1.88
@@ -122,6 +122,9 @@
# semicolons.
'svn:http://svn.collab.net/repos/svn/trunk;username;password',
+ # Subversion server that uses the Subversion protocol.
+ 'svn://my.subversion.server/repos/product/trunk',
+
# Example CVS pserver config with username and password
# specified.
':pserver:sits:[EMAIL PROTECTED]:/cvsroot',
@@ -185,6 +188,8 @@
# 'clearcase:dyn:viewname:/vobs'
);
[EMAIL PROTECTED] = ();
+
# A mapping of repository URLs to names. In any screen where a
# repository is displayed, if there is a mapping for the repository
# defined here, then the symbolic name will be displayed instead of
Index: codestriker.sgml
===================================================================
RCS file: /cvsroot/codestriker/codestriker/doc/codestriker.sgml,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- codestriker.sgml 7 Mar 2007 01:12:31 -0000 1.65
+++ codestriker.sgml 7 Jun 2007 04:46:27 -0000 1.66
@@ -488,6 +488,9 @@
# semicolons.
'svn:http://svn.collab.net/repos/svn/trunk;username;password',
+ # Subversion server that uses the Subversion protocol.
+ 'svn://my.subversion.server/repos/product/trunk',
+
# Example CVS pserver config with username and password
# specified.
':pserver:sits:[EMAIL PROTECTED]:/cvsroot',
Index: RepositoryFactory.pm
===================================================================
RCS file:
/cvsroot/codestriker/codestriker/lib/Codestriker/Repository/RepositoryFactory.pm,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- RepositoryFactory.pm 15 Jun 2006 06:46:18 -0000 1.21
+++ RepositoryFactory.pm 7 Jun 2007 04:46:27 -0000 1.22
@@ -55,7 +55,11 @@
} elsif ($repository =~
/^\s*(https?:\/\/.*cvsweb\.cgi)\/*\s+(.*?)\/*\s*$/i) {
# CVS web repository.
return Codestriker::Repository::CvsWeb->new($1, $2);
-
+ } elsif ($repository =~ /^\s*(svn:\/\/.*)\s*;(.*);(.*)$/i) {
+ # Subversion repository using svnserver with username and password.
+ return Codestriker::Repository::Subversion->new($1, $2, $3);
+ } elsif ($repository =~ /^\s*(svn:\/\/.*)\s*$/i) {
+ return Codestriker::Repository::Subversion->new($1);
} elsif ($repository =~ /^\s*svn:(.*)\s*;(.*);(.*)$/i) {
# Subversion repository with username and password
return Codestriker::Repository::Subversion->new($1, $2, $3);
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits