trac repository

12 views
Skip to first unread message

Richard Page

unread,
Jun 20, 2012, 11:24:42 AM6/20/12
to trac-...@googlegroups.com
Recently new to trac so bear with me:
I have recently installed and am wondering if there is one repository for all trac projects or one for each. What is svn used for in trac, does it put any of the trac data into svn??

Cooke, Mark

unread,
Jun 20, 2012, 11:32:41 AM6/20/12
to trac-...@googlegroups.com
> -----Original Message-----
> From: trac-...@googlegroups.com On Behalf Of Richard Page
> Sent: 20 June 2012 16:25
> To: trac-...@googlegroups.com
> Subject: [Trac] trac repository
>
> Recently new to trac so bear with me:

Welcome!

> I have recently installed and am wondering if there is one
> repository for all trac projects or one for each. What is svn
> used for in trac, does it put any of the trac data into svn??

Trac does not store any data in svn, you store your source code (or whatever) in subversion and Trac can link to it to display changesets etc. This comes in useful if you link tickets to changesets (using subversion's post-commit hook, trac's commit_updater and wiki markup in the comments, see [1])

As to how many trac <-> svn, that is really up to you. Personally, we have one svn per trac as I think it is easier in the long run to handle projects in their own subversion repo (where the projects are unrelated, at least). Note also that you could have one trac for multiple repos and handle separate projects as `components` in Trac...

[1] http://trac.edgewall.org/wiki/TracRepositoryAdmin

~ Mark C

Voelker, Bernhard

unread,
Jun 20, 2012, 11:33:14 AM6/20/12
to trac-...@googlegroups.com
Richard Page wrote (June 20, 2012 5:25 PM):

> Recently new to trac so bear with me:
> I have recently installed and am wondering if there is
> one repository for all trac projects or one for each.

1 repo for 1 trac project - that's what a TRAC project is ;-)

> What is svn used for in trac, does it put any of the trac data into svn??

You can connect a source control repository to TRAC,
and have a direct relation between a TRAC ticket and
a commit. That's not part of a basic TRAC installation.

You could even use a TRAC project as a plain wiki - by
turning off the ticket and milestone stuff ;-)

Have a nice day,
Berny

Reply all
Reply to author
Forward
0 new messages