cluemapper svn url convention (how do I check code into a cluemapper project?)

3 views
Skip to first unread message

david bain

unread,
Jan 3, 2009, 8:03:58 AM1/3/09
to cluemap...@googlegroups.com
While I can create new trac projects using the my Cluemapper I am unable to check code in because I don't know the correct URL to use for my svn check ins. What is the convention regarding default svn URLs for a project?

--
SplashStart - Professional Websites. Starting Now.
http://www.splashstart.com

Rocky Burt

unread,
Jan 3, 2009, 11:30:51 AM1/3/09
to cluemap...@googlegroups.com

ClueMapper does not provide the actual svn repo.  You're expected to provide that yourself via standard apache/svn patterns.  There is no pure python method of exposing a svn repo.

But you should know that bzr support is a thought-in-progress and ClueMapper will be able to serve up bzr repos directly since bzr itself is mostly written in Python.

- Rocky

david bain

unread,
Jan 4, 2009, 12:02:04 AM1/4/09
to cluemap...@googlegroups.com
Thanks for the suggestion Rocky. Seems to me, that at this point setting up Cluemapper requires significant Apache, Linux and DNS knowledge. Anyway, I've reached as far as being able to do checkins and associate a repo with my cluemapper projects.

Below are my notes, in case others find it useful::

 I've added the following to my apache conf.

all paths are relative to the location of my cluemapper install "/home/cluemapper/server" this will be different if cluemapper is located somewhere else.

<VirtualHost x.x.x.x:80>
ServerName cluemapper.MYDOMAIN.com
# Subversion
<Location "/svn">
    DAV svn
     AuthType Basic
     AuthUserFile /home/cluemapper/server/etc/cluemapper/cluemapper.passwd
     AuthGroupFile /home/cluemapper/server/etc/cluemapper/svnauthzfile.conf
    SVNParentPath /home/cluemapper/server/var/cluemapper/svnrepos/

     AuthName "Cluemapper Subversion Repository"
     Require valid-user

</Location>

What's going on here?
-------------------------------------
Cluemapper manages authentication with two files, a password and group file

AuthUserFile points to the location of my cluemapper.passwd file
AuthGroupFile to the location of my svnauthz file

ON ubuntu, apache2 runs as a user called 'www-data'

I had to give www-data permission to my svnrepos, otherwise I kept getting:

db/transactions/0-1.txn': Permission denied  errors.

To do this, I used the following command as root:

chown cluemapper.www-data -R /home/cluemapper/server/var/cluemapper/svnrepos
chmod g+w /home/cluemapper/server/var/cluemapper/svnrepos -R


david bain

unread,
Jan 4, 2009, 12:04:18 AM1/4/09
to cluemap...@googlegroups.com
next on my todo list: Deliverance theme :).

BTW... am I posting to the correct list? Shoud this go to cluemapper-users?

david bain

unread,
Jan 4, 2009, 7:22:45 AM1/4/09
to cluemap...@googlegroups.com
One last thing.
To automate the svn url generation for future projects I added the following line to my "cluemapper.ini":

base_vc_url = http://cluemapper.MYDOMAIN.com/svn/

So now my cluemapper derives my svn URL.
Reply all
Reply to author
Forward
0 new messages