Use PHP to Manage SVN repository
http://svnmanager.sourceforge.net/
使用者管理
群組管理
repository 管理
群組設定
repository 權限設置
unzip 後依照作業系統不同修改設定檔,FreeBSD 的 EVN 和 Linux 不太一樣,要稍作修改。
> diff config.php config.php.linux
7,9c7,9
< $htpassword_cmd = "/usr/local/sbin/htpasswd";
< $svn_cmd = "/usr/local/bin/svn";
< $svnadmin_cmd = "/usr/local/bin/svnadmin";
---
> $htpassword_cmd = "/usr/bin/htpasswd";
> $svn_cmd = "/usr/bin/svn";
> $svnadmin_cmd = "/usr/bin/svnadmin";
12,14c12,14
< $svn_repos_loc = "/usr/home/svn/repository";
< $svn_passwd_file = "/usr/home/svn/etc/auth-file";
< $svn_access_file = "/usr/home/svn/etc/access-file";
---
> $svn_repos_loc = "/var/www/repos";
> $svn_passwd_file = "/var/www/repos/passwdfile";
> $svn_access_file = "/var/www/repos/accessfile";
34,35c34
< $smtp_server = "127.0.0.1";
---
> $smtp_server = "smtp.mailserver.net";
看起來蠻不錯的,可惜我現在改用git了XD
我在裝 trac 了 @@