Difference between revisions of "Template:Repo link/doc design generic"

From relax wiki
Jump to navigation Jump to search
(Switch from === to <h3> for the first heading. This is needed as the Mediawiki requirement of the heading starting on a new line may not be satisfied.)
 
m (Switch from the imported {{informative template}} to the relax {{template info}} template)
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
 
<noinclude>
 
<noinclude>
  
{{Informative template|1=
+
{{template info|1=
 
== Goal ==
 
== Goal ==
  

Latest revision as of 13:38, 23 October 2020

Site: Generic

If the site parameter does not match one of the know open source infrastructures, then an attempt will be made to create a generic repository link. The base URL for generic repositories is:

<protocol>://[<login>@]<site>/<user|proj>[/<repo>]

Generic repository <URL> for 'type=git'

For this parameter value, the complete <URL> value will be the base URL.

Generic repository <URL> for 'type=git web'

This is not implemented yet. Please add new examples to allow this template to be extended.

Generic repository <URL> for 'type=svn'

For this parameter value, the complete <URL> value will be:

<protocol>://[<login>@]<site>/<user|proj>[/<repo>]/<branch>

The value of branch defaults to trunk.

Generic repository <URL> for 'type=svn web'

This is not implemented yet. Please add new examples to allow this template to be extended.

Generic repository URL <TEXT>

This is not implemented yet. Please add new examples to allow this template to be extended.


Template documentation

Goal

To provide documentation of the design of the {{repo link}} family of templates. This is only for use within documentation of the subtemplates.