[JIRA] (JENKINS-13366) Prefix or truncate the file path of a change set to build Trac source browser URL
Gerd Zanker resolved JENKINS-13366 as Fixed Prefix or truncate the file path of a change set to build Trac source browser URL Merged with pull request #5 into trac master branch. Change By: Gerd Zanker (13/Feb/13 7:36 PM) Status: Open Resolved Resolution: Fixed This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-13366) Prefix or truncate the file path of a change set to build Trac source browser URL
Gerd Zanker stopped work on JENKINS-13366 Prefix or truncate the file path of a change set to build Trac source browser URL Change By: Gerd Zanker (13/Feb/13 7:35 PM) Status: In Progress Open This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-13366) Prefix or truncate the file path of a change set to build Trac source browser URL
SCM/JIRA link daemon commented on JENKINS-13366 Prefix or truncate the file path of a change set to build Trac source browser URL Code changed in jenkins User: Gerd Zanker Path: pom.xml src/main/java/hudson/plugins/trac/TracRepositoryBrowser.java src/test/java/hudson/plugins/trac/TracSvnRepositoryBrowserTest.java src/test/resources/hudson/plugins/trac/changelog-with-deleted-file.xml src/test/resources/hudson/plugins/trac/changelog_unsorted.xml http://jenkins-ci.org/commit/trac-plugin/70dbb9210b77cf46c76dc2330b7d8d6dabd6293e Log: Added test for existing subversion TracRepositoryBrowser class to have a clean, tested base for JENKINS-7032 and JENKINS-13366 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13366) Prefix or truncate the file path of a change set to build Trac source browser URL
Gerd Zanker assigned JENKINS-13366 to Gerd Zanker Prefix or truncate the file path of a change set to build Trac source browser URL Change By: Gerd Zanker (19/Dec/12 5:33 PM) Assignee: Gerd Zanker This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13366) Prefix or truncate the file path of a change set to build Trac source browser URL
Gerd Zanker started work on JENKINS-13366 Prefix or truncate the file path of a change set to build Trac source browser URL Change By: Gerd Zanker (19/Dec/12 5:32 PM) Status: Open In Progress This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13366) Prefix or truncate the file path of a change set to build Trac source browser URL
[ https://issues.jenkins-ci.org/browse/JENKINS-13366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerd Zanker updated JENKINS-13366: -- Description: Trac browser URL can not always be created by appending the Trac URL and the changed file path. Sometimes the file path must be truncated (see JENKINS-7032), sometime the file path must be extended by a prefix. *Example for Truncate* The link will then point at: {{http://trac.mycompany.com/trac-project/browser/Product/Trunk/subdir/file.txt}} But my Trac installation has its root at Product/Trunk/, so the only link that would work is: {{http://trac.mycompany.com/trac-project/browser/subdir/file.txt}} *Example for Prefix* Only the path to the file is included resulting in incorrect urls. So for example, I get this incorrect url: {{http://trac.mycompany.com/browser/myfile.py}} instead of this correct url: {{http://trac.mycompany.com/browser/*myrepo/*myfile.py}} was: Trac browser URL can not always be created by appending the Trac URL and the changed file path. Sometimes the file path must be truncated (see JENKINS-7032), sometime the file path must be extended by a prefix. *Example for Truncate* The link will then point at: {{http://trac.mycompany.com/trac-project/browser/Product/Trunk/subdir/file.txt}} But my Trac installation has its root at Product/Trunk/, so the only link that would work is: {{http://trac.mycompany.com/trac-project/browser/subdir/file.txt}} *Example for Prefix* Only the path to the file is included resulting in incorrect urls. So for example, I get this incorrect url: {{http:// trac.mycompany.com/browser/myfile.py}} instead of this correct url: {{http:// trac.mycompany.com/browser/*myrepo/*myfile.py}} > Prefix or truncate the file path of a change set to build Trac source browser > URL > - > > Key: JENKINS-13366 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13366 > Project: Jenkins > Issue Type: Improvement > Components: trac >Reporter: Gerd Zanker > > Trac browser URL can not always be created by appending the Trac URL and the > changed file path. > Sometimes the file path must be truncated (see JENKINS-7032), sometime the > file path must be extended by a prefix. > *Example for Truncate* > The link will then point at: > {{http://trac.mycompany.com/trac-project/browser/Product/Trunk/subdir/file.txt}} > But my Trac installation has its root at Product/Trunk/, so the only link > that would work is: > {{http://trac.mycompany.com/trac-project/browser/subdir/file.txt}} > *Example for Prefix* > Only the path to the file is included resulting in incorrect urls. So for > example, I get this incorrect url: > {{http://trac.mycompany.com/browser/myfile.py}} > instead of this correct url: > {{http://trac.mycompany.com/browser/*myrepo/*myfile.py}} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13366) Prefix or truncate the file path of a change set to build Trac source browser URL
[ https://issues.jenkins-ci.org/browse/JENKINS-13366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerd Zanker updated JENKINS-13366: -- Description: Trac browser URL can not always be created by appending the Trac URL and the changed file path. Sometimes the file path must be truncated (see JENKINS-7032), sometime the file path must be extended by a prefix. *Example for Truncate* The link will then point at: {{http://trac.mycompany.com/trac-project/browser/Product/Trunk/subdir/file.txt}} But my Trac installation has its root at Product/Trunk/, so the only link that would work is: {{http://trac.mycompany.com/trac-project/browser/subdir/file.txt}} *Example for Prefix* Only the path to the file is included resulting in incorrect urls. So for example, I get this incorrect url: {{http://trac.mycompany.com/browser/myfile.py}} instead of this correct url: {{http://trac.mycompany.com/browser/myrepo/myfile.py}} was: Trac browser URL can not always be created by appending the Trac URL and the changed file path. Sometimes the file path must be truncated (see JENKINS-7032), sometime the file path must be extended by a prefix. *Example for Truncate* The link will then point at: {{http://trac.mycompany.com/trac-project/browser/Product/Trunk/subdir/file.txt}} But my Trac installation has its root at Product/Trunk/, so the only link that would work is: {{http://trac.mycompany.com/trac-project/browser/subdir/file.txt}} *Example for Prefix* Only the path to the file is included resulting in incorrect urls. So for example, I get this incorrect url: {{http://trac.mycompany.com/browser/myfile.py}} instead of this correct url: {{http://trac.mycompany.com/browser/*myrepo/*myfile.py}} > Prefix or truncate the file path of a change set to build Trac source browser > URL > - > > Key: JENKINS-13366 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13366 > Project: Jenkins > Issue Type: Improvement > Components: trac >Reporter: Gerd Zanker > > Trac browser URL can not always be created by appending the Trac URL and the > changed file path. > Sometimes the file path must be truncated (see JENKINS-7032), sometime the > file path must be extended by a prefix. > *Example for Truncate* > The link will then point at: > {{http://trac.mycompany.com/trac-project/browser/Product/Trunk/subdir/file.txt}} > But my Trac installation has its root at Product/Trunk/, so the only link > that would work is: > {{http://trac.mycompany.com/trac-project/browser/subdir/file.txt}} > *Example for Prefix* > Only the path to the file is included resulting in incorrect urls. So for > example, I get this incorrect url: > {{http://trac.mycompany.com/browser/myfile.py}} > instead of this correct url: > {{http://trac.mycompany.com/browser/myrepo/myfile.py}} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13366) Prefix or truncate the file path of a change set to build Trac source browser URL
[ https://issues.jenkins-ci.org/browse/JENKINS-13366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161318#comment-161318 ] Gerd Zanker commented on JENKINS-13366: --- See also JENKINS-7032 > Prefix or truncate the file path of a change set to build Trac source browser > URL > - > > Key: JENKINS-13366 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13366 > Project: Jenkins > Issue Type: Improvement > Components: trac >Reporter: Gerd Zanker > > Trac browser URL can not always be created by appending the Trac URL and the > changed file path. > Sometimes the file path must be truncated (see JENKINS-7032), sometime the > file path must be extended by a prefix. > *Example for Truncate* > The link will then point at: > {{http://trac.mycompany.com/trac-project/browser/Product/Trunk/subdir/file.txt}} > But my Trac installation has its root at Product/Trunk/, so the only link > that would work is: > {{http://trac.mycompany.com/trac-project/browser/subdir/file.txt}} > *Example for Prefix* > Only the path to the file is included resulting in incorrect urls. So for > example, I get this incorrect url: > {{http:// trac.mycompany.com/browser/myfile.py}} > instead of this correct url: > {{http:// trac.mycompany.com/browser/*myrepo/*myfile.py}} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13366) Prefix or truncate the file path of a change set to build Trac source browser URL
Gerd Zanker created JENKINS-13366: - Summary: Prefix or truncate the file path of a change set to build Trac source browser URL Key: JENKINS-13366 URL: https://issues.jenkins-ci.org/browse/JENKINS-13366 Project: Jenkins Issue Type: Improvement Components: trac Reporter: Gerd Zanker Trac browser URL can not always be created by appending the Trac URL and the changed file path. Sometimes the file path must be truncated (see JENKINS-7032), sometime the file path must be extended by a prefix. *Example for Truncate* The link will then point at: {{http://trac.mycompany.com/trac-project/browser/Product/Trunk/subdir/file.txt}} But my Trac installation has its root at Product/Trunk/, so the only link that would work is: {{http://trac.mycompany.com/trac-project/browser/subdir/file.txt}} *Example for Prefix* Only the path to the file is included resulting in incorrect urls. So for example, I get this incorrect url: {{http:// trac.mycompany.com/browser/myfile.py}} instead of this correct url: {{http:// trac.mycompany.com/browser/*myrepo/*myfile.py}} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira