Hello again,

> -----Original Message-----
> From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On
> Behalf Of mimi
> Sent: 08 May 2014 05:30
> To: trac-users@googlegroups.com
> Subject: [Trac] Re: One repository and two trac instances
> 
> Hi guys,
> 
> Just to let you know that yours indications have worked and I successfully
> created link between two trac instances and the one repository.
> 
> The [intertrac] section do the job. Post commit hooks worked as well.
> 
> This success leads me to next step. Let me explain the circumstances.
> 
> The topic I posted was just to check is it possible to build the "parent"
> (linked) instance of trac. Now I'd like the "parent" to have more than one
> children.
> 
> It looks like in the [intertrac] session I can have only one link. At least
> that is the conclusion from the example found in the link. Before I start
> messing around, could someone to confirm or deny is it possible at all to
> have links to multiple trac instances?

I am not sure why you should think that (the help page at 
http://trac.edgewall.org/wiki/InterTrac shows that trac itself has multiple 
such links configured, using the `[[InterTrac]]` macro) but you just need to 
add extra lines in your ini file.  They are distinguished by the unique link 
prefix (shows as <t1> and <t2> here):-

[intertrac]
# -- links
<t1>.title = Project 1 Title
<t1>.url = https://project/1/url

<t2>.title = Project 2 Title
<t2>.url = https://project/2/url

I have at least four such links setup in some of my tracs.

Regards,

~ Mark C

> Cheers,
> 
> M
> 
> On Friday, 25 April 2014 11:54:00 UTC+1, mimi wrote:
> 
>       Hi,
> 
>       I'd like to connect one svn repository with two track instances.
> 
>       I connected it smoothly (repo sync), but now I don't know how to link
> tickets from one trac instance and from second trac instance to the svn
> comment field.
> 
>       For example in first trac instance I have ticket no. 1 and in second
> trac instance I have ticket no. 4.
> 
>       When I do commit of my change into the repo I'd like to use links as
> usual #1 and #4. Of course when I use it and browse the source in first trac
> instance links #1 and #4 woks against first instance. And when I use it and
> browse the source in second trac instance links #1 and #4 works against the
> second one.
> 
>       Question: is there any extension to the #-type links which can point a
> particular ticket in the particular trac instance? Or  have to put full url
> link?
> 
>       Thanks

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to