tags:

views:

149

answers:

1

If you have two separate projects that is somehow connected. How can one make a reference to the source of the other project?

For referencing the source of your own project you use:

source:some/file

But since I want to refer to code in another project my thought was that I could write something like:

other_project:source:some/file

Anyone that knows if this is possible in some way? I have read http://www.redmine.org/wiki/redmine/RedmineTextFormatting#Redmine-links but found no clues there.

+1  A: 

It is possible in a couple of ways - although neither solution is particularly neat.

  1. use an external html link to the other_project source code, where other-proj is the identifier for the other project.

    "other project source":http://myserver:3000/projects/other-proj/repository/entry/file.txt
    
  2. define the source path via the parent directories, so from the source directory of your current project go up 3 directory levels before navigating back down to the repository of your other project. Note the source link needs to be inside double quotes to work. This method at least keeps the source tag at the front of the link.

    source:"../../../other-proj/repository/entry/file.txt"
    
Adrian
Yes indeed, neither solution is particularly neat.
UlfR