cvs: SVNROOT / httpd.conf start-commit
[email protected] ("Gwynne Raskind") Thu, 09 Jul 2009 09:06:52 -0000
| Newsgroups | svn.migration |
|---|---|
| Message-ID | <cvsgwynne1247130412@cvsserver> |
gwynne Thu Jul 9 09:06:52 2009 UTC
Modified files:
/SVNROOT httpd.conf start-commit
Log:
svnread no longer needed, ViewVC configuration
http://cvs.php.net/viewvc.cgi/SVNROOT/httpd.conf?r1=1.7&r2=1.8&diff_format=u
Index: SVNROOT/httpd.conf
diff -u SVNROOT/httpd.conf:1.7 SVNROOT/httpd.conf:1.8
--- SVNROOT/httpd.conf:1.7 Wed Jul 8 08:36:33 2009
+++ SVNROOT/httpd.conf Thu Jul 9 09:06:52 2009
@@ -3,15 +3,29 @@
CustomLog "|/local/bin/rotatelogs /home/svn/logs/svn-svn_log.%Y%m%d 86400" "%t %u %{SVN-ACTION}e" env=SVN-ACTION
CustomLog "|/local/bin/rotatelogs /home/svn/logs/svn-access_log.%Y%m%d 86400" combined
ErrorLog "|/local/bin/rotatelogs /home/svn/logs/svn-error_log.%Y%m%d 86400"
+ ScriptAlias /viewvc /home/svn/viewvc-svn/bin/cgi/viewvc.cgi
+ ScriptAlias /query /home/svn/viewvc-svn/bin/cgi/query.cgi
+ <Directory "/home/svn/viewvc-svn/bin/cgi">
+ Options +ExecCGI
+ Order allow,deny
+ Allow from all
+ </Directory>
<Location "/">
+ DirectoryIndex viewvc
+ Order allow,deny
+ Allow from all
+ </Location>
+ <Location "/repository">
DAV svn
SVNPath "/home/svn/repository"
- Satisfy All
- Require valid-user
+ <LimitExcept GET PROPFIND OPTIONS REPORT>
+ Satisfy All
+ Require valid-user
+ </LimitExcept>
AuthType Digest
AuthName "PHP Subversion Repository"
AuthUserFile "/home/svn/SVNROOT/passwd.db"
- AuthDigestDomain "/"
+ AuthDigestDomain "/repository"
</Location>
</VirtualHost>
http://cvs.php.net/viewvc.cgi/SVNROOT/start-commit?r1=1.4&r2=1.5&diff_format=u
Index: SVNROOT/start-commit
diff -u SVNROOT/start-commit:1.4 SVNROOT/start-commit:1.5
--- SVNROOT/start-commit:1.4 Sat Dec 20 18:49:58 2008
+++ SVNROOT/start-commit Thu Jul 9 09:06:52 2009
@@ -15,7 +15,7 @@
// -----------------------------------------------------------------------------------------------------------------------------
// Constants
-$version = substr('$Revision: 1.4 $', strlen('$Revision: '), -2);
+$version = substr('$Revision: 1.5 $', strlen('$Revision: '), -2);
// -----------------------------------------------------------------------------------------------------------------------------
// Version check
@@ -33,12 +33,6 @@
$CAPABILITIES = explode(':', $argv[3]);
// -----------------------------------------------------------------------------------------------------------------------------
-// Is the user svnread?
-if ($USER == 'svnread') {
- fail("svnread can not commit to the repository.\n");
-}
-
-// -----------------------------------------------------------------------------------------------------------------------------
// Does the user exist?
$userfile = file(dirname(__FILE__) . '/users.db');
$userexists = FALSE;