[ 
https://issues.jenkins-ci.org/browse/JENKINS-11887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158887#comment-158887
 ] 

Rob Guttman edited comment on JENKINS-11887 at 2/11/12 4:47 AM:
----------------------------------------------------------------

I updated to 1.13 and I now see Trac as a repository browser option - great!  
However, the problem now is that the repository name itself is being omitted 
from the url of displayed files such as in recent changes.  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 (Author: robguttman):
    I updated to 1.13 and I now see Trac as a repository browser option - 
great!  However, the problem now is that the repository name itself is being 
omitted from the url.  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

                  
> Support Git for "Repository browser" setting
> --------------------------------------------
>
>                 Key: JENKINS-11887
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11887
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: git, trac
>         Environment: Jenkins 1.441, Trac Plugin 1.12
>            Reporter: Gerd Zanker
>            Assignee: Gerd Zanker
>            Priority: Minor
>              Labels: git, trac
>             Fix For: current
>
>
> In the [Trac Plugin 
> documentation|https://wiki.jenkins-ci.org/display/jenkins/Trac+Plugin] the 
> configuration is described as
> bq. In the Source Code Management section, choose "Trac" for the "Repository 
> browser" setting.
> This settings "Trac" is not available for when I use git as a SCM.
> Can this selection be added?
> ----
> The Trac-plugin code supports "TracGit" for the "Repository browser" setting. 
> The given Trac URL at the top of the job settings will be used to generate 
> links for git changesets, files and diffs to your Trac "Browse Source" area.

--
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

        

Reply via email to