SVN
Table of contents
Introduction
This article is under construction and will explain how to install and maintain SVN (Subversion) on FreeBSD with Apache2 and DAVInstallation
Install from ports /usr/ports/devel/subversionShow default and/or recommended options
Setup Apache
Add modules to httpd.confShow example lines
Setup Virtual Host
Add SVN specific optionsAdd DAV specific options
Use Digest as auth
Use Authz as ACL
Show full example
Using Digest as auth
Explain htdigest usage hereGive examples
Using Authz as ACL
Explain file format hereGive examples
Importing code for the first time
Give example (remember to point out the importance of "trunk")svnadmin create confighell mkdir -p import/trunk cp -R ~/home/devel/* import/trunk/ cd import svn import http://svn.confighell.com/svn/confighell/
This will make sure that you have an initial "trunk" folder as suggested by the SVN docs. The reason to have it, is when you start multiple branches you will (should) make a directory on the same level called "branches".
- + : A leading plus sign indicates that this word must be present in every object returned.
- - : A leading minus sign indicates that this word must not be present in any row returned.
- By default (when neither plus nor minus is specified) the word is optional, but the object that contain it will be rated higher.
- < > : These two operators are used to change a word's contribution to the relevance value that is assigned to a row.
- ( ) : Parentheses are used to group words into subexpressions.
- ~ : A leading tilde acts as a negation operator, causing the word's contribution to the object relevance to be negative. It's useful for marking noise words. An object that contains such a word will be rated lower than others, but will not be excluded altogether, as it would be with the - operator.
- * : An asterisk is the truncation operator. Unlike the other operators, it should be appended to the word, not prepended.
- " : The phrase, that is enclosed in double quotes ", matches only objects that contain this phrase literally, as it was typed.
