Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

SVN Authz file management tools:

  • Based on Pylons Web Framework, with AJAX.

  • Group, Alias management.

  • Repository and rules management.

  • Check users access rights for repositories.

  • Add administrators for repository.

  • Administrators for the default repository (/) are superusers.

  • Login using a htpasswd file or using LDAP.

Videos on ShowMeDo

I have created a series of videos on usage of pySvnManager and how it’s codes are completed.

Installation

  • svnadmin can be installed with Easy Install by typing:

$ sudo easy_install svnadmin

Configuration

  • Deploy using make-config and setup-app

deploy$ paster make-config svnadmin svnadmin.ini
deploy$ paster setup-app svnadmin.ini
  • Check configurations:

deploy$ grep "^auth[nz]_file" svnadmin.ini
authn_file = %(here)s/config/svn.passwd
authz_file = %(here)s/config/svn.access

deploy$ grep "^[ ]*auth" config/localconfig.py
    auth = [htpasswd_login]

deploy$ grep "^# admin : /" config/svn.access
# admin : / = root, jiangxin
  • Change root user’s password

deploy$ htpasswd -b config/svn.passwd root secret
Updating password for user root
  • Review main configurations:

deploy$ vi config/localconfig.py
deploy$ vi svnadmin.ini

Have a try

  • Start web app.

deploy$ paster serve --reload svnadmin.ini
...
serving on 0.0.0.0:5000 view at http://127.0.0.1:5000

Test

src$ nosetests

Metadata

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page