Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for linking to Trac instances using multiple repositories #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Sep 14, 2015

When using multiple repositories in a single Trac instance, the name of the repository must be included in the link. The AppendedToBrowser property wasn't sufficient, as the repository name appears in different parts of the link, depending on its context ("changeset:" vs. "browser:" links).

This change modifies the TracProjectProperty class constructor to take another argument (the Trac repository name). It also adds wraps the config.jelly elements in a "section" element, which seems to fix the "advanced" section not showing up (Jenkins 1.609.1) on the configuration page.

@jenkinsadmin
Copy link
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

@TafThorne
Copy link

This looks like a helpful enhancement to match the trac multiple repositories facility. I will try and get this updated code working on my Trac instance (which has 3 repos in it) and then feed back here. I can start following the suggested actions in the Link provided by Jenkins too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants