Personal tools
You are here: Home Development Teams Infrastructure Team Setup Documentation Subversion setup
Document Actions

Subversion setup

by Wichert Akkerman last modified January 28, 2006 - 17:04

Plone uses subversion to manage its source code repositories.

Access

The repositories are accessible via both HTTP and HTTPS. HTTP only allows for read-only access, while HTTPS supports both read-only and commit access. Read-only access to all repositories is open for everyone. For each repository a seperate group is used to limit commit access; only members of this group are able to commit. To implement this this Apache configuration snippets like these are used:

<Location /svn/archetypes>
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require group cn=ArchetypesCommitters,ou=Groups,dc=plone,dc=org
</LimitExcept>
</Location>

Accounts and groups are controlled via a standard Apache configuration using the LDAP database. For more information on the LDAP system please see the account database information.

Repository browsing

Besides access via subversion tools there are three way for users to browse through the repositories using a web browser:

  1. directly browsing the raw repository
  2. Using the ViewCVS interface
  3. Using the trac interface


ViewCVS

ViewCVS (now called ViewCV) provides a web interface to browse through subversion repositories (at also supports CVS, which we do not use). The list of repositories is configured using the svn_roots directive. In order to get simpler and more readble URLs the root_as_url_component option is enabled.


Hooks

Some repositories use hooks to perform special actions after a commit. The common hooks are:

  • CIA notification
  • trac hook to update issues using commit messages (standard trac script)
  • mail script to post commited changes to a list (standard mailer script from SubVersioN)
Related content

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by