This forum is no longer active. Please post your questions to our new community site

Forums Trac

Little help?

Subscribe to Little help? 2 post(s), 2 voice(s)

 
Avatar Pigpen 1 post

Hi,

I have installed the trac stack and added the webadmin module and all was fine. I’m just a little confused as to where I set up the SVN repository details so we can see the revision history in Trac.

Many thanks

PP

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

You can find your repository created at <installation_directory>/repository by default. It is only necessary to add your files to the Subversion repository. Take a look this little quick start:


This section describes how to start the svnserver and to create a simple repository
with Subversion. You can find th Subversion technical documentation at 
<a href="http://subversion.tigris.org/">http://subversion.tigris.org/</a>.

You can start stop Subversion server with ctlscript.sh or using the shortcuts on
Windows.

We can configure the repository. The repository's
svnserve.conf file is the central mechanism for
controlling authentication and authorization policies. You can
edit this file in /path/to/repository/conf/svnserce.conf.

The variables anon-access  and auth-access can be set to the values
none, read, or write. Setting the value to none prohibits both
reading and writing; read allows read-only access to the
repository, and write allows complete read/write access to the
repository. For example, you can uncomment these lines:</p>

[general]
anon-access = read
auth-access = write
password-db = passwd

You can edit passwd file at the same directory to manage
subversion users. For example, if you uncomment these lines you
create two subversion users; harry and sally.</p>

[users]
harry = harryssecret
sally = sallyssecret

It is necessary to restart svnserve to apply the changes.

Finally you can import a project directory to subversion.

$ svn import /path/to/project/ svn://localhost/repository/ -m "first import" 

I hope it helps

Forums Trac