View · Index

Prerequisites and Procedures for Migrating to Subversion from CVS


Subversion will be used for version control. The source code will be maintained inside a subversion repository.

The Apache HTTP server will be used to allow remote users to access the repository.  There are other server options for subversion, however, apache provides the following benefits that maybe important to OpenACS.

  • Network traffic can be encrypted via SSL and HTTP(S).
  • Full Apache logging.
  • Numerous authentication systems integrated with Apache
  • No need to create system accounts for users
cvs2svn is a script that reads an existing CVS repository and creates an equivalent subversion repository.

Optional Software for tracking merges between branches. (

Svn2log to generate changelogs. (

ViewVC will be used to view the code in the repository. (

Experienced users on linux can use the svn command line client to checkout, update and commit code , or a graphical interface like TkSVN (, while users on windows can use tortoisesvn (

Outline of Actions for Repository Transition

  • Run cvs2svn on a copy of OpenACS CVS repository. (This will take a while depending on how much data is in the CVS repository)
    • There will most likely be errors reported in some of the history files. When I ran a test there were references in the history file to revisions that don't exist in the repository. The history file can be edited to remove the invalid entry. Then cvs2svn needs to be run again until all these problems are fixed.
    • The error message will have a long traceback of python code then end in someting like:
    • KeyError: '' The beginning of the error message will tell you which file it stopped at. Edit the file and remove entries for the revision in the KeyError message.
    • Fix error in commitinfo,v delete revision info for 1.1
    • New error message
      • Done
        ----- pass 2 (CollateSymbolsPass) -----
        Checking for blocked exclusions...
        Checking for forced tags with commits...
        ----- pass 3 (ResyncRevsPass) -----
        Re-synchronizing CVS revision timestamps...
        ERROR: Key 198L not found within items currently accessible.

  • Install Apache with HTTP Auth.
  • Setup ViewVC
  • Point Apache and ViewVC to the new SVN repository converted from SVN
  • Create users who can access the repository on Apache
  • Rewrite Release documentation for SVN

Outline of Actions for Instance

previous April 2024
Sun Mon Tue Wed Thu Fri Sat
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

Popular tags

17 , 5.10 , 5.10.0 , 5.9.0 , 5.9.1 , ad_form , ADP , ajax , aolserver , asynchronous , bgdelivery , bootstrap , bugtracker , CentOS , COMET , compatibility , CSP , CSRF , cvs , debian , docker , docker-compose , emacs , engineering-standards , exec , fedora , FreeBSD , guidelines , host-node-map , hstore
No registered users in community xowiki
in last 30 minutes