Template:ReleaseEngineering/Repositories: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Support ATeam Repos as well, if they have releng owner) |
||
(29 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Helper for https://wiki.mozilla.org/ | Helper for https://wiki.mozilla.org/ReleaseEngineering/Repositories | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
|- | |- | ||
|{{#sub:{{{1}}}|0|{{#rpos:{{{1}}}|ReleaseEngineering/Repositories}}}}{{#sub:{{{1}}}|{{#expr:{{#rpos:{{{1}}}|ReleaseEngineering/Repositories}} + 32}}}} | |{{#if: {{#pos:{{{1}}}|ReleaseEngineering/Repositories}}|{{#sub:{{{1}}}|0|{{#rpos:{{{1}}}|ReleaseEngineering/Repositories}}}}{{#sub:{{{1}}}|{{#expr:{{#rpos:{{{1}}}|ReleaseEngineering/Repositories}} + 32}}}}|{{#if: {{#pos:{{{1}}}|Auto-tools/Repositories}}|{{#sub:{{{1}}}|0|{{#rpos:{{{1}}}|Auto-tools/Repositories}}}}{{#sub:{{{1}}}|{{#expr:{{#rpos:{{{1}}}|Auto-tools/Repositories}} + 24}}}}}}}} | ||
|{{#ifeq:{{{2}}}|{{{3}}}| | |{{#ifeq:{{{2}}}|{{#ifeq:{{{3}}}||{{{2}}}|{{{3}}}}}|colspan="2" align="center"{{!}}{{RepoIcon|{{{2}}}}} {{{2}}}|{{RepoIcon|{{{2}}}}} {{{2}}} | ||
|{{{3}}} | {{!}}{{RepoIcon|{{{3}}}}} {{{3}}}}} | ||
|{{# | |{{#if: {{{4|}}} | {{#arraymap:{{{4|}}}|,|@|{{RepoIcon|@}} @|<br />}}}} | ||
|{{#if: {{#pos:{{{2}}}|github.com}} | {{GithubToTravis|github={{{2}}}|IconOnly=True}} | {{#if: {{#pos:{{{3}}}|github.com}} | {{GithubToTravis|github={{{3}}}|IconOnly=True}} | {{#arraymap:{{{4|}}}|,|@|{{#if: {{#pos:@|github.com}}|{{GithubToTravis|github=@|IconOnly=True}}}} }} }}}} | |||
|{{#if: {{#pos:{{{2}}}|github.com}} | {{GithubToCoveralls|github={{{2}}}|IconOnly=True}} | {{#if: {{#pos:{{{3}}}|github.com}} | {{GithubToCoveralls|github={{{3}}}|IconOnly=True}} | {{#arraymap:{{{4|}}}|,|@|{{#if: {{#pos:@|github.com}}|{{GithubToCoveralls|github=@|IconOnly=True}}}} }} }}}}</includeonly> |