Repos Server

 

Platform independent Subversion/Apache setup for Windows

 

Repos Server installer was developed to quickly configure a robust http Subversion server on Windows. You'll have the repository up and running in ten minutes. Later when you want to customize the setup, there is annotated Apache configuration files.

 

DownloadRelease notesMailing list

 

News

Repos Server 2.6.1

2009-04-15   Download

Repos Server 2.6.0

2009-03-23

Repos Server 2.5.1

2009-03-13   Download

Repos Server 2.4.1

2008-09-05   Download

Repos Server 2.4.0

2008-07-03

Repos Server 2.3.2

2008-06-19

Repos Server 2.3.1

2008-05-07

Repos Server 2.3

2008-04-16

Repos Server 2.2

2008-01-23  

Repos Server 2.1.1

2008-01-09   2.1 with two bugfixes.

Repos Server 2.1

2007-12-21   Repos Server with the new Subversion 1.4.6 and a folder structure that better supports SVNParentPath.

Repos Server 2.0.1

2007-09-25   Upgraded to Apache 2.2.6 with OpenSSL 0.9.8e. This new Apache release contains a number of security fixes. Also removed the "extras" and "dev" folder from the PHP folder to save space. The installer size is now back below 10 MB.

Repos Server 2.0

2007-09-19   WASP – Windows, Apache, Subversion and PHP.

We now consider Apache 2.2 and PHP 5 mature and stable. Repos Server 2.0, available in the download section, is a complete upgrade of all components.

Repos Server 1.2.1

Maintenance release 2007-05-27, installer build 1.2.1.1

Repos Server 1.2

Released 2007-05-15, installer build 1.2.0.3

Repos Server 1.1

Released 2007-01-27, installer build 1.1.0.2

System Requirements

Download

» Download latest version at SourceForge.net.

Sourceforge is the primary download location, containing all releases.

 

Adding more repositories

With basic knowledge of Apache configuration syntax, it is easy to add more repositories. There is no GUI for it, so the process is platform independent.

The config file, admin\repos-httpd.conf, is found in the Repos Server installation folder (or use the Start Menu item Repos Configuration).

Use multiple Location blocks

  1. Use svnadmin create to create a new repository anywhere on the file system.
  2. In the config file, locate the <Location /[repository]>...</Location> block for the current repository.
  3. Copy the location block and set root uri of choice in the new start tag.
  4. Set the SVNPath directive to the new repository (forward slahses)
  5. If you use access control, create a new AuthzSVNAccessFile

Use SVNParentPath

Any number of repositories can share the same configuration block using the SVNParentPath directive.

  1. Use svnadmin create to create a new repository next to the the existing repository (parent folder to the current SVNPath).
  2. Replace the SVNPath directive with SVNParentPath to the parent folder
  3. Optionally change the location block to set a different root url
  4. Restart Apache

Log viewer

Repos Style's log viewer can be configured for SVNParentPath. Edit html/repos-web/open/log/index.php and set $repo to the parent path and $isParent=true.

Changing html root

If you edit static web contents in the html folder, you might want to place it somewhere outside the programs folder. It is quite simple: move the html folder to somewhere else; open Apache Configuration (httpd.conf); update DocumentRoot and the second Directory entry a few lines down with the new path. Also update DocumentRoot in apache/conf/httpd-ssl.conf

Adding MySQL

We could have bundled a relational database with the installer, but Apache has nothing to do with database connections. All you need is to enable the php extension and use the default port in the database installation.

  1. Download MySQL Windows Essentials from mysql.com.
  2. Run the installer with standard configuration (or tweak the settings as you like).
  3. In PHP.ini (see Repos Server in the Start menu), uncomment extension=php_mysql.dll
  4. Restart Apache and you're done. Optionally download phpMyAdmin and unpack to your HTML folder.

With separate installations you don't need to worry about database upgrades when there is a new Repos Server version.

License

The server is based on proven software: Apache HTTP Server and Subversion. Like these components, it is distributed under an open source license, the Apache License 2.0. This means that it is free to download and free to use, and that it comes without warranties. The source code is version controlled here.

Support

Your feedback is appreciated. Please use the mailing list. An extra benefit of joining the mailing list is that you will get notified about new releases.

For professional Subversion support, contact the maintainers of this project: Repository Systems AB, Sweden.