#3098 InterTac links for fedorahosted
Closed: Fixed None Opened 12 years ago by cwickert.

= phenomenon =
Trac offers InterTrac links to easily create links from one track instance to another. They work like normal TracLinks but with a prefix. These prefixes need to be defined as follows:

{{{
infrastructure = fedora-infrastructure
fedora-infrastructure.title = Fedora Infrastructure
fedora-infrastructure.url = https://fedorahosted.org/fedora-infrastructure
}}}

With this, a simple "infrastructure:123" would link to https://fedorahosted.org/fedora-infrastructure/ticket/123

= background analysis =

http://trac.edgewall.org/wiki/InterTrac

= implementation recommendation =

Add the following to the global trac.ini:

{{{
[intertrac]
apac = fedora-apac
fedora-apac.title = Fedora Ambassadors APAC Request Tracker
fedora-apac.url = https://fedorahosted.org/fedora-apac

board = board
board.title = Fedora Board Issue Tracker
board.url = https://fedorahosted.org/board

design = design-team
design-team.title = Fedora Design Team
design-team.url = https://fedorahosted.org/design-team

docs = docs
docs.title = Fedora Documentation Project
docs.url = https://fedorahosted.org/docs

emea = emea-swag-tracking
emea-swag-tracking.title = Fedora Ambassadors EMEA Swag Request Tracker
emea-swag-tracking.url = https://fedorahosted.org/spin-kickstarts

famna = famnarequests
famnarequests.title = Fedora Ambassadors North America Resource Request Tracker
famnarequests.url = https://fedorahosted.org/famsco

famsco = famsco
famsco.title = Fedora Ambassadors Steering Committee
famsco.url = https://fedorahosted.org/famsco

india = fedora-india
fedora-india.title = Fedora-India Trac
fedora-india.url = https://fedorahosted.org/fedora-india

infrastructure = fedora-infrastructure
fedora-infrastructure.title = Fedora Infrastructure
fedora-infrastructure.url = https://fedorahosted.org/fedora-infrastructure

qa = fedora-qa
fedora-qa.title = Fedora Quality Assurance
fedora-qa.url = https://fedorahosted.org/fedora-qa

legal = fedora-legal
fedora-legal.title = Fedora Legal Ticket Tracker
fedora-legal.url = https://fedorahosted.org/fedora-legal

websites = fedora-websites
fedora-websites.title = Fedora Websites
fedora-websites.url = https://fedorahosted.org/fedora-websites

rel-eng = rel-eng
rel-eng.title = Fedora Release Engineering
rel-eng.url = https://fedorahosted.org/rel-eng

spins = spins-kickstarts
spin-kickstarts.title = Spin Kickstarts
spin-kickstarts.url = https://fedorahosted.org/spin-kickstarts
}}}

Feel free to add more groups/projects. General rules of thumb:
* We should have all groups, e.g. [https://fedoraproject.org/wiki/SIGs all SIGs] but not projects that host code because there usually is no communication or no need to link tickets with these projects.
* if a project is is named with fedora-something, skip the fedora- from the prefix, so links become just foo:
* use the haeding from the wiki start page of the projects as title


I've added these to the global trac.ini, but it doesn't seem to be working as I expect.

will investigate more.

Testing:

infrastructure:ticket:123

ok, so this is working, but you can't simply do:

intertracname:ticketnumber

you have to tell it that it's a ticket with 'intertracname:ticket:NNNN' or 'intertracname:#NNNN'

So, infrastructure:ticket:3098 or infrastructure:#3098
should point to this ticket.

Please let us know if you need anymore added or run into any problems.

I'm sorry, I made a cut and paste error: emea-swag-tracking links to https://fedorahosted.org/spin-kickstarts instead of https://fedorahosted.org/emea-swag-tracking

Can you please fix this?

Ah, I missed that in looking over the commit. Sorry.

Should be fixed now. ;)

Login to comment on this ticket.

Metadata