This shows you the differences between two versions of the page.
archive:trac_svn [2009/10/14 00:55] sdeitz2 |
archive:trac_svn [2021/05/02 21:36] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | For a list of trac repos: | ||
- | https://acm.cs.uic.edu/trac/ | ||
- | for a list of svn repos: | ||
- | https://acm.cs.uic.edu/svn/ | ||
- | |||
- | your credentials are standard AD credentials | ||
- | ====== Creating a new project ====== | ||
- | for sysadmins: | ||
- | |||
- | ===== create svn repo and trac project page ===== | ||
- | |||
- | svnadmin create --fs-type fsfs /var/svn/repos/myproject | ||
- | trac-admin /var/lib/trac/myproject initenv | ||
- | chown -R www-data /var/lib/trac/myproject | ||
- | trac-admin /var/lib/trac/myproject permission add myuser TRAC_ADMIN | ||
- | |||
- | ===== adding trac access ===== | ||
- | |||
- | <file|/var/lib/trac/myproject/conf/trac.ini> | ||
- | [trac] | ||
- | authz_file = /var/svn/conf/SVNAccessFile | ||
- | autgz_module_name = myproject | ||
- | </file> | ||
- | |||
- | ===== svn write access ===== | ||
- | <file|/var/svn/conf/SVNAccessFile> | ||
- | [myproject:/] | ||
- | myuser1 = rw | ||
- | myuser2 = rw | ||
- | </file> | ||
- | |||
- | ====== Future stuff ====== | ||
- | |||
- | trac respects AuthzSVNAccessFile but does not manage it... yet. | ||
- | |||
- | |||
- | So I beat around for a while and found this ticket: | ||
- | http://trac.edgewall.org/ticket/5257 | ||
- | Maybe someday sakkos and I will actually write that plugin. |