configure Trac to work with an SVN repository that resides on another server

41 views
Skip to first unread message

justash...@gmail.com

unread,
Jan 9, 2014, 3:18:01 AM1/9/14
to trac-...@googlegroups.com

Hello, group:

How can I configure Trac to work with an SVN repository that resides on another server. Is this supported now?

Thanks very much!

W. Martin Borgert

unread,
Jan 9, 2014, 6:45:39 AM1/9/14
to trac-...@googlegroups.com, justash...@gmail.com
Quoting justash...@gmail.com:
> How can I configure Trac to work with an SVN repository that resides on
> another server. Is this supported now?

To my knowledge, this is not implemented. Trac needs file system
access to the repository. Maybe an NFS/sshfs is an option for you?

Cheers

Riedel, Torge

unread,
Mar 10, 2014, 7:45:53 AM3/10/14
to trac-...@googlegroups.com

I succeeded doing the following:

- Create the required hooks in the svn-repo on the other server.

- They call a script on your trac-server via ssh (trusted connection)

- This script updates first an svn-repo-mirror (http://svnbook.red-bean.com/en/1.7/svn.ref.svnsync.html) on your trac-server, then informs trac about the changes

- Trac points to the mirror repo on the trac-server

 

The bad point of this solution is, that you need the svn mirror repo and waste space. But it works like a charm.

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+...@googlegroups.com.
To post to this group, send email to trac-...@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


CENIT AG, Industriestrasse 52-54, 70565 Stuttgart, Tel.: +49 711 7825-30, Fax: +49 711 7825-4000, Internet: www.cenit.de
Geschaeftsstellen: Berlin, Frankfurt, Hamburg, Hannover, Muenchen, Oelsnitz, Ratingen, Saarbruecken
Vorstandsmitglieder: Kurt Bengel, Matthias Schmidt
Aufsichtsratsmitglieder: Andreas Schmidt (Vorsitzender des Aufsichtsrats), Hubert Leypoldt, Andreas Karrer
Bankverbindungen:
Deutsche Bank (BLZ 600 700 70) Kto. 1661 040 IBAN : DE85 6007 0070 0166 1040 00 SWIFT-CODE : DEUTDESS,
Commerzbank (BLZ 600 400 71) Kto. 532 015 500 IBAN : DE83 6004 0071 0532 0155 00 SWIFT-Code : COBADEFF600,
BW-Bank (BLZ 600 501 01) Kto. 2 403 313 IBAN : DE17 6005 0101 0002 4033 13 SWIFT-Code : SOLADEST
Registergericht: Amtsgericht Stuttgart
Handelsregister: HRB Nr. 19117
Umsatzsteuer: ID-Nr. DE 147 862 777

Reply all
Reply to author
Forward
0 new messages