Project

General

Profile

Actions

Feature #4052

open

Cross-project redmine links with alternate link text for source and export links.

Added by William Baum about 15 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
2009-10-19
Due date:
% Done:

50%

Estimated time:
Resolution:

Description

In Feature #3346 (Support for cross-project revision links), James Wells and Babar O'Cap collaborated to make it possible to create commit and revision links across projects.

I have now extended the project: syntax to source: and export: links and also extended them with the ability to specify alternate link text: "Download filename" instead of projectname:export:foo/bar/path/filename.

I have also corrected the issue causing source and export links to not be properly converted to absolute links in issue update emails. (See Defect #3483)

So... Source and export links now work in emails, can be cross project, and can have alternate display text for the link.

Syntax:

  • ["Link alternate display title"=][project:]source:some/path[/file][@52][#L120]
  • ["Link alternate display title"=][project:]export:some/path/file[@52]

Note: For the link text, the double-quotes are currently required, even if the text is only one word. I chose to implement the alternate link name functionality in a way that altered the primary regex as little as possible. It's getting a bit unwieldy.

091018-cross-project_redmine_links-tests.patch contains changes to test/* files as provided in:

  • #3346 cross-project_revision_and_commit_links_v5.diff - Patch v5 - from Babar O'Cap, 2009-08-26 03:27

    I have no idea how to use, extend, or test this test/* functionality, so I didn't attempt to..

091018-cross-project_redmine_links.patch contains no test/* file modifications.


Files

091018-cross-project_redmine_links.patch (12.4 KB) 091018-cross-project_redmine_links.patch functional changes (revision 2879) William Baum, 2009-10-19 05:43
091018-cross-project_redmine_links-tests.patch (16.9 KB) 091018-cross-project_redmine_links-tests.patch functional changes plus partial test functionality. (revision 2879) William Baum, 2009-10-19 05:43
091021-cross-project_redmine_links.patch (12.5 KB) 091021-cross-project_redmine_links.patch William Baum, 2009-10-22 02:59
100328-_r3618_-cross-project_redmine_links.patch (12.3 KB) 100328-_r3618_-cross-project_redmine_links.patch updated patch against r3618 William Baum, 2010-03-29 00:47
100805-1.0.0_r3854-cross-project_redmine_links.patch (12.2 KB) 100805-1.0.0_r3854-cross-project_redmine_links.patch William Baum, 2010-08-06 01:22
100806-0.9.6_add_cross_project_links_with_changesets.patch (771 Bytes) 100806-0.9.6_add_cross_project_links_with_changesets.patch Patch to add cross-project references when fixing via repository commit keywords Pieter Smith, 2010-08-06 14:25

Related issues

Related to Redmine - Feature #779: Multiple SCM per projectClosedJean-Philippe Lang2008-03-04

Actions
Related to Redmine - Feature #7409: Cross project Redmine linksClosed2011-01-22

Actions
Related to Redmine - Feature #3346: Support for cross-project revision linksClosed2009-05-12

Actions
Related to Redmine - Defect #3483: Relative url for source links in notificationsClosedJean-Philippe Lang2009-06-12

Actions
Related to Redmine - Feature #10248: Specific text instead of addresses to the Redmine internal linksNew

Actions
Related to Redmine - Feature #21443: Links to resources in MarkdownNew

Actions
Has duplicate Redmine - Feature #4667: Ability to link to a revision in a subprojects repositoryClosed2010-01-27

Actions
Actions

Also available in: Atom PDF