[JIRA] Created: (HUDSON-7032) Trac plugin creates wrong links

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-7032) Trac plugin creates wrong links

Hudson issues mailing list
Trac plugin creates wrong links
-------------------------------

                 Key: HUDSON-7032
                 URL: http://issues.hudson-ci.org/browse/HUDSON-7032
             Project: Hudson
          Issue Type: Bug
          Components: trac
         Environment: Trac plugin 1.10, Hudson 1.365, Trac 0.11.2.1
            Reporter: dmoebius
            Priority: Minor


I have a problem with the links in the changes page.

In my subversion repository, the files are located in:

{noformat}svn://svn.xxx.com/Repo/Product/Trunk/subdir/file.txt{noformat}

The links will then point at:

{noformat}http://trac.xxx.com/trac-project/browser/Product/Trunk/subdir/file.txt{noformat}

But my Trac installation has its root at {{Product/Trunk/}}, so the only link that would work is:

{noformat}http://trac.xxx.com/trac-project/browser/subdir/file.txt{noformat}

It seems there is no way to tell the plugin that my Trac project has its root set at {{svn://svn.xxx.com/Repo/Product/Trunk/}} instead of {{svn://svn.xxx.com/Repo/}} .


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-7032) Trac plugin creates wrong links

Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-7032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dmoebius updated HUDSON-7032:
-----------------------------

    Attachment: HUDSON-7032.patch

FYI, I created a patch to enhance the plugin with a new string parameter called "Trac source repository browser prefix" (couldn't come up with a better name). You may enter any path into this textfield. The plugin will subtract this prefix from the URL before opening the Trac browser.

The online help for this new field needs more explanation.

> Trac plugin creates wrong links
> -------------------------------
>
>                 Key: HUDSON-7032
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-7032
>             Project: Hudson
>          Issue Type: Bug
>          Components: trac
>         Environment: Trac plugin 1.10, Hudson 1.365, Trac 0.11.2.1
>            Reporter: dmoebius
>            Priority: Minor
>         Attachments: HUDSON-7032.patch
>
>
> I have a problem with the links in the changes page.
> In my subversion repository, the files are located in:
> {noformat}svn://svn.xxx.com/Repo/Product/Trunk/subdir/file.txt{noformat}
> The links will then point at:
> {noformat}http://trac.xxx.com/trac-project/browser/Product/Trunk/subdir/file.txt{noformat}
> But my Trac installation has its root at {{Product/Trunk/}}, so the only link that would work is:
> {noformat}http://trac.xxx.com/trac-project/browser/subdir/file.txt{noformat}
> It seems there is no way to tell the plugin that my Trac project has its root set at {{svn://svn.xxx.com/Repo/Product/Trunk/}} instead of {{svn://svn.xxx.com/Repo/}} .

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-7032) Trac plugin creates wrong links

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-7032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140406#action_140406 ]

mattis commented on HUDSON-7032:
--------------------------------

dmoebius: Thanks a lot for creating this patch, looking forward to seeing a fix.

> Trac plugin creates wrong links
> -------------------------------
>
>                 Key: HUDSON-7032
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-7032
>             Project: Hudson
>          Issue Type: Bug
>          Components: trac
>         Environment: Trac plugin 1.10, Hudson 1.365, Trac 0.11.2.1
>            Reporter: dmoebius
>            Priority: Minor
>         Attachments: HUDSON-7032.patch
>
>
> I have a problem with the links in the changes page.
> In my subversion repository, the files are located in:
> {noformat}svn://svn.xxx.com/Repo/Product/Trunk/subdir/file.txt{noformat}
> The links will then point at:
> {noformat}http://trac.xxx.com/trac-project/browser/Product/Trunk/subdir/file.txt{noformat}
> But my Trac installation has its root at {{Product/Trunk/}}, so the only link that would work is:
> {noformat}http://trac.xxx.com/trac-project/browser/subdir/file.txt{noformat}
> It seems there is no way to tell the plugin that my Trac project has its root set at {{svn://svn.xxx.com/Repo/Product/Trunk/}} instead of {{svn://svn.xxx.com/Repo/}} .

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]