User Tools

Site Tools


subversion

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
subversion [2009/03/30 03:26]
k2patel
subversion [2020/08/10 02:35] (current)
Line 50: Line 50:
  
 [community:/​branches/​calc/​bug-142] [community:/​branches/​calc/​bug-142]
-harry = rw                         +user1 = rw                         
-sally = r                         +user2 = r                         
 </​code>​ </​code>​
  
-Modules +
-^^^^^^^+
 <code apache | Httpd.conf>​ <code apache | Httpd.conf>​
  
Line 65: Line 64:
  
 <​VirtualHost 209.200.38.7:​80>​ <​VirtualHost 209.200.38.7:​80>​
-ServerName svn.newyorkdailypost.net +ServerName svn.k2patel.net 
-DocumentRoot /​www/​virtual/​swingerswgm/svnrepos +DocumentRoot /​www/​virtual/​username/svnrepos 
-CustomLog /​www/​stats/​svn.newyorkdailypost.net-stats.log light +CustomLog /​www/​stats/​svn.k2patel.net-stats.log light 
-CustomLog /​www/​logs/​svn.newyorkdailypost.net-access.log ​sagi  +CustomLog /​www/​logs/​svn.k2patel.net-access.log ​full 
-ServerAdmin webmaster@backend.newyorkdailypost.net            +ServerAdmin webmaster@backend.k2patel.net            
-/​www/​vapache/​airon/conf                                      ​+/​www/​vapache/​username/conf                                      ​
 <​Location /​repos> ​                                           ​ <​Location /​repos> ​                                           ​
   DAV svn                                                    ​   DAV svn                                                    ​
-  SVNPath /​www/​virtual/​swingerswgm/​svnrepos/ ​                 +  SVNPath /​www/​virtual/​username/​svnrepos/ ​                 
-  AuthzSVNAccessFile /​www/​virtual/​swingerswgm/​svnrepos/​svn_access.conf+  AuthzSVNAccessFile /​www/​virtual/​username/​svnrepos/​svn_access.conf
   AuthType Basic                                                      ​   AuthType Basic                                                      ​
   AuthName "​Subversion repository" ​                                   ​   AuthName "​Subversion repository" ​                                   ​
-  AuthUserFile /​www/​virtual/​swingerswgm/​svnrepos/​.svnaccess ​          +  AuthUserFile /​www/​virtual/​username/​svnrepos/​.svnaccess ​          
   Require valid-user ​                                                 ​   Require valid-user ​                                                 ​
 </​Location> ​                                                           </​Location> ​                                                          
Line 89: Line 88:
  
 <code bash> <code bash>
-trac-admin /​www/​virtual/​swingerswgm/trac.newyorkdailypost.net initenv+trac-admin /​www/​virtual/​username/trac.k2patel.net initenv
 </​code>​ </​code>​
  
Line 118: Line 117:
 </​code>​ </​code>​
  
 +<code text>
 Stand Alone Server (svn://) Stand Alone Server (svn://)
-^^^^^^^^^^^^^^^^^^ ​         
-******************* ​       ​ 
- 
  
 /​etc/​rc.conf (FreeBSD specific) /​etc/​rc.conf (FreeBSD specific)
 ------------ ​                   ------------ ​                  
 svnserve_enable="​YES" ​         ​ svnserve_enable="​YES" ​         ​
-svnserve_flags="​-d -r /usr/www/virtual/​yepmobi/track.yeprevenue.com/svn --listen-host=0.0.0.0"​ +svnserve_flags="​-d -r /srv/www/svn/pqr.k2patel.com/svn --listen-host=0.0.0.0"​ 
-svnserve_data="/​usr/www/virtual/​yepmobi/track.yeprevenue.com/​svn" ​                             +svnserve_data="/​srv/www/svn/pqr.k2patel.com/​svn" ​                             
-svnserve_user="​yepmobi" ​                                                                       +svnserve_user="​username" ​                                                                       
-svnserve_user="​yepmobi" ​                                                                      ​+                                                                       
  
 <​Repo_dir>/​conf/​svnserve.conf <​Repo_dir>/​conf/​svnserve.conf
Line 139: Line 135:
 ---------------------- ----------------------
 edit password file and add username = password. edit password file and add username = password.
 +</​code>​
  
- +<code text | SVN Access with SSH wrapper>
- +
-SVN Access with SSH wrapper +
-^^^^^^^^^^^^^^^^^^^^^^^^^^^ +
-*************************** +
 URI - svn+ssh://​{SSHUSERNAME}@{SERVER_NAME}/​{REPO_DIR} URI - svn+ssh://​{SSHUSERNAME}@{SERVER_NAME}/​{REPO_DIR}
  
-e.g. svn co svn+ssh://yepmobi@yepmobile.webair.com/usr/www/​virtual/​yepmobi/​track.yeprevenue.com/svn +e.g. svn co svn+ssh://username@xyz.k2patel.com/srv/www/svn 
 +</​code>​
  
 Wrapper script for svnserve Wrapper script for svnserve
-^^^^^^^^^^^^^^^^^^^^^^^^^^^ +<code text>
-*************************** +
 First of all, rename the original svnserve command into svnserve.bin First of all, rename the original svnserve command into svnserve.bin
 (it usually resides in /​usr/​bin/​svnserve) (it usually resides in /​usr/​bin/​svnserve)
Line 163: Line 153:
  
 Save the file as "​svnserve",​ being the root superuser. Save the file as "​svnserve",​ being the root superuser.
 +</​code>​
  
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^+<code bash | svnserve>​
 #!/bin/sh #!/bin/sh
 # wrap in order to put root in by default # wrap in order to put root in by default
Line 170: Line 161:
  
 exec /​usr/​local/​bin/​svnserve.bin -r /​path/​to/​repository/​root "​$@"​ exec /​usr/​local/​bin/​svnserve.bin -r /​path/​to/​repository/​root "​$@"​
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^+</​code>​
subversion.1238383588.txt.gz · Last modified: 2020/08/10 02:29 (external edit)