6,566
edits
(Updated the descriptions for the activated tag parameter.) |
(Improved handling of the git and svn parameters - these are now always checked with #ifeq: statements.) |
||
Line 335: | Line 335: | ||
<tr> | <tr> | ||
{{!}} {{param|protocol}} | {{!}} {{param|protocol}} | ||
{{!}} The URL protocol, for example {{param||https}}, {{param||http}}, {{param||ssh}}{{# | {{!}} The URL protocol, for example {{param||https}}, {{param||http}}, {{param||ssh}}{{#ifeq:{{{git|}}}|1|, {{param||git}}}}{{#ifeq:{{{svn|}}}|1|, {{param||svn}}}}. This defaults to {{param||{{{default_protocol|https}}}}}. | ||
{{!}} style="text-align: center" {{!}} {{#if: {{{short_protocol|}}} | {{param|{{{short_protocol}}}}}}} | {{!}} style="text-align: center" {{!}} {{#if: {{{short_protocol|}}} | {{param|{{{short_protocol}}}}}}} | ||
{{!}} style="text-align: center" {{!}} {{#if: {{{pos_protocol|}}} | {{param|{{{pos_protocol}}}}}}} | {{!}} style="text-align: center" {{!}} {{#if: {{{pos_protocol|}}} | {{param|{{{pos_protocol}}}}}}} | ||
Line 408: | Line 408: | ||
{{!}} {{param|branch}} | {{!}} {{param|branch}} | ||
{{!}} The branch name. <!-- | {{!}} The branch name. <!-- | ||
-->{{# | -->{{#ifeq: {{{svn|}}} | 1 | As tags are simply branches in SVN repositories, this parameter can also be used for svn tags. <nowiki></nowiki>}}<!-- | ||
-->{{# | -->{{#ifeq: {{{git|}}} | 1 | ||
| {{# | | {{#ifeq: {{{svn|}}} | 1 | ||
| This defaults to {{param||{{{default_branch_git|next}}}}} or {{param||{{{default_branch_svn|trunk}}}}} for git and svn respectively. <nowiki></nowiki> | | This defaults to {{param||{{{default_branch_git|next}}}}} or {{param||{{{default_branch_svn|trunk}}}}} for git and svn respectively. <nowiki></nowiki> | ||
| This defaults to {{param||{{{default_branch_git|next}}}}}. <nowiki></nowiki> | | This defaults to {{param||{{{default_branch_git|next}}}}}. <nowiki></nowiki> | ||
}} | }} | ||
| {{# | | {{#ifeq: {{{svn|}}} | 1 | ||
| This defaults to {{param||{{{default_branch_svn|trunk}}}}}. <nowiki></nowiki> | | This defaults to {{param||{{{default_branch_svn|trunk}}}}}. <nowiki></nowiki> | ||
}} | }} |