Edgewall Software

Opened 16 years ago

Closed 15 years ago

Last modified 5 years ago

#156 closed enhancement (fixed)

Using Trac without subversion.

Reported by: Jonas Borgström Owned by: Christian Boos
Priority: normal Milestone: 0.10
Component: version control Version: 0.5.2
Severity: normal Keywords:
Cc: eric-trac@… Branch:
Release Notes:
API Changes:
Internal Changes:


It should be possible to use Trac without having a subversion repository. The wiki and ticket system alone can be useful.

Attachments (1)

trac_dont_init_svn.patch (1.6 KB ) - added by dmbrucker@… 15 years ago.
skip svn initialization given '—none'

Download all attachments as: .zip

Change History (16)

comment:1 by anonymous, 16 years ago

Definitely! I just wanted to replace bugzilla, not migrate my whole project to subversion. This is not modular.

comment:2 by bryan@…, 16 years ago

Agree wholeheartedly! Without svn it would be excellent for sysadmins as a combined ticketing/documentation system.

comment:3 by richard_c@…, 16 years ago

What is proposed as the storage mechanism for the wiki, if not SVN? SQL? Stacks of diffs? CVS? I don't see how "not using SVN" will help as such.

Why not build up some scripts and a bundled SVN client/libraries, using the FSFS SVN backend? The idea here is to encapsulate SVN, and Berkley DB, to the point where they become irrelevant as entities. Does it really matter what happens "inside" a wiki?

If the wiki grows large enough to out grow a generic back end, then manage it as the full-blooded service it has become (Berkley DB, and the rest of it).

comment:4 by Christopher Lenz, 16 years ago

Subversion isn't being used to store the Wiki pages, they are stored in the SQLite database. Subversion is really only used in read-only mode, for providing views on the repositories.

comment:5 by Christopher Lenz, 15 years ago

comment:6 by Christopher Lenz, 15 years ago

Severity: normalenhancement

comment:7 by Eric Hopper <eric-trac@…>, 15 years ago

I did this with one Trac I set up because they were using Perforce as the version control system. So I just created an empty Subversion repository and point Trac at that. It was slightly annoying to have to set up Subversion on that machine and create an extra repository, but not that annoying.

comment:8 by Christian Boos, 15 years ago

Milestone: 1.00.9
Owner: changed from Jonas Borgström to Christian Boos
Status: newassigned

The web_ui refactoring made it possible to disable the version control related modules, within the trac.ini file:

trac.versioncontrol.web_ui = yes

What's left to be done is making the initialization of the SVN repository optional in trac-admin.

by dmbrucker@…, 15 years ago

Attachment: trac_dont_init_svn.patch added

skip svn initialization given '—none'

comment:9 by Christian Boos, 15 years ago

(cmlenz: this won't be ready for 0.9b2)

comment:10 by anonymous, 15 years ago

Cc: eric-trac@… added

comment:11 by Christopher Lenz, 15 years ago


Postponing. This is also related to #2148.

comment:12 by Christian Boos, 15 years ago

Component: generalversion control

The current vc-refactoring branch (source:sandbox/vc-refactoring@2511) has this feature.

comment:13 by Christopher Lenz, 15 years ago


comment:14 by Christopher Lenz, 15 years ago

Resolution: fixed
Status: assignedclosed

The vc-refactoring branch has been merged in [2669], which allows Trac to be initialized without a Subversion repository. The specifics still need a bit of polish, but the basics are there now.

comment:15 by Christopher Lenz, 15 years ago

Milestone: 1.00.10

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.