This repository was archived by the owner on May 11, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,12 @@ This package contains some simple php files for partially managing your subversi
1414* modify-post-commit.php - Modify the post-commit hooks of all repositories within your svn parent dir.
1515* htusers.php - Add and remove users to htusers file for repository authorization
1616
17- These are simple scripts fitting my needs with only a small number of depencies:
17+ These are simple scripts fitting * my* needs with only a small number of dependencies:
18+
1819* The webserver needs to be able to write to the repositories
1920* The webserver must be capable of executing svnadmin (Must be on the path)
2021
22+
2123LICENSE
2224------
2325This package is free as-is. Take it and do whatever you like.
@@ -32,14 +34,14 @@ Installation is easy:
3234
3335Project home:
3436-------------
35- The project is located at [ Github] [ svnmin ]
37+ The project is located at [ Github] [ svnmin ] .
38+
3639Issues are stored in the project itself using the Ditz issue tracker.
3740Check it out at [ ditz.rubyforge.org] [ ditz ]
3841
3942Authors
4043-------
4144* ZeissS zeisss(AT_ )moinz.de
4245
43-
4446 [ svnmin ] : http://www.github.com/zeisss/svnmin " Svnmin at GitHub "
4547 [ ditz ] : http://ditz.rubyforge.org/ " Ditz at Rubyforge "
Original file line number Diff line number Diff line change 1313
1414 ###############################################################
1515 ## A pattern to check the repository name before creating one.
16+ ## By default this allows all chars (A-z) and numbers.
1617 ###############################################################
1718 define ( "REPOSITORY_PATTERN", '/^[A-Za-z][A-Za-z0-9]*$/');
1819
1920 ################################################################
2021 ## Where is the path based authorization file located?
22+ ## Svnmin assumes you have one authz file for all of your
23+ ## repositories. Provide a path to it here.
2124 ################################################################
2225 define ( "ACCESS_CONFIG", "/opt/svn/svnaccess.conf");
2326
2427 ################################################################
25- ##
28+ ## Svnmin assumes you have one htusers file for authenticating
29+ ## your repository users. If you don't use it, comment it out.
2630 ################################################################
2731 define ( "ACCESS_USER", "/opt/svn/svnusers.conf");
2832 define ( 'ACCESS_PASSWORDTYPE', 'crypt'); # Options: crypt, md5
2933
3034 ################################################################
3135 # Just a title added to the html output.
3236 define ("TITLE", "Svnmin");
37+ ################################################################
3338
34- ?>
Original file line number Diff line number Diff line change 55 #
66 #
77 ##############
8-
8+ if (not defined ('ACCESS_USER ' ))
9+ die ("No ACCESS_USER file provided " );
10+
911 require 'config.php ' ;
1012
1113 function modify_htusers_file ( $ action , $ data , $ file = ACCESS_USER ) {
You can’t perform that action at this time.
0 commit comments