Mochabomb

Web Design and Technical notes

Mochabomb header image 2

Installing subversion

December 15th, 2006 2:18 am · No Comments

1. If you want to use Apache 2.2.x with Trac + Subversion get 1.3.2, you’ll need this binary: http://www.tomdonovan.net/download/mod_dav_svn-1.3.2.x-w32.zip

2. http://trac.edgewall.org/wiki/TracOnWindows#Method2:UsingInstallers - follow it verbatim - does not explicitly say the obvious - get subversion command line tools - http://subversion.tigris.org/files/documents/15/35379/svn-1.4.2-setup.exe3. Python info here - http://www.imladris.com/Scripts/PythonForWindows.html

3. I did not set up Trac + Apache yet because I chose to install Subverion 1.4.2 (many bug fixes compared to 1.3.2) was used. Its some work to get Apache and TRac working am using Trac standalone - set up here

4. Until I get the Apache Trac working, I’ll use the tracd web daemon - here’s the script I use to start it -

#!/bin/bash
#
# the below command should be on one line
#
C:/Python24/python.exe c:/Python24/Scripts/tracd.py -p8000 \
c:/Python24/Scripts/trac/projects

5. Commands that work:

# mkidr c:\svn
# svn create c:\SVN\repos
# /cygdrive/c/Python24/Scripts/trac.sh
# svn import vtiger file:///c:/SVN/projects -m "Initial import"

* Note: / and \ and how they are used. the svn import wants forward slashes…

6. Security - secure a repository by editing the /conf/svnserve.conf file. Mine looks like this:

[general]
### These options control access to the repository for unauthenticated
### and authenticated users.  Valid values are "write", "read",
### and "none".  The sample settings below are the defaults.
anon-access = none
auth-access = write
### The password-db option controls the location of the password
### database file.  Unless you specify a path starting with a /,
### the file's location is relative to the conf directory.
### Uncomment the line below to use the default password file.
password-db = ../../Another-repo-dir/conf/accounts
### The authz-db option controls the location of the authorization

Then entries in the accounts file look like:

name = password
johnny = PaSSWerde
geri = MillWaukEE
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

Tags: Subversion

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment