Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2707

Add support for Inter-trac style links

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: trac-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All

      Description

      Trac has support for what are called inter-trac links
      http://trac.edgewall.org/wiki/InterTrac

      They are useful because they allow for cross-referencing between two different
      Trac systems.

      We have two different trac systems in use, one for standard bug tracking use,
      and one we use for tracking changes (including software rolls) to our production
      environment. This means that our changelists have tokens like
      trac:ticket:113 and
      production:ticket:241

      With InterTrac configuration, Trac resolves these into links to the correct trac
      installation. However, the Hudson Trac plugin doesn't recognize these intertrac
      style links and instead would create (for the example above) a link to ticket
      113 in the trac system and a link to ticket 241 in the trac system.

      It would be helpful if the Trac configuration for a Hudson job would also
      support Inter-trac style links.

        Activity

        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in hudson
        User: : bradfritz
        Path:
        trunk/hudson/plugins/trac/src/main/java/hudson/plugins/trac/TracLinkAnnotator.java
        trunk/hudson/plugins/trac/src/test/java/hudson/plugins/trac/TracLinkAnnotatorTest.java
        http://fisheye4.cenqua.com/changelog/hudson/?cs=14992
        Log:
        JENKINS-2707 Remainder of Rick Riemer's patch. Adds support for Trac
        InterTrac links(1). The following formats are supported:

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : bradfritz Path: trunk/hudson/plugins/trac/src/main/java/hudson/plugins/trac/TracLinkAnnotator.java trunk/hudson/plugins/trac/src/test/java/hudson/plugins/trac/TracLinkAnnotatorTest.java http://fisheye4.cenqua.com/changelog/hudson/?cs=14992 Log: JENKINS-2707 Remainder of Rick Riemer's patch. Adds support for Trac InterTrac links(1). The following formats are supported:
        Hide
        bradfritz bradfritz added a comment -

        Patch applied with minor whitespace and formatting changes.

        I will try to get a new release of the Trac plugin cut Monday or Tuesday.

        Show
        bradfritz bradfritz added a comment - Patch applied with minor whitespace and formatting changes. I will try to get a new release of the Trac plugin cut Monday or Tuesday.
        Hide
        ricq ricq added a comment -

        Brad, thanks for committing the patch. I missed most of your activity because I
        seem not to get any emails on activity of this issue.

        Have you been able to create a new release yet?

        --ricq

        Show
        ricq ricq added a comment - Brad, thanks for committing the patch. I missed most of your activity because I seem not to get any emails on activity of this issue. Have you been able to create a new release yet? --ricq
        Hide
        ricq ricq added a comment -

        Add myself on the CC

        Show
        ricq ricq added a comment - Add myself on the CC
        Hide
        ricq ricq added a comment -

        Fixed in the 1.8 release of the plugin that Brad Fritz made last night. Closing
        as fixed.

        More info: http://www.nabble.com/Trac-plugin-release--td22053591.html

        Show
        ricq ricq added a comment - Fixed in the 1.8 release of the plugin that Brad Fritz made last night. Closing as fixed. More info: http://www.nabble.com/Trac-plugin-release--td22053591.html

          People

          • Assignee:
            bradfritz bradfritz
            Reporter:
            kedmison kedmison
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: