Template:Repo link/doc: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Switch to using the shared {{repo link/doc usage}} for the usage documentation.)
(Added examples for GitHub wikis. These will work once implemented in {{repo link}}.)
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Informative template|1=
{{Informative template|1=
== Goal ==
== Goal ==
This is designed to be a master template for creating links or URLs for all types of version control repository.  It can be used directly for full flexibility, or via one of the specific subtemplates listed in [[#Related templates]].
This is designed to be a master template for creating links or URLs for all types of online version control repository.  This includes for [[SourceForge]], [[GitHub]], [[GitLab]], the [[Gitorious]] archive, and basic support for generic online repositories.  The detailed documentation below, as well as the examples, will help to understand the [[#Related templates|full family of subtemplates]] that are based on the master {{obr}}repo link{{cbr}} template.


{{inote|This template may add an external link.  You will therefore have to answer an anti-spam security question before your edit is saved.}}
Although it can be used directly for full flexibility, this is not recommended.  Rather the [[#Related templates|large family of subtemplates]] that are interfaces to this master template should be used.  This allows for better long-term management of the wiki (for example, by using the [[Special:WhatLinksHere]] page to find all usages of the subtemplates).
 
{{inote|This template may add an external link.  You may therefore have to answer an anti-spam security question before your edit is saved.}}


== Usage ==
{{repo link/doc usage
{{repo link/doc usage
| template  = repo link
| template  = repo link
Line 28: Line 29:
| simplepath = 1
| simplepath = 1
| full      = 1
| full      = 1
| intro      = All parameters except site are optional.
| intro      = All parameters except '''site''' are optional.
| sf        = 1
| sf        = 1
| gh        = 1
| gh        = 1
| gl        = 1
| gl        = 1
| go        = 1
| go        = 1
| svn        = 1
| git        = 1
}}
}}


== Design ==
{{repo link/doc design intro}}
In this section, the following notation will be used:
{{repo link/doc design overview | site=1}}
; Angular brackets + lower case text <code><nowiki><xyz></nowiki></code>: Template parameters.
{{repo link/doc design sourceforge}}
; Angular brackets + upper case text <code><nowiki><XYZ></nowiki></code>: Template constructed text.
{{repo link/doc design github}}
; Square brackets <code><nowiki>[xyz]</nowiki></code>: Optional text, only added if the parameter is set.
{{repo link/doc design gitlab}}
; Or symbol <code>{{!}}</code>: The value on the left, if present, otherwise the value on the right of the symbol.
{{repo link/doc design gitorious}}
{{repo link/doc design generic}}


=== Overview ===
{{repo link/doc plain text}}
Independent of the '''site''' parameter, the general design is:
<nowiki><cmd> <opt> [<URL> <TEXT>] <post></nowiki>


Here the square brackets do not denote optional text, but will instead produce a Mediawiki link.  This can be modified by setting '''full = 1''' to produce:
== Examples ==
<nowiki><cmd> <opt> <URL> <post></nowiki>
=== SourceForge examples ===
==== FlightGear repository ====
===== The source repository =====
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/.


The URL is constructed differently for each of the categories of the '''site''' parameter.
{{obr}}repo link
{{!}} site = sf
{{!}} proj = flightgear
{{!}} repo = flightgear
{{!}} text = The flightgear source repository
{{cbr}}.


=== Site: SourceForge ===
{{repo link
==== Project vs. developer page ====
| site = sf
For a normal SourceForge project and a SourceForge developer page, the base URL is respectively constructed as:
| proj = flightgear
<nowiki><protocol>://<DOMAIN>/p/<proj>/<repo>/</nowiki>
| repo = flightgear
<nowiki><protocol>://<DOMAIN>/u/<user>/<repo>/</nowiki>
| text = The flightgear source repository
}}.


This will be abstracted as:
===== Git clone =====
<nowiki><protocol>://<DOMAIN>/<u|p>/<user|proj>/<repo>/</nowiki>
This is for <code><nowiki>git clone git://git.code.sf.net/p/flightgear/flightgear flightgear-flightgear</nowiki></code>.


For the '''git''' and '''svn''' values of the '''type''' parameter, a login is allowed:
{{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}repo link
<nowiki><protocol>://[<login>@]<DOMAIN>/<u|p>/<user|proj>/<repo>/</nowiki>
  {{!}} site    = sf
 
  {{!}} cmd      = git clone
==== SourceForge <URL> for 'type=git' ====
  {{!}} protocol = git
For this parameter value, the complete <code><URL></code> value will be:
  {{!}} repo     = flightgear
<nowiki><protocol>://[<login>@]git.code.sf.net/<u|p>/<user|proj>/<repo>/</nowiki>
  {{!}} type     = git
 
  {{!}} post    = flightgear-flightgear
==== SourceForge <URL> for 'type=git web' ====
  {{!}} full    = 1
For this parameter value, the <code><URL></code> value will be:
  {{cbr}}{{cbr}}{{cbr}}.
  <nowiki><protocol>://sourceforge.net/<u|p>/<user|proj>/<repo>/ci/<commit|branch>/<VIEW>/<path>[#l<line>]</nowiki>
 
The <code><VIEW></code> value for different values of '''view''' is:
; tree:  <code>tree/</code>.
; log: <code>log/?path{{=}}</code>.
; commit: nothing.


If the parameter setting '''view=rss''' is used, a different <code><URL></code> value is produced:
{{#tag:code|{{#tag:nowiki|{{repo link
<nowiki><protocol>://sourceforge.net/<u|p>/<user|proj>/<repo>/feed/</nowiki>
  | site    = sf
  | cmd      = git clone
  | repo    = flightgear
  | protocol = git
  | type    = git
  | post    = flightgear-flightgear
  | full    = 1
}}}}}}.


==== SourceForge <URL> for 'type=svn' ====
===== File with line number =====
For this parameter value, the <code><URL></code> value will instead be:
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/src/Main/fg_init.cxx#l1.
<nowiki><protocol>://[<login>@]svn.code.sf.net/<u|p>/<user|proj>/<repo>/<branch>[/<path>][@<commit>]</nowiki>


==== SourceForge <URL> for 'type=svn web' ====
{{obr}}repo link
For this parameter value, the <code><URL></code> value will be:
{{!}} site = sf
  <nowiki><protocol>://sourceforge.net/<u|p>/<user|proj>/<repo>/<commit|HEAD>/<VIEW>/<branch>[/<path>][#l<line>]</nowiki>
{{!}} repo = flightgear
  {{!}} path = src/Main/fg_init.cxx
{{!}} line = 1
{{cbr}}.


The <code><VIEW></code> value for different values of '''view''' is:
{{repo link
; tree:  <code>tree/</code>.
| site = sf
; log: <code>log/?path{{=}}</code>.
| repo = flightgear
 
| path = src/Main/fg_init.cxx
If the parameter setting '''view=commit''' is used, a truncated <URL> value is produced:
| line = 1
<nowiki><protocol>://sourceforge.net/<u|p>/<user|proj>/<repo>/<commit|HEAD>/</nowiki>
}}.


If the parameter setting '''view=rss''' is used, a different <URL> value is produced:
===== File prefixed with $FLIGHTGEAR_SRC =====
<nowiki><protocol>://sourceforge.net/<u|p>/<user|proj>/<repo>/feed/</nowiki>
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/src/Main/fg_init.cxx.  The expected link text is "$FLIGHTGEAR_SRC/src/Main/fg_init.cxx".


==== SourceForge URL <TEXT> for 'type=git' and 'type=git web' ====
{{obr}}repo link
The link text <code><TEXT></code>, if the '''full''' parameter is not set, will be:
{{!}} site = sf
  <nowiki><user|proj>/<repo>/<commit|branch>[/<path>][#l<line>] <DESC></nowiki>
{{!}} repo = flightgear
{{!}} path = src/Main/fg_init.cxx
{{!}} pre  = $FLIGHTGEAR_SRC
  {{cbr}}.


If the '''simplepath''' parameter is set, this changes to:
{{repo link
<nowiki>[/<path>][#l<line>] <DESC></nowiki>
| site = sf
| repo = flightgear
| path = src/Main/fg_init.cxx
| pre  = $FLIGHTGEAR_SRC
}}.


If the '''pre''' parameter is supplied, this changes to:
===== Branch =====
<nowiki><pre>[/<path>][#l<line>] <DESC></nowiki>
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/sportmodel/tree/.


The RSS feed is a special case in that <code><TEXT></code> will be one of:
{{obr}}repo link
  <nowiki><user|proj>/<repo> <DESC></nowiki>
{{!}} site  = sf
  <nowiki><pre> <DESC></nowiki>
  {{!}} repo   = flightgear
{{!}} branch = sportmodel
  {{cbr}}.


The description <code><DESC></code> is dependent on the '''view''' parameter:
{{repo link
; tree: Nothing.
| site  = sf
; log: <code>log view</code>.
| repo  = flightgear
; commit: <code>commit view</code>.
| branch = sportmodel
; rss: <code>RSS feed</code>.
}}.


The '''text''' parameter trumps all, and <code><TEXT></code> is simply:
===== Tag =====
<nowiki><text></nowiki>
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/version/2016.1.1/~/tree/.


==== SourceForge URL <TEXT> for 'type=svn' and 'type=svn web' ====
{{obr}}repo link
The link text <code><TEXT></code>, if the '''full''' parameter is not set, will be:
{{!}} site = sf
  <nowiki><user|proj>/<repo>/<branch>[/<path>][#l<line>][@r<commit>] <DESC></nowiki>
{{!}} repo = flightgear
{{!}} tag  = version/2016.1.1/~
  {{cbr}}.


If the '''simplepath''' parameter is set, this changes to:
{{repo link
  <nowiki>[/<path>][#l<line>][@r<commit>] <DESC></nowiki>
| site = sf
| repo = flightgear
| tag = version/2016.1.1/~
}}.


If the '''pre''' parameter is supplied, this changes to:
===== Tag, history view =====
<nowiki><pre>[/<path>][#l<line>][@r<commit>] <DESC></nowiki>
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/version/2016.1.1/~/log/?path=.


The RSS feed is a special case in that <code><TEXT></code> will be one of:
{{obr}}repo link
  <nowiki><user|proj>/<repo> <DESC></nowiki>
{{!}} site = sf
  <nowiki><pre> <DESC></nowiki>
{{!}} repo = flightgear
  {{!}} tag  = version/2016.1.1/~
{{!}} view = log
  {{cbr}}.


The description <code><DESC></code> is dependent on the '''view''' parameter:
{{repo link
; tree: Nothing.
| site = sf
; log: <code>log view</code>.
| repo = flightgear
; commit: <code>commit view</code>.
| tag  = version/2016.1.1/~
; rss: <code>RSS feed</code>.
| view = log
}}.


The '''text''' parameter trumps all, and <code><TEXT></code> is simply:
===== Commit =====
<nowiki><text></nowiki>
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/f88d6418297e250138fda48f5a7d3e51bb3c543d/


=== Site: GitHub ===
{{obr}}repo link
The base URL for GitHub repositories is:
{{!}} site  = sf
  <nowiki><protocol>://github.com/<user|proj>/<repo></nowiki>
{{!}} repo  = flightgear
{{!}} commit = f88d6418297e250138fda48f5a7d3e51bb3c543d
{{!}} view  = commit
  {{cbr}}.


==== GitHub <URL> for 'type=git' ====
{{repo link
For this parameter value, the complete <code><URL></code> value will be:
| site  = sf
<nowiki><protocol>://github.com/<user|proj>/<repo>.git</nowiki>
| repo  = flightgear
| commit = f88d6418297e250138fda48f5a7d3e51bb3c543d
| view  = commit
}}.


==== GitHub <URL> for 'type=git web' ====
Or:
For this parameter value, the <code><URL></code> value will be:
<nowiki><protocol>://github.com/<user|proj>/<repo>/<view>/<commit|branch>[/<path>][#L<line>]</nowiki>


==== GitHub <URL> for 'type=zip' ====
{{obr}}repo link
For this parameter value, the zip file URL will be:
{{!}} site  = sf
  <nowiki><protocol>://github.com/<proj>/<repo>/archive/<commit|tag|branch>.zip</nowiki>
{{!}} repo  = flightgear
{{!}} commit = f88d6418297e250138fda48f5a7d3e51bb3c543d
  {{cbr}}.


If neither a commit, branch, nor tag is specified, the URL will default to:
{{repo link
<nowiki><protocol>://github.com/<proj>/<repo>/archive/master.zip</nowiki>
| site  = sf
| repo  = flightgear
| commit = f88d6418297e250138fda48f5a7d3e51bb3c543d
}}.


==== GitHub URL <TEXT> for 'type=git' and 'type=git web' ====
===== Commit, history view =====
The link text <code><TEXT></code>, if the '''full''' parameter is not set, will be:
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/f88d6418297e250138fda48f5a7d3e51bb3c543d/log/?path=
<nowiki>github/<user|proj>/<repo>/<commit|branch|HEAD>[/<path>][#L<line>]</nowiki>


If the '''simplepath''' parameter is set, this changes to:
{{obr}}repo link
  <nowiki>[/<path>][#L<line>]</nowiki>
  {{!}} site  = sf
 
{{!}} repo  = flightgear
If the '''pre''' parameter is supplied, this changes to:
{{!}} commit = f88d6418297e250138fda48f5a7d3e51bb3c543d
  <nowiki><pre>[/<path>][#L<line>]</nowiki>
{{!}} view  = log
  {{cbr}}.


The '''text''' parameter trumps all, and <code><TEXT></code> is simply:
{{repo link
<nowiki><text></nowiki>
| site  = sf
| repo  = flightgear
| commit = f88d6418297e250138fda48f5a7d3e51bb3c543d
| view  = log
}}.


==== GitHub URL <TEXT> for 'type=zip' ====
===== Repository clone =====
The link text <code><TEXT></code>, if the '''full''' parameter is not set, will be:
This is for the command <code><nowiki>git clone git://git.code.sf.net/p/flightgear/flightgear/ flightgear-flightgear</nowiki></code>
<nowiki>github/<user|proj>/<repo>/[<commit|tag|branch>] zip file</nowiki>


If the '''simplepath''' parameter is set, this changes to:
{{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}repo link
  <nowiki> zip file</nowiki>
{{!}} site    = sf
{{!}} cmd      = git clone
  {{!}} protocol = git
{{!}} type    = git
{{!}} repo    = flightgear
{{!}} post    = flightgear-flightgear
{{!}} full    = 1
{{cbr}}{{cbr}}{{cbr}}.


If the '''pre''' parameter is supplied, this changes to:
{{#tag:code|{{#tag:nowiki|{{repo link
<nowiki><pre> zip file</nowiki>
| site    = sf
 
| cmd      = git clone
The '''text''' parameter trumps all, and <code><TEXT></code> is simply:
| protocol = git
<nowiki><text></nowiki>
| type    = git
 
| repo    = flightgear
=== Site: GitLab ===
| post    = flightgear-flightgear
The base URL for GitLab repositories is:
| full    = 1
<nowiki><protocol>://gitlab.com/<proj>[/<repo>]</nowiki>
}}}}}}.


==== GitLab <URL> for 'type=git' ====
Or as plain text:
For this parameter value, the complete <code><URL></code> value will be:
<nowiki><protocol>://gitlab.com/<proj>[/<repo>].git</nowiki>


==== GitLab <URL> for 'type=git web' ====
{{obr}}#tag:nowiki{{!}}{{obr}}repo link
This is not implemented yet. Please add new examples to allow this template to be extended.
  {{!}} site    = sf
  {{!}} cmd      = git clone
  {{!}} protocol = git
  {{!}} type     = git
  {{!}} repo    = flightgear
  {{!}} post    = flightgear-flightgear
  {{!}} full    = 1
  {{cbr}}{{cbr}}.


==== GitLab <URL> for 'type=zip' ====
{{#tag:nowiki|{{repo link
For this parameter value, the base zip file URL will be:
  | site    = sf
<nowiki><protocol>://gitlab.com/<proj>/<repo>/repository/archive.zip</nowiki>
  | cmd      = git clone
  | protocol = git
  | type     = git
  | repo    = flightgear
  | post    = flightgear-flightgear
  | full    = 1
}}}}.


If a branch, tag, or commit is specified, this will be added as a query:
==== SimGear repository ====
<nowiki><protocol>://gitlab.com/<proj>/<repo>/repository/archive.zip[?ref=<commit|tag|branch>]</nowiki>
===== Non-web URL =====
This is a link to ssh://git.code.sf.net/p/flightgear/simgear.


==== GitLab URL <TEXT> ====
{{obr}}repo link
This is not implemented yet. Please add new examples to allow this template to be extended.
{{!}} site    = sf
{{!}} protocol = ssh
{{!}} type    = git
{{!}} repo    = simgear
{{!}} full    = 1
  {{cbr}}.


=== Site: Gitorious ===
{{repo link
The Gitorious URLs are predominantly query rather than path based.  And only the <code>https://</code> protocol is supported. The base URL constructed by this template is:
| site    = sf
<nowiki><protocol>://gitorious.org/<proj>/<repo></nowiki>
| protocol = ssh
| type    = git
| repo    = simgear
| full    = 1
}}.


==== Gitorious <URL> for 'type=git' ====
===== Simgear RSS feed =====
For this parameter value, the complete <code><URL></code> value will be:
This is a link to https://sourceforge.net/p/flightgear/simgear/feed.
<nowiki><protocol>://gitorious.org/<proj>/<repo>.git</nowiki>


==== Gitorious <URL> for 'type=git web' ====
{{obr}}repo link
As the current archival system is based on queries &mdash; the text after the <code>?</code> character &mdash; absolutely any random path after the <code>gitorious.org/</code> domain name can be used.  But, for aesthetics, the project and repository name will be appended by this template.  The <code><URL></code> will be:
{{!}} site = sf
  <nowiki><protocol>://gitorious.org/<proj>/<repo>?<QUERY>[#l<line>]</nowiki>
{{!}} repo = simgear
{{!}} view = rss
{{!}} text = Simgear RSS feed
  {{cbr}}.


The <code><QUERY></code> string consists of parts for the project and repository (<code>p=</code>), the type of view (<code>a=</code>), the path (<code>f=</code>), and the commit, branch or tag (<code>h=</code> or <code>hb=</code>, depending on the view).
{{repo link
The <code><URL></code> fragment for the project and repository is constructed as:
| site = sf
<nowiki><protocol>://gitorious.org/<proj>/<repo>?p=<proj>:<repo>.git</nowiki>
| repo = simgear
| view = rss
| text = Simgear RSS feed
}}.


The <code><URL></code> fragment for the view is constructed as:
Or without text:
  <nowiki><protocol>://gitorious.org/<proj>/<repo>?a=<VIEW></nowiki>
{{obr}}repo link
{{!}} site  = sf
{{!}} login  = dummy_user                                  <nowiki><!-- Dummy parameter, not to be used --></nowiki>
{{!}} repo  = simgear
{{!}} view   = rss
  {{!}} branch = branches/release-2016.1/~                  <nowiki><!-- Dummy parameter, not to be used --></nowiki>
{{!}} path  = simgear/                                   <nowiki><!-- Dummy parameter, not to be used --></nowiki>
{{!}} commit = f88d6418297e250138fda48f5a7d3e51bb3c543d    <nowiki><!-- Dummy parameter, not to be used --></nowiki>
{{!}} line  = 10                                          <nowiki><!-- Dummy parameter, not to be used --></nowiki>
{{cbr}}.


Where <code><VIEW></code> is the value of the '''view''' parameter, if supplied, with the value of '''raw''' translated to <code>blob_plain</code>. If not supplied, the value of <code>blob</code> is used if '''path''' is given, <code>commit</code> if '''commit''' is given, or <code>summary</code> otherwise.
{{repo link
The <code><URL></code> fragment for the path is constructed as:
| site  = sf
<nowiki><protocol>://gitorious.org/<proj>/<repo>?f=<path></nowiki>
| login  = dummy_user                              <!-- Dummy parameter, not to be used -->
| repo  = simgear
| view  = rss
| branch = branches/release-2016.1/~                <!-- Dummy parameter, not to be used -->
| path  = simgear/                                <!-- Dummy parameter, not to be used -->
| commit = f88d6418297e250138fda48f5a7d3e51bb3c543d <!-- Dummy parameter, not to be used -->
| line  = 10                                      <!-- Dummy parameter, not to be used -->
}}.


If the '''view''' parameter is set to one of '''blob''', '''raw''', or '''tree''', the <code><URL></code> fragment for the commit, branch or tag is constructed as:
==== FGData repository links ====
  <nowiki><protocol>://gitorious.org/<proj>/<repo>[?hb=<commit>|refs/heads/<branch>]</nowiki>
===== $FG_ROOT prefix and a commit =====
 
  {{obr}}repo link
Otherwise it will be:
{{!}} site  = sf
  <nowiki><protocol>://gitorious.org/<proj>/<repo>[?h=<commit>|refs/heads/<branch>]</nowiki>
{{!}} type  = git web
{{!}} repo  = fgdata
  {{!}} path  = AI/nimitz_demo.xml
{{!}} commit = 7b53516a9619f598721d7ee34d6a446367e9d9cd
{{!}} line  = 85
{{!}} pre    = $FG_ROOT
{{cbr}}


In summary, the full web URL will be:
{{repo link
<nowiki><protocol>://gitorious.org/<proj>/<repo>?p=<proj>:<repo>.git;a=<VIEW>[;f=<path>][;<h|hb>=<commit>|refs/heads/<branch>][#l<line>]</nowiki>
| site  = sf
| type  = git web
| repo   = fgdata
| path  = AI/nimitz_demo.xml
| commit = 7b53516a9619f598721d7ee34d6a446367e9d9cd
| line  = 85
| pre    = $FG_ROOT
}}


==== Gitorious URL <TEXT> ====
==== FGMeta repository ====
The link text <code><TEXT></code>, if the '''full''' parameter is not set, will be:
===== Raw view =====
<nowiki><proj>/<repo>/<commit|branch|HEAD>[/<path>][#l<line>]</nowiki>
This is a link to https://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/download_and_compile.sh?format=raw.


If the '''simplepath''' parameter is set, this changes to:
{{obr}}repo link
  <nowiki>[/<path>][#l<line>]</nowiki>
{{!}} site = sf
{{!}} repo = fgmeta
  {{!}} path = download_and_compile.sh
{{!}} view = raw
{{!}} full = 1
{{cbr}}.


If the '''pre''' parameter is supplied, this changes to:
{{repo link
<nowiki><pre>[/<path>][#l<line>]</nowiki>
| site = sf
| repo = fgmeta
| path = download_and_compile.sh
| view = raw
| full = 1
}}.


The '''text''' parameter trumps all, and <code><TEXT></code> is simply:
==== FGAddon repository links ====
<nowiki><text></nowiki>


=== Site: Generic ===
===== Branch =====
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:
This is a link for https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/branches/release-3.4.0/Aircraft.
<nowiki><protocol>://[<login>@]<site>/<user|proj>[/<repo>]</nowiki>


==== Generic repository <URL> for 'type=git'====
{{obr}}repo link
For this parameter value, the complete <code><URL></code> value will be the base URL.
{{!}} site  = sf
 
{{!}} type   = svn web
==== Generic repository <URL> for 'type=git web' ====
{{!}} repo  = fgaddon
This is not implemented yet. Please add new examples to allow this template to be extended.
{{!}} branch = branches/release-3.4.0
 
{{!}} path  = Aircraft
==== Generic repository <URL> for 'type=svn' ====
{{!}} text  = FG 3.4 add-on aircraft
For this parameter value, the complete <code><URL></code> value will be:
  {{cbr}}.
  <nowiki><protocol>://[<login>@]<site>/<user|proj>[/<repo>]/<branch></nowiki>


The value of '''branch''' defaults to <code>trunk</code>.
{{repo link
| site  = sf
| type  = svn web
| repo  = fgaddon
| branch = branches/release-3.4.0
| path  = Aircraft
| text  = FG 3.4 add-on aircraft
}}.


==== Generic repository <URL> for 'type=svn web' ====
===== Tag =====
This is not implemented yetPlease add new examples to allow this template to be extended.
This is a link for https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/branches/release-3.4.0/AircraftAlthough <code>branches/relax-3.4.0</code> is a branch, this tests the tag parameter.


==== Generic repository URL <TEXT> ====
{{obr}}repo link
This is not implemented yet. Please add new examples to allow this template to be extended.
{{!}} site = sf
{{!}} type = svn web
{{!}} repo = fgaddon
{{!}} tag  = branches/release-3.4.0
{{!}} path = Aircraft
{{!}} full = 1
  {{cbr}}.


== Plain text ==
{{repo link
| site = sf
| type = svn web
| repo = fgaddon
| tag  = branches/release-3.4.0
| path = Aircraft
| full = 1
}}.


To create a URL or link as plain text and avoid external links, simply use the <code><nowiki>{{#tag:tagname|content}}</nowiki></code> [https://www.mediawiki.org/wiki/Help:Magic_words magic word] construct:
===== r1001 =====
This is a link for https://sourceforge.net/p/flightgear/fgaddon/1001.


  {{obr}}#tag:nowiki{{!}}
  {{obr}}repo link
  {{obr}}repo link
{{!}} site  = sf
  {{!}} full = 1
{{!}} type  = svn web
  {{cbr}}
{{!}} repo   = fgaddon
  {{cbr}}
{{!}} commit = 1001
{{!}} view  = commit
  {{cbr}}.


{{#tag:nowiki|
{{repo link
   {{repo link
| site  = sf
  | full = 1
| type   = svn web
   }}
| repo   = fgaddon
}}
| commit = 1001
| view   = commit
}}.


== Examples ==
===== r1001, default view =====
=== SourceForge examples ===
This is a link for https://sourceforge.net/p/flightgear/fgaddon/1001.
==== FlightGear repository ====
===== The source repository =====
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site = sf
  {{!}} site   = sf
  {{!}} proj = flightgear
  {{!}} type  = svn web
  {{!}} repo = flightgear
  {{!}} repo   = fgaddon
  {{!}} text = The flightgear source repository
  {{!}} commit = 1001
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site = sf
| site   = sf
| proj = flightgear
| type  = svn web
| repo = flightgear
| repo   = fgaddon
| text = The flightgear source repository
| commit = 1001
}}.
}}.


===== Git clone =====
===== Trunk (r1000) =====
This is for <code><nowiki>git clone git://git.code.sf.net/p/flightgear/flightgear flightgear-flightgear</nowiki></code>.
This is a link for https://sourceforge.net/p/flightgear/fgaddon/1000/tree/trunk/Aircraft.


  {{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}repo link
  {{obr}}repo link
  {{!}} site     = sf
{{!}} site   = sf
  {{!}} cmd      = git clone
{{!}} type  = svn web
  {{!}} protocol = git
{{!}} repo   = fgaddon
  {{!}} repo     = flightgear
{{!}} commit = 1000
  {{!}} type    = git
{{!}} branch = trunk
  {{!}} post    = flightgear-flightgear
{{!}} path  = Aircraft
  {{!}} full    = 1
  {{cbr}}.
  {{cbr}}{{cbr}}{{cbr}}.


{{#tag:code|{{#tag:nowiki|{{repo link
{{repo link
  | site     = sf
| site   = sf
   | cmd      = git clone
| type   = svn web
  | repo     = flightgear
| repo   = fgaddon
  | protocol = git
| commit = 1000
  | type    = git
| branch = trunk
  | post    = flightgear-flightgear
| path   = Aircraft
   | full    = 1
}}.
}}}}}}.


===== File with line number =====
===== Trunk, real path =====
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/src/Main/fg_init.cxx#l1.
This is a link for https://svn.code.sf.net/p/flightgear/fgaddon/trunk.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site = sf
  {{!}} site   = sf
  {{!}} repo = flightgear
{{!}} type  = svn
  {{!}} path = src/Main/fg_init.cxx
  {{!}} repo   = fgaddon
  {{!}} line = 1
  {{!}} branch = trunk
  {{!}} full  = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site = sf
| site   = sf
| repo = flightgear
| type  = svn
| path = src/Main/fg_init.cxx
| repo   = fgaddon
| line = 1
| branch = trunk
| full  = 1
}}.
}}.


===== File prefixed with $FLIGHTGEAR_SRC =====
===== Svn checkout =====
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/src/Main/fg_init.cxx. The expected link text is "$FLIGHTGEAR_SRC/src/Main/fg_init.cxx".
This is for returning <code><nowiki>svn co https://svn.code.sf.net/p/flightgear/fgaddon/branches/release-3.4.0/Aircraft/V22-Osprey</nowiki></code>


  {{obr}}repo link
  {{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}repo link
  {{!}} site = sf
  {{!}} site   = sf
  {{!}} repo = flightgear
{{!}} cmd    = svn co
  {{!}} path = src/Main/fg_init.cxx
{{!}} type  = svn
  {{!}} pre = $FLIGHTGEAR_SRC
  {{!}} repo   = fgaddon
  {{!}} branch = branches/release-3.4.0
  {{!}} path  = Aircraft/V22-Osprey
  {{!}} full  = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{#tag:code|{{#tag:nowiki|{{repo link
| site = sf
| site   = sf
| repo = flightgear
| cmd    = svn co
| path = src/Main/fg_init.cxx
| type  = svn
| pre  = $FLIGHTGEAR_SRC
| repo   = fgaddon
}}.
| branch = branches/release-3.4.0
| path   = Aircraft/V22-Osprey
| full  = 1
}}}}}}.


===== Branch =====
===== Svn trunk checkout =====
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/sportmodel/tree/.
This is for returning <code><nowiki>svn co https://svn.code.sf.net/p/flightgear/fgaddon/trunk flightgear-fgaddon</nowiki></code>


  {{obr}}repo link
  {{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}repo link
  {{!}} site   = sf
  {{!}} site = sf
  {{!}} repo   = flightgear
{{!}} cmd  = svn co
  {{!}} branch = sportmodel
{{!}} type = svn
  {{!}} repo = fgaddon
{{!}} post = flightgear-fgaddon
  {{!}} full = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{#tag:code|{{#tag:nowiki|{{repo link
| site   = sf
| site = sf
| repo   = flightgear
| cmd  = svn co
| branch = sportmodel
| type = svn
}}.
| repo = fgaddon
| post = flightgear-fgaddon
| full = 1
}}}}}}.


===== Tag =====
===== Svn checkout (trunk@r1000) =====
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/version/2016.1.1/~/tree/.
This is for returning <code><nowiki>svn co https://svn.code.sf.net/p/flightgear/fgaddon/trunk@r1000</nowiki></code>


  {{obr}}repo link
  {{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}repo link
  {{!}} site  = sf
  {{!}} site  = sf
  {{!}} repo  = flightgear
{{!}} cmd    = svn co
  {{!}} branch = version/2016.1.1/~
{{!}} type  = svn
  {{cbr}}.
  {{!}} repo  = fgaddon
  {{!}} commit = 1000
{{!}} full  = 1
  {{cbr}}{{cbr}}{{cbr}}.


{{repo link
{{#tag:code|{{#tag:nowiki|{{repo link
| site  = sf
| site  = sf
| repo  = flightgear
| cmd    = svn co
| branch = version/2016.1.1/~
| type  = svn
}}.
| repo  = fgaddon
| commit = 1000
| full  = 1
}}}}}}.
 
===== File and line number link =====


===== Tag, history view =====
This is for https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Aircraft/14bis/14bis-set.xml#l12.
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/version/2016.1.1/~/log/?path=.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site   = sf
  {{!}} site       = sf
  {{!}} repo   = flightgear
{{!}} type      = svn web
  {{!}} branch = version/2016.1.1/~
  {{!}} repo       = fgaddon
  {{!}} view  = log
  {{!}} path      = Aircraft/14bis/14bis-set.xml
{{!}} line      = 12
{{!}} branch    = trunk
  {{!}} simplepath = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site   = sf
| site       = sf
| repo   = flightgear
| type      = svn web
| branch = version/2016.1.1/~
| repo       = fgaddon
| view  = log
| path      = Aircraft/14bis/14bis-set.xml
| line      = 12
| branch    = trunk
| simplepath = 1
}}.
}}.


===== Commit =====
===== File prefixed with $FG_AIRCRAFT =====
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/f88d6418297e250138fda48f5a7d3e51bb3c543d/
 
This is for https://sourceforge.net/p/flightgear/fgaddon/1234/tree/trunk/Aircraft/X15/X15-set.xml.  The expected link text is "$FG_AIRCRAFT/Aircraft/X15/X15-set.xml".


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site   = sf
  {{!}} site = sf
  {{!}} repo   = flightgear
{{!}} type = svn web
  {{!}} commit = f88d6418297e250138fda48f5a7d3e51bb3c543d
  {{!}} repo = fgaddon
  {{!}} view  = commit
  {{!}} path = Aircraft/X15/X15-set.xml
  {{!}} pre  = $FG_AIRCRAFT
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site   = sf
| site = sf
| repo   = flightgear
| type = svn web
| commit = f88d6418297e250138fda48f5a7d3e51bb3c543d
| repo = fgaddon
| view  = commit
| path = Aircraft/X15/X15-set.xml
| pre  = $FG_AIRCRAFT
}}.
}}.


===== Commit, history view =====
===== File prefixed with $FG_AIRCRAFT and identified by commit =====
This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/f88d6418297e250138fda48f5a7d3e51bb3c543d/log/?path=
 
This is for https://sourceforge.net/p/flightgear/fgaddon/1234/tree/trunk/Aircraft/X15/X15-set.xml.  The expected link text is "$FG_AIRCRAFT/Aircraft/X15/X15-set.xml@1234".


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site  = sf
  {{!}} site  = sf
  {{!}} repo  = flightgear
{{!}} type  = svn web
  {{!}} commit = f88d6418297e250138fda48f5a7d3e51bb3c543d
  {{!}} repo  = fgaddon
  {{!}} view  = log
{{!}} path  = Aircraft/X15/X15-set.xml
  {{!}} commit = 1234
  {{!}} pre    = $FG_AIRCRAFT
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site  = sf
| site  = sf
| repo  = flightgear
| type  = svn web
| commit = f88d6418297e250138fda48f5a7d3e51bb3c543d
| repo  = fgaddon
| view  = log
| path  = Aircraft/X15/X15-set.xml
| commit = 1234
| pre    = $FG_AIRCRAFT
}}.
}}.


===== Repository clone =====
===== svn import =====
This is for the command <code><nowiki>git clone git://git.code.sf.net/p/flightgear/flightgear/ flightgear-flightgear</nowiki></code>
This should give:
<syntaxhighlight lang="bash">
svn import DaSH/ svn+ssh://<username>@svn.code.sf.net/p/flightgear/fgaddon/trunk/Aircraft/ -m "Initial import of the DaSH human powered aircraft.\n\nFor details see the forum thread at http://forum.flightgear.org/viewtopic.php?f=4&t=24495 ."
</syntaxhighlight>


  {{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}repo link
  {{obr}}#tag:syntaxhighlight{{!}}
{{!}} site     = sf
{{obr}}repo link
{{!}} cmd      = git clone
  {{!}} cmd      = svn import DaSH/
{{!}} protocol = git
  {{!}} repo     = fgaddon
{{!}} type    = git
  {{!}} protocol = svn+ssh
{{!}} repo     = flightgear
  {{!}} login    = <username>
{{!}} post    = flightgear-flightgear
  {{!}} type    = svn
{{!}} full    = 1
  {{!}} path     = Aircraft/
  {{cbr}}{{cbr}}{{cbr}}.
  {{!}} post    = -m "Initial import of the DaSH human powered aircraft.\n\nFor details see the forum thread at <nowiki>http://forum.flightgear.org/viewtopic.php?f=4&t=24495</nowiki> ."
 
  {{!}} full    = 1
{{#tag:code|{{#tag:nowiki|{{repo link
  {{cbr}}
| site    = sf
{{!}} lang = "sh"
| cmd      = git clone
{{cbr}}
| protocol = git
| type    = git
| repo    = flightgear
| post    = flightgear-flightgear
| full    = 1
}}}}}}.


Or as plain text:
{{#tag:syntaxhighlight|
{{repo link
  | cmd      = svn import DaSH/
  | repo    = fgaddon
  | protocol = svn+ssh
  | login    = <username>
  | type    = svn
  | path    = Aircraft/
  | post    = -m "Initial import of the DaSH human powered aircraft.\n\nFor details see the forum thread at http://forum.flightgear.org/viewtopic.php?f=4&t=24495 ."
  | full    = 1
}}
| lang = "sh"
}}


{{obr}}#tag:nowiki{{!}}{{obr}}repo link
===== FGAddon RSS feed =====
  {{!}} site    = sf
This is a link to https://sourceforge.net/p/flightgear/fgaddon/feed.
  {{!}} cmd      = git clone
  {{!}} protocol = git
  {{!}} type    = git
  {{!}} repo    = flightgear
  {{!}} post    = flightgear-flightgear
  {{!}} full    = 1
{{cbr}}{{cbr}}.
 
{{#tag:nowiki|{{repo link
  | site    = sf
  | cmd      = git clone
  | protocol = git
  | type    = git
  | repo    = flightgear
  | post    = flightgear-flightgear
  | full    = 1
}}}}.
 
==== SimGear repository ====
===== Non-web URL =====
This is a link to ssh://git.code.sf.net/p/flightgear/simgear.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site     = sf
  {{!}} site   = sf
  {{!}} protocol = ssh
  {{!}} login  = dummy_user                  <nowiki><!-- Dummy parameter, not to be used --></nowiki>
  {{!}} type    = git
{{!}} repo  = fgaddon
  {{!}} repo    = simgear
  {{!}} type   = svn web
  {{!}} full    = 1
{{!}} view  = rss
{{!}} branch = branches/release-2016.1     <nowiki><!-- Dummy parameter, not to be used --></nowiki>
{{!}} path  = Aircraft/                  <nowiki><!-- Dummy parameter, not to be used --></nowiki>
  {{!}} commit = 1234                        <nowiki><!-- Dummy parameter, not to be used --></nowiki>
  {{!}} line  = 200                        <nowiki><!-- Dummy parameter, not to be used --></nowiki>
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site     = sf
| site   = sf
| protocol = ssh
| login  = dummy_user                  <!-- Dummy parameter, not to be used -->
| type    = git
| repo  = fgaddon
| repo    = simgear
| type   = svn web
| full    = 1
| view  = rss
}}.
| branch = branches/release-2016.1     <!-- Dummy parameter, not to be used -->
| path  = Aircraft/                  <!-- Dummy parameter, not to be used -->
| commit = 1234                        <!-- Dummy parameter, not to be used -->
| line  = 200                        <!-- Dummy parameter, not to be used -->
}}.


===== Simgear RSS feed =====
==== User fork of the FlightGear repository ====
This is a link to https://sourceforge.net/p/flightgear/simgear/feed.
This is for https://sourceforge.net/u/edauvergne/code-py-ogel/ci/python/tree/test.py#l23.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site = sf
  {{!}} site   = sf
  {{!}} repo = simgear
  {{!}} repo   = code-py-ogel
  {{!}} view = rss
  {{!}} branch = python
  {{!}} text = Simgear RSS feed
  {{!}} path  = test.py
{{!}} line  = 23
{{!}} user  = edauvergne
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site = sf
| site   = sf
| repo = simgear
| repo   = code-py-ogel
| view = rss
| branch = python
| text = Simgear RSS feed
| path  = test.py
| line  = 23
| user  = edauvergne
}}.
}}.


Or without text:
=== GitHub examples ===
{{obr}}repo link
==== Base site URL ====
{{!}} site   = sf
This is for the base URL https://github.com.
{{!}} login  = dummy_user                                  <nowiki><!-- Dummy parameter, not to be used --></nowiki>
 
{{!}} repo  = simgear
  {{obr}}repo link{{!}}site=gh{{cbr}}.
{{!}} view  = rss
{{!}} branch = branches/release-2016.1                    <nowiki><!-- Dummy parameter, not to be used --></nowiki>
{{!}} path  = simgear/                                    <nowiki><!-- Dummy parameter, not to be used --></nowiki>
  {{!}} commit = f88d6418297e250138fda48f5a7d3e51bb3c543d    <nowiki><!-- Dummy parameter, not to be used --></nowiki>
{{!}} line  = 10                                          <nowiki><!-- Dummy parameter, not to be used --></nowiki>
{{cbr}}.


{{repo link
{{repo link|site=gh}}.
| site   = sf
| login  = dummy_user                              <!-- Dummy parameter, not to be used -->
| repo  = simgear
| view  = rss
| branch = branches/release-2016.1                  <!-- Dummy parameter, not to be used -->
| path  = simgear/                                <!-- Dummy parameter, not to be used -->
| commit = f88d6418297e250138fda48f5a7d3e51bb3c543d <!-- Dummy parameter, not to be used -->
| line  = 10                                      <!-- Dummy parameter, not to be used -->
}}.


==== FGAddon repository links ====
{{obr}}repo link{{!}}site=gh{{!}}full=1{{cbr}}.


===== Branch (HEAD) =====
{{repo link|site=gh|full=1}}.
This is a link for https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/branches/release-3.4.0/Aircraft.


==== User repository ====
  {{obr}}repo link
  {{obr}}repo link
  {{!}} site   = sf
  {{!}} site = gh
  {{!}} type  = svn web
  {{!}} user = hamzaalloush
  {{!}} repo   = fgaddon
  {{!}} repo = fgradar-clone
{{!}} branch = branches/release-3.4.0
{{!}} path  = Aircraft
{{!}} text  = FG 3.4 add-on aircraft
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site   = sf
| site = gh
| type  = svn web
| user = hamzaalloush
| repo   = fgaddon
| repo = fgradar-clone
| branch = branches/release-3.4.0
| path  = Aircraft
| text  = FG 3.4 add-on aircraft
}}.
}}.


===== r1001 =====
==== User repository prefixed with $FG_ROOT ====
This is a link for https://sourceforge.net/p/flightgear/fgaddon/1001.
 
  {{obr}}repo link
  {{obr}}repo link
  {{!}} site   = sf
  {{!}} site = gith
  {{!}} type  = svn web
  {{!}} user  = bhugh
  {{!}} repo   = fgaddon
  {{!}} repo = Bombable
  {{!}} commit = 1001
{{!}} line  = 30
  {{!}} view   = commit
  {{!}} path  = Aircraft/A-10-Bombable/A-10-Bombable-set.xml
  {{!}} pre   = $FG_ROOT
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site   = sf
| site = gith
| type  = svn web
| user  = bhugh
| repo   = fgaddon
| repo = Bombable
| commit = 1001
| line  = 30
| view   = commit
| path  = Aircraft/A-10-Bombable/A-10-Bombable-set.xml
| pre   = $FG_ROOT
}}.
}}.


===== Trunk (r1000) =====
==== The c172p-detailed repository ====
This is a link for https://sourceforge.net/p/flightgear/fgaddon/1000/tree/trunk/Aircraft.
This is for the c172p-detailed repository https://github.com/Juanvvc/c172p-detailed/tree/master (this is the same as https://github.com/Juanvvc/c172p-detailed).


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site   = sf
  {{!}} site = gh
  {{!}} type  = svn web
  {{!}} user = Juanvvc
  {{!}} repo   = fgaddon
  {{!}} repo = c172p-detailed
  {{!}} commit = 1000
  {{!}} text = A high detailed version of the C172P aircraft for FlightGear
{{!}} branch = trunk
  {{cbr}}
{{!}} path  = Aircraft
  {{cbr}}.


{{repo link
{{repo link
| site   = sf
| site = gh
| type  = svn web
| user = Juanvvc
| repo   = fgaddon
| repo = c172p-detailed
| commit = 1000
| text = A high detailed version of the C172P aircraft for FlightGear
| branch = trunk
| path  = Aircraft
}}.
}}.


===== Trunk, real path =====
==== Git clone ====
This is a link for https://svn.code.sf.net/p/flightgear/fgaddon/trunk.
This is for cloning the c172p-detailed aircraft with <code><nowiki>git clone https://github.com/Juanvvc/c172p-detailed.git</nowiki></code>.


  {{obr}}repo link
  {{obr}}#tag:code {{!}} {{obr}}#tag:nowiki {{!}}
{{!}} site   = sf
  {{obr}}repo link
  {{!}} type  = svn
  {{!}} site = gh
{{!}} repo   = fgaddon
  {{!}} cmd = git clone
{{!}} branch = trunk
  {{!}} user = Juanvvc
{{!}} full   = 1
  {{!}} repo = c172p-detailed
  {{cbr}}.
  {{!}} type = git
  {{!}} full = 1
  {{cbr}}
  {{cbr}} {{cbr}}


{{repo link
{{#tag:code | {{#tag:nowiki |
| site  = sf
  {{repo link
| type  = svn
  | site = gh
| repo   = fgaddon
   | cmd  = git clone
| branch = trunk
  | user = Juanvvc
| full   = 1
  | repo = c172p-detailed
}}.
  | type = git
  | full = 1
  }}
}} }}


===== Svn checkout =====
==== File with line number ====
This is for returning <code><nowiki>svn co https://svn.code.sf.net/p/flightgear/fgaddon/branches/release-3.4.0/Aircraft/V22-Osprey</nowiki></code>
This is for https://github.com/Juanvvc/c172p-detailed/blob/release/2016.1/c172p-set.xml#L49.


  {{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}repo link
  {{obr}}repo link
  {{!}} site  = sf
  {{!}} site  = gh
  {{!}} cmd    = svn co
  {{!}} user  = Juanvvc
  {{!}} type   = svn
  {{!}} repo   = c172p-detailed
  {{!}} repo   = fgaddon
  {{!}} view   = blob
  {{!}} branch = branches/release-3.4.0
  {{!}} branch = release/2016.1
  {{!}} path  = Aircraft/V22-Osprey
  {{!}} path  = c172p-set.xml
  {{!}} full   = 1
{{!}} line  = 49
  {{!}} text   = The c172p-detailed authors
  {{cbr}}.
  {{cbr}}.


{{#tag:code|{{#tag:nowiki|{{repo link
{{repo link
| site  = sf
| site  = gh
| cmd    = svn co
| user  = Juanvvc
| type   = svn
| repo   = c172p-detailed
| repo   = fgaddon
| view   = blob
| branch = branches/release-3.4.0
| branch = release/2016.1
| path  = Aircraft/V22-Osprey
| path  = c172p-set.xml
| full   = 1
| line   = 49
}}}}}}.
| text  = The c172p-detailed authors
}}.


===== Svn trunk checkout =====
==== Raw view ====
This is for returning <code><nowiki>svn co https://svn.code.sf.net/p/flightgear/fgaddon/trunk flightgear-fgaddon</nowiki></code>
This is for https://github.com/Juanvvc/c172p-detailed/raw/master/c172p-set.xml, which will redirect itself to https://raw.githubusercontent.com/Juanvvc/c172p-detailed/master/c172p-set.xml.


  {{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}repo link
  {{obr}}repo link
  {{!}} site = sf
  {{!}} site = gh
  {{!}} cmd  = svn co
  {{!}} user = Juanvvc
  {{!}} type = svn
  {{!}} repo = c172p-detailed
  {{!}} repo = fgaddon
  {{!}} view = raw
  {{!}} post = flightgear-fgaddon
  {{!}} path = c172p-set.xml
  {{!}} full = 1
  {{!}} full = 1
  {{cbr}}.
  {{cbr}}.


{{#tag:code|{{#tag:nowiki|{{repo link
{{repo link
| site = sf
| site = gh
| cmd  = svn co
| user = Juanvvc
| type = svn
| repo = c172p-detailed
| repo = fgaddon
| view = raw
| post = flightgear-fgaddon
| path = c172p-set.xml
| full = 1
| full = 1
}}}}}}.
}}.


===== Svn checkout (trunk@r1000) =====
==== Commit ====
This is for returning <code><nowiki>svn co https://svn.code.sf.net/p/flightgear/fgaddon/trunk@r1000</nowiki></code>
This is for https://github.com/Juanvvc/c172p-detailed/commit/df6f10608116674643a3cc4bf18819eeee016d42.


  {{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}repo link
  {{obr}}repo link
  {{!}} site  = sf
  {{!}} site  = gh
  {{!}} cmd    = svn co
  {{!}} user  = Juanvvc
  {{!}} type   = svn
  {{!}} repo   = c172p-detailed
  {{!}} repo   = fgaddon
  {{!}} view   = commit
  {{!}} commit = 1000
  {{!}} commit = df6f10608116674643a3cc4bf18819eeee016d42
  {{!}} full  = 1
  {{cbr}}.
{{cbr}}{{cbr}}{{cbr}}.


{{#tag:code|{{#tag:nowiki|{{repo link
{{repo link
| site  = sf
| site  = gh
| cmd    = svn co
| user  = Juanvvc
| type   = svn
| repo   = c172p-detailed
| repo   = fgaddon
| view   = commit
| commit = 1000
| commit = df6f10608116674643a3cc4bf18819eeee016d42
| full  = 1
}}.
}}}}}}.


===== File and line number link =====
==== Tree view at a given commit ====
 
This is for https://github.com/Juanvvc/c172p-detailed/tree/df6f10608116674643a3cc4bf18819eeee016d42.
This is for https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Aircraft/14bis/14bis-set.xml#l12.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site       = sf
  {{!}} site   = gh
  {{!}} type      = svn web
  {{!}} user  = Juanvvc
  {{!}} repo       = fgaddon
  {{!}} repo   = c172p-detailed
{{!}} path      = Aircraft/14bis/14bis-set.xml
  {{!}} view  = tree
{{!}} line      = 12
  {{!}} commit = df6f10608116674643a3cc4bf18819eeee016d42
  {{!}} branch    = trunk
  {{!}} simplepath = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site       = sf
| site   = gh
| type      = svn web
| user  = Juanvvc
| repo       = fgaddon
| repo   = c172p-detailed
| path      = Aircraft/14bis/14bis-set.xml
| view  = tree
| line      = 12
| commit = df6f10608116674643a3cc4bf18819eeee016d42
| branch    = trunk
| simplepath = 1
}}.
}}.


===== File prefixed with $FG_AIRCRAFT =====
==== Main views ====


This is for https://sourceforge.net/p/flightgear/fgaddon/1234/tree/trunk/Aircraft/X15/X15-set.xml.  The expected link text is "$FG_AIRCRAFT/Aircraft/X15/X15-set.xml".
===== History view =====
This is for https://github.com/Juanvvc/c172p-detailed/commits/master.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site = sf
  {{!}} site   = gh
  {{!}} type = svn web
  {{!}} user  = Juanvvc
  {{!}} repo = fgaddon
  {{!}} repo   = c172p-detailed
{{!}} path = Aircraft/X15/X15-set.xml
  {{!}} view  = commits
  {{!}} pre  = $FG_AIRCRAFT
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site = sf
| site   = gh
| type = svn web
| user  = Juanvvc
| repo = fgaddon
| repo   = c172p-detailed
| path = Aircraft/X15/X15-set.xml
| view  = commits
| pre  = $FG_AIRCRAFT
}}.
}}.


===== File prefixed with $FG_AIRCRAFT and identified by commit =====
===== History view from a commit =====
 
This is for https://github.com/Juanvvc/c172p-detailed/commits/df6f10608116674643a3cc4bf18819eeee016d42.
This is for https://sourceforge.net/p/flightgear/fgaddon/1234/tree/trunk/Aircraft/X15/X15-set.xml.  The expected link text is "$FG_AIRCRAFT/Aircraft/X15/X15-set.xml@1234".


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site  = sf
  {{!}} site  = gh
  {{!}} type   = svn web
  {{!}} user   = Juanvvc
  {{!}} repo  = fgaddon
  {{!}} repo  = c172p-detailed
  {{!}} path   = Aircraft/X15/X15-set.xml
  {{!}} view   = commits
  {{!}} commit = 1234
  {{!}} commit = df6f10608116674643a3cc4bf18819eeee016d42
{{!}} pre    = $FG_AIRCRAFT
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site  = sf
| site  = gh
| type   = svn web
| user   = Juanvvc
| repo  = fgaddon
| repo  = c172p-detailed
| path   = Aircraft/X15/X15-set.xml
| view   = commits
| commit = 1234
| commit = df6f10608116674643a3cc4bf18819eeee016d42
| pre    = $FG_AIRCRAFT
}}.
}}.


===== svn import =====
==== Zip archive download ====
This should give:
===== Default =====
<syntaxhighlight lang="bash">
This is for https://github.com/Juanvvc/c172p-detailed/archive/master.zip.
svn import DaSH/ svn+ssh://<username>@svn.code.sf.net/p/flightgear/fgaddon/trunk/Aircraft/ -m "Initial import of the DaSH human powered aircraft.\n\nFor details see the forum thread at http://forum.flightgear.org/viewtopic.php?f=4&t=24495 ."
</syntaxhighlight>


{{obr}}#tag:syntaxhighlight{{!}}
  {{obr}}repo link
  {{obr}}repo link
  {{!}} cmd      = svn import DaSH/
{{!}} site = github
  {{!}} repo    = fgaddon
{{!}} proj = Juanvvc
  {{!}} protocol = svn+ssh
{{!}} repo = c172p-detailed
  {{!}} login    = <username>
{{!}} type = zip
  {{!}} type     = svn
{{!}} full = 1
  {{!}} path    = Aircraft/
  {{cbr}}.
  {{!}} post    = -m "Initial import of the DaSH human powered aircraft.\n\nFor details see the forum thread at <nowiki>http://forum.flightgear.org/viewtopic.php?f=4&t=24495</nowiki> ."
 
  {{!}} full     = 1
  {{cbr}}
{{!}} lang = "sh"
{{cbr}}
 
{{#tag:syntaxhighlight|
{{repo link
{{repo link
  | cmd      = svn import DaSH/
| site = github
  | repo    = fgaddon
| proj = Juanvvc
  | protocol = svn+ssh
| repo = c172p-detailed
  | login    = <username>
| type = zip
  | type     = svn
| full = 1
  | path    = Aircraft/
}}.
  | post    = -m "Initial import of the DaSH human powered aircraft.\n\nFor details see the forum thread at http://forum.flightgear.org/viewtopic.php?f=4&t=24495 ."
  | full     = 1
}}
| lang = "sh"
}}


===== FGAddon RSS feed =====
===== Branch =====
This is a link to https://sourceforge.net/p/flightgear/fgaddon/feed.
This is for https://github.com/Juanvvc/c172p-detailed/archive/release/2016.1.zip.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site  = sf
  {{!}} site  = github
  {{!}} login  = dummy_user                  <nowiki><!-- Dummy parameter, not to be used --></nowiki>
  {{!}} proj  = Juanvvc
  {{!}} repo  = fgaddon
  {{!}} repo  = c172p-detailed
{{!}} type  = svn web
  {{!}} branch = release/2016.1
{{!}} view  = rss
  {{!}} type   = zip
  {{!}} branch = branches/release-2016.1     <nowiki><!-- Dummy parameter, not to be used --></nowiki>
  {{!}} full   = 1
  {{!}} path   = Aircraft/                  <nowiki><!-- Dummy parameter, not to be used --></nowiki>
  {{!}} commit = 1234                        <nowiki><!-- Dummy parameter, not to be used --></nowiki>
{{!}} line   = 200                        <nowiki><!-- Dummy parameter, not to be used --></nowiki>
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site  = sf
| site  = github
| login  = dummy_user                  <!-- Dummy parameter, not to be used -->
| proj  = Juanvvc
| repo  = fgaddon
| repo  = c172p-detailed
| type  = svn web
| branch = release/2016.1
| view  = rss
| type   = zip
| branch = branches/release-2016.1     <!-- Dummy parameter, not to be used -->
| full   = 1
| path   = Aircraft/                  <!-- Dummy parameter, not to be used -->
| commit = 1234                        <!-- Dummy parameter, not to be used -->
| line   = 200                        <!-- Dummy parameter, not to be used -->
}}.
}}.


==== User fork of the FlightGear repository ====
===== Commit =====
This is for https://sourceforge.net/u/edauvergne/code-py-ogel/ci/python/tree/test.py#l23.
This is for https://github.com/Juanvvc/c172p-detailed/archive/c9cef81a899201802b32109c43ca686bbeffdb42.zip.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site  = sf
  {{!}} site  = github
  {{!}} repo   = code-py-ogel
  {{!}} proj   = Juanvvc
  {{!}} branch = python
  {{!}} repo  = c172p-detailed
  {{!}} path  = test.py
  {{!}} commit = c9cef81a899201802b32109c43ca686bbeffdb42
  {{!}} line   = 23
  {{!}} type   = zip
  {{!}} user   = edauvergne
  {{!}} full   = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site  = sf
| site  = github
| repo   = code-py-ogel
| proj   = Juanvvc
| branch = python
| repo  = c172p-detailed
| path  = test.py
| commit = c9cef81a899201802b32109c43ca686bbeffdb42
| line   = 23
| type   = zip
| user   = edauvergne
| full   = 1
}}.
}}.


=== GitHub examples ===
==== GitHub issue tracker ====
==== User repository ====
===== All issues =====
This is for https://github.com/Juanvvc/c172p-detailed/issues.
 
  {{obr}}repo link
  {{obr}}repo link
  {{!}} site = gh
  {{!}} site = github
  {{!}} user = hamzaalloush
  {{!}} proj = Juanvvc
  {{!}} repo = fgradar-clone
  {{!}} repo = c172p-detailed
{{!}} type = tracker
{{!}} full = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site = gh
| site = github
| user = hamzaalloush
| proj = Juanvvc
| repo = fgradar-clone
| repo = c172p-detailed
| type = tracker
| full = 1
}}.
}}.


==== User repository prefixed with $FG_ROOT ====
===== Specific issue =====
This is for https://github.com/Juanvvc/c172p-detailed/issues/1.
 
  {{obr}}repo link
  {{obr}}repo link
  {{!}} site = gith
  {{!}} site   = github
  {{!}} user  = bhugh
  {{!}} proj  = Juanvvc
  {{!}} repo = Bombable
  {{!}} repo   = c172p-detailed
  {{!}} line  = 30
  {{!}} type  = tracker
  {{!}} path  = Aircraft/A-10-Bombable/A-10-Bombable-set.xml
  {{!}} number = 1
  {{!}} pre   = $FG_ROOT
  {{!}} full   = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site = gith
| site   = github
| user  = bhugh
| proj  = Juanvvc
| repo = Bombable
| repo   = c172p-detailed
| line  = 30
| type  = tracker
| path  = Aircraft/A-10-Bombable/A-10-Bombable-set.xml
| number = 1
| pre   = $FG_ROOT
| full   = 1
}}.
}}.


==== The c172p-detailed repository ====
==== GitHub wiki ====
This is for the c172p-detailed repository https://github.com/Juanvvc/c172p-detailed/tree/master (this is the same as https://github.com/Juanvvc/c172p-detailed).
===== Main page =====
This is for https://github.com/c172p-team/c172p/wiki.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site = gh
  {{!}} site = github
  {{!}} user = Juanvvc
  {{!}} proj = c172p-team
  {{!}} repo = c172p-detailed
  {{!}} repo = c172p
  {{!}} text = A high detailed version of the C172P aircraft for FlightGear
  {{!}} type = wiki
  {{cbr}}
{{!}} full = 1
  {{cbr}}.


{{repo link
{{repo link
| site = gh
| site = github
| user = Juanvvc
| proj = c172p-team
| repo = c172p-detailed
| repo = c172p
| text = A high detailed version of the C172P aircraft for FlightGear
| type = wiki
| full = 1
}}.
}}.


==== Git clone ====
===== Subpage =====
This is for cloning the c172p-detailed aircraft with <code><nowiki>git clone https://github.com/Juanvvc/c172p-detailed.git</nowiki></code>.
This is for https://github.com/c172p-team/c172p/wiki/Release-process-and-versioning.
 
{{obr}}repo link
{{!}} site = github
{{!}} proj = c172p-team
{{!}} repo = c172p
{{!}} type = wiki
{{!}} path = Release-process-and-versioning
{{!}} full = 1
{{cbr}}.


{{obr}}#tag:code {{!}} {{obr}}#tag:nowiki {{!}}
{{repo link
  {{obr}}repo link
| site = github
  {{!}} site = gh
| proj = c172p-team
  {{!}} cmd  = git clone
| repo = c172p
  {{!}} user = Juanvvc
| type = wiki
  {{!}} repo = c172p-detailed
| path = Release-process-and-versioning
  {{!}} type = git
| full = 1
  {{!}} full = 1
}}.
  {{cbr}}
 
{{cbr}} {{cbr}}
=== GitLab examples ===
==== Base site URL ====
This is for the base URL https://gitlab.com.
 
{{obr}}repo link{{!}}site=gl{{cbr}}.
 
{{repo link|site=gl}}.
 
{{obr}}repo link{{!}}site=gl{{!}}full=1{{cbr}}.


{{#tag:code | {{#tag:nowiki |
{{repo link|site=gl|full=1}}.
  {{repo link
  | site = gh
  | cmd  = git clone
  | user = Juanvvc
  | repo = c172p-detailed
  | type = git
  | full = 1
  }}
}} }}


==== File with line number ====
==== User repository ====
This is for https://github.com/Juanvvc/c172p-detailed/blob/release/2016.1/c172p-set.xml#L49.
This is for https://gitlab.com/emilianh/Lockheed-L10-Electra.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site  = gh
  {{!}} site  = gl
  {{!}} user  = Juanvvc
  {{!}} user  = emilianh
  {{!}} repo  = c172p-detailed
  {{!}} repo  = Lockheed-L10-Electra
{{!}} view  = blob
  {{cbr}}
{{!}} branch = release/2016.1
{{!}} path  = c172p-set.xml
{{!}} line  = 49
{{!}} text  = The c172p-detailed authors
  {{cbr}}.


{{repo link
{{repo link
| site  = gh
| site  = gl
| user  = Juanvvc
| user  = emilianh
| repo  = c172p-detailed
| repo  = Lockheed-L10-Electra
| view  = blob
}}
| branch = release/2016.1
| path  = c172p-set.xml
| line  = 49
| text  = The c172p-detailed authors
}}.


==== Raw view ====
Or:
This is for https://github.com/Juanvvc/c172p-detailed/raw/master/c172p-set.xml, which will redirect itself to https://raw.githubusercontent.com/Juanvvc/c172p-detailed/master/c172p-set.xml.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site = gh
  {{!}} site   = gl
  {{!}} user = Juanvvc
  {{!}} user   = emilianh
  {{!}} repo = c172p-detailed
  {{!}} repo   = Lockheed-L10-Electra
{{!}} view = raw
  {{!}} full   = 1
{{!}} path = c172p-set.xml
  {{cbr}}
  {{!}} full = 1
 
  {{cbr}}.
 
{{repo link
{{repo link
| site = gh
| site   = gl
| user = Juanvvc
| user   = emilianh
| repo = c172p-detailed
| repo   = Lockheed-L10-Electra
| view = raw
| full   = 1
| path = c172p-set.xml
}}
| full = 1
}}.


==== Commit ====
==== The FlightGear Multiplayer server software ====
This is for https://github.com/Juanvvc/c172p-detailed/commit/df6f10608116674643a3cc4bf18819eeee016d42.
This should produce <code><nowiki>git clone https://gitlab.com/fgms/fgms-0-x.git</nowiki></code>.


{{obr}}#tag:syntaxhighlight{{!}}
  {{obr}}repo link
  {{obr}}repo link
{{!}} site   = gh
  {{!}} site = gitlab
  {{!}} user  = Juanvvc
  {{!}} cmd = git clone
{{!}} repo   = c172p-detailed
  {{!}} proj = fgms
{{!}} view  = commit
  {{!}} repo = fgms-0-x
  {{!}} commit = df6f10608116674643a3cc4bf18819eeee016d42
  {{!}} type = git
  {{cbr}}.
  {{!}} full = 1
{{cbr}}
  {{!}} lang = "sh"
  {{cbr}}


{{#tag:syntaxhighlight|
{{repo link
{{repo link
| site  = gh
  | site = gitlab
| user  = Juanvvc
  | cmd   = git clone
| repo   = c172p-detailed
  | proj  = fgms
| view   = commit
  | repo = fgms-0-x
| commit = df6f10608116674643a3cc4bf18819eeee016d42
  | type  = git
}}.
   | full  = 1
}}
| lang = "sh"
}}


==== Tree view at a given commit ====
==== File ====
This is for https://github.com/Juanvvc/c172p-detailed/tree/df6f10608116674643a3cc4bf18819eeee016d42.
This is for https://gitlab.com/fg-radi/osm2city/blob/master/osm2city.py.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site   = gh
  {{!}} site = gitlab
  {{!}} user  = Juanvvc
  {{!}} proj = fg-radi
  {{!}} repo   = c172p-detailed
  {{!}} repo = osm2city
  {{!}} view  = tree
  {{!}} path = osm2city.py
  {{!}} commit = df6f10608116674643a3cc4bf18819eeee016d42
  {{!}} full = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site   = gh
| site = gitlab
| user  = Juanvvc
| proj = fg-radi
| repo   = c172p-detailed
| repo = osm2city
| view  = tree
| path = osm2city.py
| commit = df6f10608116674643a3cc4bf18819eeee016d42
| full = 1
}}.
}}.


==== Main views ====
==== File and a branch ====
 
This is for https://gitlab.com/tortoisegit/tortoisegit/blob/REL_1.8.16.0_EXTERNAL/release.txt.
===== History view =====
This is for https://github.com/Juanvvc/c172p-detailed/commits/master.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site  = gh
  {{!}} site  = gitlab
  {{!}} user   = Juanvvc
  {{!}} proj   = tortoisegit
  {{!}} repo  = c172p-detailed
  {{!}} repo  = tortoisegit
  {{!}} view   = commits
  {{!}} branch = REL_1.8.16.0_EXTERNAL
{{!}} path  = release.txt
{{!}} full   = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site  = gh
| site  = gitlab
| user   = Juanvvc
| proj   = tortoisegit
| repo  = c172p-detailed
| repo  = tortoisegit
| view   = commits
| branch = REL_1.8.16.0_EXTERNAL
| path  = release.txt
| full   = 1
}}.
}}.


===== History view from a commit =====
==== File and a commit ====
This is for https://github.com/Juanvvc/c172p-detailed/commits/df6f10608116674643a3cc4bf18819eeee016d42.
This is for https://gitlab.com/extra500/extra500/blob/20ac59/extra500-set.xml.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site  = gh
  {{!}} site  = gitlab
  {{!}} user   = Juanvvc
  {{!}} proj   = extra500
  {{!}} repo  = c172p-detailed
  {{!}} repo  = extra500
  {{!}} view   = commits
{{!}} commit = 20ac59ad
  {{!}} commit = df6f10608116674643a3cc4bf18819eeee016d42
  {{!}} path   = extra500-set.xml
  {{!}} full  = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site  = gh
| site  = gitlab
| user   = Juanvvc
| proj   = extra500
| repo  = c172p-detailed
| repo  = extra500
| view   = commits
| commit = 20ac59ad
| commit = df6f10608116674643a3cc4bf18819eeee016d42
| path   = extra500-set.xml
| full  = 1
}}.
}}.


==== Zip archive download ====
==== File with line number ====
===== Default =====
This is for https://gitlab.com/mdanil/Tu-144/blob/master/Models/Tu-144.xml#L8-14.
This is for https://github.com/Juanvvc/c172p-detailed/archive/master.zip.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site = github
  {{!}} site   = gitlab
  {{!}} proj = Juanvvc
  {{!}} user  = mdanil
  {{!}} repo = c172p-detailed
  {{!}} repo   = Tu-144
  {{!}} type = zip
  {{!}} view  = blob
  {{!}} full = 1
{{!}} branch = master
{{!}} path  = Models/Tu-144.xml
{{!}} line  = 8-14
  {{!}} full   = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site = github
| site   = gitlab
| proj = Juanvvc
| user  = mdanil
| repo = c172p-detailed
| repo   = Tu-144
| type = zip
| view  = blob
| full = 1
| branch = master
| path  = Models/Tu-144.xml
| line  = 8-14
| full   = 1
}}.
}}.


===== Branch =====
==== Raw view ====
This is for https://github.com/Juanvvc/c172p-detailed/archive/release/2016.1.zip.
This is for https://gitlab.com/extra500/extra500/raw/20ac59/extra500-set.xml.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site  = github
  {{!}} site  = gitlab
  {{!}} proj  = Juanvvc
  {{!}} proj  = extra500
  {{!}} repo  = c172p-detailed
  {{!}} repo  = extra500
  {{!}} branch = release/2016.1
{{!}} view  = raw
  {{!}} type   = zip
  {{!}} commit = 20ac59
  {{!}} path   = extra500-set.xml
  {{!}} full  = 1
  {{!}} full  = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site  = github
| site  = gitlab
| proj  = Juanvvc
| proj  = extra500
| repo  = c172p-detailed
| repo  = extra500
| branch = release/2016.1
| view  = raw
| type   = zip
| commit = 20ac59
| path   = extra500-set.xml
| full  = 1
| full  = 1
}}.
}}.


===== Commit =====
==== Commit ====
This is for https://github.com/Juanvvc/c172p-detailed/archive/c9cef81a899201802b32109c43ca686bbeffdb42.zip.
This is for https://gitlab.com/extra500/extra500/commit/20ac59ad.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site  = github
  {{!}} site  = gitlab
  {{!}} proj  = Juanvvc
  {{!}} proj  = extra500
  {{!}} repo  = c172p-detailed
  {{!}} repo  = extra500
  {{!}} commit = c9cef81a899201802b32109c43ca686bbeffdb42
  {{!}} view  = commit
  {{!}} type  = zip
  {{!}} commit = 20ac59ad
  {{!}} full  = 1
  {{!}} full  = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site  = github
| site  = gitlab
| proj  = Juanvvc
| proj  = extra500
| repo  = c172p-detailed
| repo  = extra500
| commit = c9cef81a899201802b32109c43ca686bbeffdb42
| view  = commit
| type  = zip
| commit = 20ac59ad
| full  = 1
| full  = 1
}}.
}}.


=== GitLab examples ===
==== Tree view at a given commit ====
==== The FlightGear Multiplayer server software ====
This is for https://gitlab.com/extra500/extra500/tree/20ac59ad.
This should produce <code><nowiki>git clone https://gitlab.com/fgms/fgms-0-x.git</nowiki></code>.


{{obr}}#tag:syntaxhighlight{{!}}
  {{obr}}repo link
  {{obr}}repo link
  {{!}} site = gitlab
{{!}} site   = gitlab
  {{!}} cmd = git clone
  {{!}} proj   = extra500
  {{!}} proj = fgms
{{!}} repo   = extra500
  {{!}} repo = fgms-0-x
{{!}} view  = tree
  {{!}} type = git
{{!}} commit = 20ac59ad
  {{!}} full = 1
  {{!}} full  = 1
{{cbr}}
  {{cbr}}.
  {{!}} lang = "sh"
  {{cbr}}


{{#tag:syntaxhighlight|
{{repo link
{{repo link
  | site = gitlab
| site   = gitlab
  | cmd   = git clone
| proj   = extra500
   | proj  = fgms
| repo   = extra500
   | repo  = fgms-0-x
| view   = tree
  | type  = git
| commit = 20ac59ad
  | full = 1
| full   = 1
}}
}}.
| lang = "sh"
}}


==== Zip archive download ====
==== Main views ====
This is for https://gitlab.com/extra500/extra500/repository/archive.zip?ref=FG/2016.1.
===== History view =====
This is for https://gitlab.com/mailman/mailman/commits/master.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site  = gitlab
  {{!}} site  = gl
  {{!}} proj   = extra500
  {{!}} user   = mailman
  {{!}} repo  = extra500
  {{!}} repo  = mailman
  {{!}} branch = FG/2016.1
  {{!}} view   = commits
{{!}} type   = zip
  {{!}} full  = 1
  {{!}} full  = 1
  {{cbr}}
  {{cbr}}.


{{repo link
{{repo link
| site  = gitlab
| site  = gl
| proj   = extra500
| user   = mailman
| repo  = extra500
| repo  = mailman
| branch = FG/2016.1
| view   = commits
| type   = zip
| full  = 1
| full  = 1
}}
}}.


=== Gitorious archive examples ===
===== History view from a commit =====
{{note|The Gitorious open source infrastructure is locked in a read-only archived state.}}
This is for https://gitlab.com/mailman/mailman/commits/1236a9cf.
 
==== The old FlightGear source repository ====
This is for the archived flightgear repository at https://gitorious.org/fg/flightgear.git.  The automatically created URL, which is equivalent, should be https://gitorious.org/fg/flightgear?p=fg:flightgear.git;a=summary.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site = gito
  {{!}} site   = gl
  {{!}} proj = fg
  {{!}} user  = mailman
  {{!}} repo = flightgear
  {{!}} repo   = mailman
  {{!}} text = The archived flightgear source code repository at Gitorious
  {{!}} view  = commits
{{!}} commit = 1236a9cf
{{!}} full  = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site = gito
| site   = gl
| proj = fg
| user  = mailman
| repo = flightgear
| repo   = mailman
| text = The archived flightgear source code repository at Gitorious
| view  = commits
| commit = 1236a9cf
| full  = 1
}}.
}}.


==== The historic fgdata repository ====
==== Zip archive download ====
This is for the historic repository https://gitorious.org/fg/fgdata.git.  The automatically created URL, which is equivalent, should be https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=summary.
This is for https://gitlab.com/extra500/extra500/repository/archive.zip?ref=FG/2016.1.
 


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site = gito
  {{!}} site   = gitlab
  {{!}} proj = fg
  {{!}} proj   = extra500
  {{!}} repo = fgdata
  {{!}} repo   = extra500
  {{!}} text = The archived fgdata repository at Gitorious, with full history from 2000-2015
  {{!}} branch = FG/2016.1
  {{cbr}}.
{{!}} type  = zip
{{!}} full   = 1
  {{cbr}}


{{repo link
{{repo link
| site = gito
| site   = gitlab
| proj = fg
| proj   = extra500
| repo = fgdata
| repo   = extra500
| text = The archived fgdata repository at Gitorious, with full history from 2000-2015
| branch = FG/2016.1
}}.
| type  = zip
| full   = 1
}}


==== Git clone ====
==== Zip archive download with tag ====
This is for cloning the historic fgdata repository with <code><nowiki>git clone https://gitorious.org/fg/fgdata.git</nowiki></code>.
This is for https://gitlab.com/emilianh/IAR80/repository/archive.zip?ref=latest.


  {{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}repo link
  {{obr}}repo link
  {{!}} site     = gito
{{!}} site = gitlab
  {{!}} cmd      = git clone
{{!}} proj = emilianh
  {{!}} proj    = fg
{{!}} repo = IAR80
  {{!}} repo    = fgdata
{{!}} tag  = latest
  {{!}} type     = git
{{!}} type = zip
  {{!}} full     = 1
{{!}} full = 1
  {{cbr}}{{cbr}}{{cbr}}.
  {{cbr}}


{{#tag:code|{{#tag:nowiki|{{repo link
{{repo link
  | site     = gito
| site = gitlab
  | cmd      = git clone
| proj = emilianh
  | proj    = fg
| repo = IAR80
  | repo    = fgdata
| tag  = latest
  | type     = git
| type = zip
  | full     = 1
| full = 1
}}}}}}.
}}
 
=== Gitorious archive examples ===
{{note|The Gitorious open source infrastructure is locked in a read-only archived state.}}
 
==== Base site URL ====
This is for the base URL https://gitorious.org.
 
{{obr}}repo link{{!}}site=go{{cbr}}.
 
{{repo link|site=go}}.
 
{{obr}}repo link{{!}}site=go{{!}}full=1{{cbr}}.
 
{{repo link|site=go|full=1}}.


==== File with line number ====
==== The old FlightGear source repository ====
This is for https://gitorious.org/fg/hoorays-fgdata?p=fg:hoorays-fgdata.git;a=blob;f=Nasal/ai/ai.nas;hb=refs/heads/topics/scriptable-ai-submodule#l1.
This is for the archived flightgear repository at https://gitorious.org/fg/flightgear.git.  The automatically created URL, which is equivalent, should be https://gitorious.org/fg/flightgear?p=fg:flightgear.git;a=summary.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site   = gito
  {{!}} site = gito
  {{!}} proj   = fg
  {{!}} proj = fg
  {{!}} repo   = hoorays-fgdata
  {{!}} repo = flightgear
{{!}} view  = blob
  {{!}} text = The archived flightgear source code repository at Gitorious
{{!}} branch = topics/scriptable-ai-submodule
{{!}} path  = Nasal/ai/ai.nas
{{!}} line  = 1
  {{!}} text   = Scripted AI Objects repo
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site   = gito
| site = gito
| proj   = fg
| proj = fg
| repo   = hoorays-fgdata
| repo = flightgear
| view  = blob
| text = The archived flightgear source code repository at Gitorious
| branch = topics/scriptable-ai-submodule
| path  = Nasal/ai/ai.nas
| line  = 1
| text   = Scripted AI Objects repo
}}.
}}.


==== File prefixed with $NASAL_SRC ====
==== The historic fgdata repository ====
This is for https://gitorious.org/fg/hoorays-fgdata?p=fg:hoorays-fgdata.git;a=blob;f=Nasal/ai/ai.nas;hb=refs/heads/topics/scriptable-ai-submodule.
This is for the historic repository https://gitorious.org/fg/fgdata.git.  The automatically created URL, which is equivalent, should be https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=summary.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site       = gito
  {{!}} site = gito
  {{!}} proj       = fg
  {{!}} proj = fg
  {{!}} repo       = hoorays-fgdata
  {{!}} repo = fgdata
  {{!}} view      = blob
  {{!}} text = The archived fgdata repository at Gitorious, with full history from 2000-2015
{{!}} branch    = topics/scriptable-ai-submodule
{{!}} path      = Nasal/ai/ai.nas
{{!}} pre        = $NASAL_SRC
{{!}} simplepath = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site       = gito
| site = gito
| proj       = fg
| proj = fg
| repo       = hoorays-fgdata
| repo = fgdata
| view      = blob
| text = The archived fgdata repository at Gitorious, with full history from 2000-2015
| branch    = topics/scriptable-ai-submodule
| path      = Nasal/ai/ai.nas
| pre        = $NASAL_SRC
| simplepath = 1
}}.
}}.


===== Raw view =====
==== File and branch in the historic fgdata repository ====
This is for https://gitorious.org/fg/hoorays-fgdata?p=fg:hoorays-fgdata.git;a=blob_plain;f=Nasal/ai/ai.nas;hb=refs/heads/topics/scriptable-ai-submodule.
This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=blob;f=Aircraft-uiuc/Cessna172/aircraft.dat;hb=refs/heads/release/3.2.0.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site  = gito
  {{!}} site  = gito
  {{!}} proj  = fg
  {{!}} proj  = fg
  {{!}} repo  = hoorays-fgdata
  {{!}} repo  = fgdata
  {{!}} view   = raw
  {{!}} path   = Aircraft-uiuc/Cessna172/aircraft.dat
  {{!}} branch = topics/scriptable-ai-submodule
  {{!}} branch = release/3.2.0
{{!}} path  = Nasal/ai/ai.nas
  {{!}} full  = 1
  {{!}} full  = 1
  {{cbr}}.
  {{cbr}}


{{repo link
{{repo link
| site  = gito
| site  = gito
| proj  = fg
| proj  = fg
| repo  = hoorays-fgdata
| repo  = fgdata
| view   = raw
| path   = Aircraft-uiuc/Cessna172/aircraft.dat
| branch = topics/scriptable-ai-submodule
| branch = release/3.2.0
| path  = Nasal/ai/ai.nas
| full  = 1
| full  = 1
}}.
}}


==== Commit ====
==== File and tag in the historic fgdata repository ====
This is for https://gitorious.org/nasal-standalone/nasal-experiments?p=nasal-standalone:nasal-experiments.git;a=commit;h=9b2d59c316d03b83cfb4352a38b865aa29f4c280.
This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=blob;f=Aircraft-uiuc/Cessna172/aircraft.dat;hb=refs/tags/version/3.4.0.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site   = gito
  {{!}} site = gito
  {{!}} proj   = nasal-standalone
  {{!}} proj = fg
  {{!}} repo   = nasal-experiments
  {{!}} repo = fgdata
  {{!}} view  = commit
  {{!}} path = Aircraft-uiuc/Cessna172/aircraft.dat
  {{!}} commit = 9b2d59c316d03b83cfb4352a38b865aa29f4c280
  {{!}} tag  = version/3.4.0/~
  {{!}} pre    = $NASAL_SRC
  {{!}} full = 1
  {{cbr}}.
  {{cbr}}


{{repo link
{{repo link
| site   = gito
| site = gito
| proj   = nasal-standalone
| proj = fg
| repo   = nasal-experiments
| repo = fgdata
| view  = commit
| path = Aircraft-uiuc/Cessna172/aircraft.dat
| commit = 9b2d59c316d03b83cfb4352a38b865aa29f4c280
| tag  = version/3.4.0/~
| pre    = $NASAL_SRC
| full = 1
}}.
}}


==== Commit with file path ====
==== Git clone ====
This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=blob;f=Nasal/canvas/map/TFC.lcontroller;hb=c78b2f936891bffad49e27d84d952a0d45540eef
This is for cloning the historic fgdata repository with <code><nowiki>git clone https://gitorious.org/fg/fgdata.git</nowiki></code>.


  {{obr}}repo link
{{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}repo link
  {{!}} site  = gito
  {{!}} site    = gito
  {{!}} proj  = fg
  {{!}} cmd      = git clone
  {{!}} repo  = fgdata
  {{!}} proj    = fg
  {{!}} path   = Nasal/canvas/map/TFC.lcontroller
  {{!}} repo    = fgdata
  {{!}} view   = blob
  {{!}} type    = git
  {{!}} commit = c78b2f936891bffad49e27d84d952a0d45540eef
  {{!}} full    = 1
  {{!}} full   = 1
{{cbr}}{{cbr}}{{cbr}}.
 
{{#tag:code|{{#tag:nowiki|{{repo link
  | site    = gito
  | cmd      = git clone
  | proj    = fg
  | repo    = fgdata
  | type    = git
  | full    = 1
}}}}}}.
 
==== File with line number ====
This is for https://gitorious.org/fg/hoorays-fgdata?p=fg:hoorays-fgdata.git;a=blob;f=Nasal/ai/ai.nas;hb=refs/heads/topics/scriptable-ai-submodule#l1.
 
  {{obr}}repo link
  {{!}} site  = gito
  {{!}} proj  = fg
  {{!}} repo  = hoorays-fgdata
  {{!}} view   = blob
{{!}} branch = topics/scriptable-ai-submodule
  {{!}} path   = Nasal/ai/ai.nas
  {{!}} line  = 1
  {{!}} text   = Scripted AI Objects repo
  {{cbr}}.
  {{cbr}}.


Line 1,327: Line 1,484:
| site  = gito
| site  = gito
| proj  = fg
| proj  = fg
| repo  = fgdata
| repo  = hoorays-fgdata
| path  = Nasal/canvas/map/TFC.lcontroller
| view  = blob
| view  = blob
| commit = c78b2f936891bffad49e27d84d952a0d45540eef
| branch = topics/scriptable-ai-submodule
| full   = 1
| path  = Nasal/ai/ai.nas
| line   = 1
| text  = Scripted AI Objects repo
}}.
}}.


==== Commitdiff ====
==== File prefixed with $NASAL_SRC ====
This is for https://gitorious.org/nasal-standalone/nasal-experiments?p=nasal-standalone:nasal-experiments.git;a=commitdiff;h=9b2d59c316d03b83cfb4352a38b865aa29f4c280.
This is for https://gitorious.org/fg/hoorays-fgdata?p=fg:hoorays-fgdata.git;a=blob;f=Nasal/ai/ai.nas;hb=refs/heads/topics/scriptable-ai-submodule.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site   = gito
  {{!}} site       = gito
  {{!}} proj   = nasal-standalone
  {{!}} proj       = fg
  {{!}} repo   = nasal-experiments
  {{!}} repo       = hoorays-fgdata
  {{!}} view   = commitdiff
  {{!}} view       = blob
  {{!}} commit = 9b2d59c316d03b83cfb4352a38b865aa29f4c280
  {{!}} branch    = topics/scriptable-ai-submodule
  {{!}} pre   = $NASAL_SRC
{{!}} path      = Nasal/ai/ai.nas
  {{!}} pre       = $NASAL_SRC
{{!}} simplepath = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site   = gito
| site       = gito
| proj   = nasal-standalone
| proj       = fg
| repo   = nasal-experiments
| repo       = hoorays-fgdata
| view   = commitdiff
| view       = blob
| commit = 9b2d59c316d03b83cfb4352a38b865aa29f4c280
| branch    = topics/scriptable-ai-submodule
| pre   = $NASAL_SRC
| path      = Nasal/ai/ai.nas
| pre       = $NASAL_SRC
| simplepath = 1
}}.
}}.


==== Main views ====
===== Raw view =====
===== Summary view =====
This is for https://gitorious.org/fg/hoorays-fgdata?p=fg:hoorays-fgdata.git;a=blob_plain;f=Nasal/ai/ai.nas;hb=refs/heads/topics/scriptable-ai-submodule.
This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=summary.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site = gito
  {{!}} site   = gito
  {{!}} proj = fg
  {{!}} proj   = fg
  {{!}} repo = fgdata
  {{!}} repo   = hoorays-fgdata
  {{!}} view = summary
  {{!}} view   = raw
  {{!}} full = 1
{{!}} branch = topics/scriptable-ai-submodule
{{!}} path  = Nasal/ai/ai.nas
  {{!}} full   = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site = gito
| site   = gito
| proj = fg
| proj   = fg
| repo = fgdata
| repo   = hoorays-fgdata
| view = summary
| view   = raw
| full = 1
| branch = topics/scriptable-ai-submodule
| path  = Nasal/ai/ai.nas
| full   = 1
}}.
}}.


===== Shortlog view =====
==== Branch ====
This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=shortlog.
This is for https://gitorious.org/fg/toms-fgdata?p=fg:toms-fgdata.git;a=shortlog;h=refs/heads/canvas-gui-demo.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site = gito
  {{!}} site   = go
  {{!}} proj = fg
  {{!}} proj   = fg
  {{!}} repo = fgdata
  {{!}} repo   = toms-fgdata
  {{!}} view = shortlog
  {{!}} branch = canvas-gui-demo
  {{!}} full = 1
  {{!}} full   = 1
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site = gito
| site   = go
| proj = fg
| proj   = fg
| repo = fgdata
| repo   = toms-fgdata
| view = shortlog
| branch = canvas-gui-demo
| full = 1
| full   = 1
}}.
}}.


===== Log view =====
==== Commit ====
This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=log;h=4c03a4968d2844c9c8ba734116da3478a1bebb38.
This is for https://gitorious.org/nasal-standalone/nasal-experiments?p=nasal-standalone:nasal-experiments.git;a=commit;h=9b2d59c316d03b83cfb4352a38b865aa29f4c280.


  {{obr}}repo link
  {{obr}}repo link
  {{!}} site  = gito
  {{!}} site  = gito
  {{!}} proj  = fg
  {{!}} proj  = nasal-standalone
  {{!}} repo  = fgdata
  {{!}} repo  = nasal-experiments
  {{!}} view  = log
  {{!}} view  = commit
  {{!}} commit = 4c03a4968d2844c9c8ba734116da3478a1bebb38
  {{!}} commit = 9b2d59c316d03b83cfb4352a38b865aa29f4c280
  {{!}} full  = 1
  {{!}} pre    = $NASAL_SRC
  {{cbr}}.
  {{cbr}}.


{{repo link
{{repo link
| site  = gito
| site  = gito
| proj  = fg
| proj  = nasal-standalone
| repo  = fgdata
| repo  = nasal-experiments
| view  = log
| view  = commit
| commit = 4c03a4968d2844c9c8ba734116da3478a1bebb38
| commit = 9b2d59c316d03b83cfb4352a38b865aa29f4c280
| full  = 1
| pre    = $NASAL_SRC
}}.
}}.
 
 
===== Log with branch =====
==== Commit with file path ====
This is for https://gitorious.org/fg/hoorays-flightgear?p=fg:hoorays-flightgear.git;a=log;h=refs/heads/topics/ada-support.
This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=blob;f=Nasal/canvas/map/TFC.lcontroller;hb=c78b2f936891bffad49e27d84d952a0d45540eef
 
 
  {{obr}}repo link
  {{obr}}repo link
  {{!}} site  = gito
  {{!}} site  = gito
  {{!}} proj  = fg
  {{!}} proj  = fg
  {{!}} repo  = hoorays-flightgear
  {{!}} repo  = fgdata
  {{!}} view  = log
{{!}} path  = Nasal/canvas/map/TFC.lcontroller
  {{!}} branch = topics/ada-support
  {{!}} view  = blob
  {{!}} full  = 1
  {{!}} commit = c78b2f936891bffad49e27d84d952a0d45540eef
  {{cbr}}.
  {{!}} full  = 1
 
  {{cbr}}.
{{repo link
 
| site  = gito
{{repo link
| proj  = fg
| site  = gito
| repo  = hoorays-flightgear
| proj  = fg
| view  = log
| repo  = fgdata
| branch = topics/ada-support
| path  = Nasal/canvas/map/TFC.lcontroller
| view  = blob
| commit = c78b2f936891bffad49e27d84d952a0d45540eef
| full  = 1
| full  = 1
}}.
}}.


=== Generic repository handling ===
==== Commitdiff ====
==== OpenSceneGraph svn repository ====
This is for https://gitorious.org/nasal-standalone/nasal-experiments?p=nasal-standalone:nasal-experiments.git;a=commitdiff;h=9b2d59c316d03b83cfb4352a38b865aa29f4c280.
This should create <code><nowiki>svn co http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk osg</nowiki></code>.
 
{{obr}}repo link
{{!}} site  = gito
{{!}} proj  = nasal-standalone
{{!}} repo  = nasal-experiments
{{!}} view  = commitdiff
{{!}} commit = 9b2d59c316d03b83cfb4352a38b865aa29f4c280
{{!}} pre    = $NASAL_SRC
{{cbr}}.
 
{{repo link
| site  = gito
| proj  = nasal-standalone
| repo  = nasal-experiments
| view  = commitdiff
| commit = 9b2d59c316d03b83cfb4352a38b865aa29f4c280
| pre    = $NASAL_SRC
}}.
 
==== Main views ====
===== Summary view =====
This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=summary.
 
{{obr}}repo link
{{!}} site = gito
{{!}} proj = fg
{{!}} repo = fgdata
{{!}} view = summary
{{!}} full = 1
{{cbr}}.
 
{{repo link
| site = gito
| proj = fg
| repo = fgdata
| view = summary
| full = 1
}}.
 
===== Shortlog view =====
This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=shortlog.
 
{{obr}}repo link
{{!}} site = gito
{{!}} proj = fg
{{!}} repo = fgdata
{{!}} view = shortlog
{{!}} full = 1
{{cbr}}.
 
{{repo link
| site = gito
| proj = fg
| repo = fgdata
| view = shortlog
| full = 1
}}.
 
===== Log view =====
This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=log;h=4c03a4968d2844c9c8ba734116da3478a1bebb38.
 
{{obr}}repo link
{{!}} site  = gito
{{!}} proj  = fg
{{!}} repo  = fgdata
{{!}} view  = log
{{!}} commit = 4c03a4968d2844c9c8ba734116da3478a1bebb38
{{!}} full  = 1
{{cbr}}.
 
{{repo link
| site  = gito
| proj  = fg
| repo  = fgdata
| view  = log
| commit = 4c03a4968d2844c9c8ba734116da3478a1bebb38
| full  = 1
}}.
 
===== Log with branch =====
This is for https://gitorious.org/fg/hoorays-flightgear?p=fg:hoorays-flightgear.git;a=log;h=refs/heads/topics/ada-support.
 
{{obr}}repo link
{{!}} site  = gito
{{!}} proj  = fg
{{!}} repo  = hoorays-flightgear
{{!}} view  = log
{{!}} branch = topics/ada-support
{{!}} full  = 1
{{cbr}}.
 
{{repo link
| site  = gito
| proj  = fg
| repo  = hoorays-flightgear
| view  = log
| branch = topics/ada-support
| full  = 1
}}.
 
==== Merge requests ====
===== Default view =====
This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=commit;h=refs/merge-requests/190.
 
{{obr}}repo link
{{!}} site = go
{{!}} proj = fg
{{!}} repo = fgdata
{{!}} mr  = merge-requests/190
{{!}} full = 1
{{cbr}}.
 
{{repo link
| site = go
| proj = fg
| repo = fgdata
| mr  = 190
| full = 1
}}.
 
===== Commit view =====
This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=commit;h=refs/merge-requests/190.
 
{{obr}}repo link
{{!}} site = go
{{!}} proj = fg
{{!}} repo = fgdata
{{!}} view = commit
{{!}} mr  = merge-requests/190
{{cbr}}.
 
{{repo link
| site = go
| proj = fg
| repo = fgdata
| view = commit
| mr  = 190
}}.
 
Or as a URL:
 
{{obr}}repo link
{{!}} site = go
{{!}} proj = fg
{{!}} repo = fgdata
{{!}} view = commit
{{!}} mr  = merge-requests/190
{{!}} full = 1
{{cbr}}.
 
{{repo link
| site = go
| proj = fg
| repo = fgdata
| view = commit
| mr  = 190
| full = 1
}}.
 
=== Generic repository handling ===
==== OpenSceneGraph svn repository ====
This should create <code><nowiki>svn co http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk osg</nowiki></code>.
 
{{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}repo link
{{!}} site    = svn.openscenegraph.org
{{!}} cmd      = svn co
{{!}} protocol = http
{{!}} type    = svn
{{!}} proj    = osg
{{!}} repo    = OpenSceneGraph
{{!}} post    = osg
{{!}} full    = 1
{{cbr}}{{cbr}}{{cbr}}.
 
{{#tag:code|{{#tag:nowiki|{{repo link
| site    = svn.openscenegraph.org
| cmd      = svn co
| protocol = http
| type    = svn
| proj    = osg
| repo    = OpenSceneGraph
| post    = osg
| full    = 1
}}}}}}.
 
==== OpenSceneGraph branch and file ====
This should create <code><nowiki>svn co http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4/src osg_src</nowiki></code>.


  {{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}repo link
  {{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}{{obr}}repo link
Line 1,447: Line 1,800:
  {{!}} proj    = osg
  {{!}} proj    = osg
  {{!}} repo    = OpenSceneGraph
  {{!}} repo    = OpenSceneGraph
  {{!}} post    = osg
{{!}} branch  = branches/OpenSceneGraph-3.4
{{!}} path    = src
  {{!}} post    = osg_src
  {{!}} full    = 1
  {{!}} full    = 1
  {{cbr}}{{cbr}}{{cbr}}.
  {{cbr}}{{cbr}}{{cbr}}.
Line 1,458: Line 1,813:
| proj    = osg
| proj    = osg
| repo    = OpenSceneGraph
| repo    = OpenSceneGraph
| post    = osg
| branch  = branches/OpenSceneGraph-3.4
| path    = src
| post    = osg_src
| full    = 1
| full    = 1
}}}}}}.
}}}}}}.
Line 1,467: Line 1,824:
}}
}}


[[Category:Link templates]]
[[Category:Repository link templates]]

Revision as of 09:18, 8 July 2019

The following template description is not displayed when the template is inserted in an article.

Goal

This is designed to be a master template for creating links or URLs for all types of online version control repository. This includes for SourceForge, GitHub, GitLab, the Gitorious archive, and basic support for generic online repositories. The detailed documentation below, as well as the examples, will help to understand the full family of subtemplates that are based on the master {{repo link}} template.

Although it can be used directly for full flexibility, this is not recommended. Rather the large family of subtemplates that are interfaces to this master template should be used. This allows for better long-term management of the wiki (for example, by using the Special:WhatLinksHere page to find all usages of the subtemplates).

Note This template may add an external link. You may therefore have to answer an anti-spam security question before your edit is saved.

Usage

{{repo link
| site       =
| cmd        =
| opt        =
| protocol   =
| login      =
| type       =
| user       =
| proj       =
| repo       =
| branch     =
| tag        =
| commit     =
| path       =
| line       =
| post       =

| view       =
| text       =
| pre        =
| simplepath =
| full       =
}}

All parameters except site are optional.

Parameter Description Abbreviated
parameter
Numbered
parameter
Status
site Points the template to a repository host:
  • For SourceForge use either s, sf or sourceforge.
  • For GitHub use either gh, gith or github.
  • For GitLab use either gl, gitl or gitlab.
  • For the Gitorious archive use either g, go, gito or gitorious.
  • For generic repositories, the site parameter will be interpreted as the domain name.
mandatory
cmd An optional command line tool name + options to prepend to the URL. For example git clone. optional
opt Any additional options to show after cmd, but before the URL.
Note The separation of cmd and opt is for future non-CLI handling of a standardised set of cmd parameter values
optional
protocol The URL protocol, for example https, http, ssh, git, svn. This defaults to https. optional
login The optional user login. This should not to be confused with the user parameter. optional
type Choose between the web interface, a direct repository link, or a zip file download. This can be one of git, git web, svn, svn web, zip. See the {{* zip file}} templates for a simplified interface for the zip files. The default is git web.
Note Zip archive downloads are currently only supported for GitHub and GitLab repositories.
optional
user The name of the user page for the open source infrastructure. This is notably different to the login parameter. This will have precedence over the proj parameter. The user page is treated in the same way as a project name. optional
proj The name of the project, consisting of a grouping of repositories on the open source infrastructure. optional
repo The name of the repository. A project registered on one of the open source infrastructures generally allows for multiple repositories under that project name. optional
branch The branch name. As tags are simply branches in SVN repositories, this parameter can also be used for svn tags. This defaults to next or trunk for git and svn respectively. For SourceForge git repositories, if the character / is present in the branch name, the text /~ must be appended to the branch. optional
tag The repository tag name. For SourceForge git repositories, if the character / is present in the tag name, the text /~ must be appended to the tag. optional
commit The commit identifier (git hash or svn revision number). This defaults to HEAD. optional
path The file or directory path. optional
line The line number(s) of the file to display.
  • For SourceForge and the Gitorious archive: Use a single line number.
  • For GitHub either use:
    • A single line number, for example 2.
    • Two line numbers separated with a hyphen (-), for example 3-10.
optional
post Text to append. This is forms a set with the parameter cmd and opt. For example it can represent any command line options that come after the URL. optional
view View to display:
  • For SourceForge use one of tree, log, commit, or rss. If a commit is specified (the commit parameter is set and path is not), the default is commit. Otherwise the default is tree.
  • For GitHub use one of blob, blame, commit, commits or raw. The default is tree.
  • The GitLab interface for type = git web is not yet implemented in the master {{repo link}} template, so the view parameter currently does nothing.
  • For the Gitorious archive use one of summary, shortlog, log, blob, commit, commitdiff, patch, tree, history, or raw. The default is commit if a merge request is supplied, blob if a path is given, commit if a commit is given, shortlog if a branch is given, or summary otherwise.
optional
text Text to display as the link label. Overrides pre. optional
pre Prefix to a link label. optional
simplepath If set, this strips off the repository name from the URL label, leaving just the contents of the path parameter.
Note The text parameter will override this.
optional
full If set to 1, the full URL will be shown rather than any text label. optional

Design

In this section, the following notation will be used:

Angular brackets + lower case text <xyz>
Template parameters.
Angular brackets + upper case text <XYZ>
Template constructed text.
Square brackets [xyz]
Optional text, only added if the parameter is set.
Or symbol |
The value on the left, if present, otherwise the value on the right of the symbol.

Overview

Independent of the site parameter, the general design is:

<cmd> <opt> [<URL> <TEXT>] <post>

Here the square brackets do not denote optional text, but will instead produce a Mediawiki link. This can be modified by setting full = 1 to produce:

<cmd> <opt> <URL> <post>

The URL is constructed differently for each of the categories of the site parameter.

Site: SourceForge

Project vs. developer page

For a normal SourceForge project and a SourceForge developer page, the base URL is respectively constructed as:

<protocol>://<DOMAIN>/p/<proj>/<repo>/
<protocol>://<DOMAIN>/u/<user>/<repo>/

This will be abstracted as:

<protocol>://<DOMAIN>/<u|p>/<user|proj>/<repo>/

For the type parameter value of git or svn, a login is allowed:

<protocol>://[<login>@]<DOMAIN>/<u|p>/<user|proj>/<repo>/

SourceForge <URL> for 'type=git'

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

<protocol>://[<login>@]git.code.sf.net/<u|p>/<user|proj>/<repo>/

SourceForge <URL> for 'type=git web'

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

<protocol>://sourceforge.net/<u|p>/<user|proj>/<repo>/ci/<commit|branch>/<VIEW>/<path>[#l<line>]

The <VIEW> value for different values of view is:

tree
tree/.
log
log/?path=.
commit
nothing.

If the parameter setting view=rss is used, a different <URL> value is produced:

<protocol>://sourceforge.net/<u|p>/<user|proj>/<repo>/feed/

SourceForge <URL> for 'type=svn'

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

<protocol>://[<login>@]svn.code.sf.net/<u|p>/<user|proj>/<repo>/<branch>[/<path>][@<commit>]

SourceForge <URL> for 'type=svn web'

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

<protocol>://sourceforge.net/<u|p>/<user|proj>/<repo>/<commit|HEAD>/<VIEW>/<branch>[/<path>][#l<line>]

The <VIEW> value for different values of view is:

tree
tree/.
log
log/?path=.

If the parameter setting view=commit is used, a truncated <URL> value is produced:

<protocol>://sourceforge.net/<u|p>/<user|proj>/<repo>/<commit|HEAD>/

If the parameter setting view=rss is used, a different <URL> value is produced:

<protocol>://sourceforge.net/<u|p>/<user|proj>/<repo>/feed/

SourceForge URL <TEXT> for 'type=git' and 'type=git web'

The link text <TEXT>, if the full parameter is not set, will be:

<user|proj>/<repo>/<commit|branch>[/<path>][#l<line>] <DESC>

If the simplepath parameter is set, this changes to:

[/<path>][#l<line>] <DESC>

If the pre parameter is supplied, this changes to:

<pre>[/<path>][#l<line>] <DESC>

The RSS feed is a special case in that <TEXT> will be one of:

<user|proj>/<repo> <DESC>
<pre> <DESC>

The description <DESC> is dependent on the view parameter:

tree
Nothing.
log
log view.
commit
commit view.
rss
RSS feed.

The text parameter trumps all, and <TEXT> is simply:

<text>

SourceForge URL <TEXT> for 'type=svn' and 'type=svn web'

The link text <TEXT>, if the full parameter is not set, will be:

<user|proj>/<repo>/<branch>[/<path>][#l<line>][@r<commit>] <DESC>

If the simplepath parameter is set, this changes to:

[/<path>][#l<line>][@r<commit>] <DESC>

If the pre parameter is supplied, this changes to:

<pre>[/<path>][#l<line>][@r<commit>] <DESC>

The RSS feed is a special case in that <TEXT> will be one of:

<user|proj>/<repo> <DESC>
<pre> <DESC>

The description <DESC> is dependent on the view parameter:

tree
Nothing.
log
log view.
commit
commit view.
rss
RSS feed.

The text parameter trumps all, and <TEXT> is simply:

<text>

Site: GitHub

The base URL for GitHub repositories is:

<protocol>://github.com/<user|proj>/<repo>

GitHub <URL> for 'type=git'

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

<protocol>://github.com/<user|proj>/<repo>.git

GitHub <URL> for 'type=git web'

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

<protocol>://github.com/<user|proj>/<repo>/<view>/<commit|branch>[/<path>][#L<line>]

GitHub <URL> for 'type=zip'

For this parameter value, the zip file URL will be:

<protocol>://github.com/<proj>/<repo>/archive/<commit|tag|branch>.zip

If neither a commit, branch, nor tag is specified, the URL will default to:

<protocol>://github.com/<proj>/<repo>/archive/master.zip

GitHub URL <TEXT> for 'type=git' and 'type=git web'

The link text <TEXT>, if the full parameter is not set, will be:

github/<user|proj>/<repo>/<commit|branch|HEAD>[/<path>][#L<line>]

If the simplepath parameter is set, this changes to:

[/<path>][#L<line>]

If the pre parameter is supplied, this changes to:

<pre>[/<path>][#L<line>]

The text parameter trumps all, and <TEXT> is simply:

<text>

GitHub URL <TEXT> for 'type=zip'

The link text <TEXT>, if the full parameter is not set, will be:

github/<user|proj>/<repo>/[<commit|tag|branch>] zip file

If the simplepath parameter is set, this changes to:

 zip file

If the pre parameter is supplied, this changes to:

<pre> zip file

The text parameter trumps all, and <TEXT> is simply:

<text>

Site: GitLab

The base URL for GitLab repositories is:

<protocol>://gitlab.com/<proj>[/<repo>]

GitLab <URL> for 'type=git'

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

<protocol>://gitlab.com/<proj>[/<repo>].git

GitLab <URL> for 'type=git web'

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

GitLab <URL> for 'type=zip'

For this parameter value, the base zip file URL will be:

<protocol>://gitlab.com/<proj>/<repo>/repository/archive.zip

If a branch, tag, or commit is specified, this will be added as a query:

<protocol>://gitlab.com/<proj>/<repo>/repository/archive.zip[?ref=<commit|tag|branch>]

GitLab URL <TEXT>

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

Site: Gitorious

The Gitorious URLs are predominantly query rather than path based. And only the https:// protocol is supported. The base URL constructed by this template is:

<protocol>://gitorious.org/<proj>/<repo>

Gitorious <URL> for 'type=git'

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

<protocol>://gitorious.org/<proj>/<repo>.git

Gitorious <URL> for 'type=git web'

As the current archival system is based on queries — the text after the ? character — absolutely any random path after the gitorious.org/ domain name can be used. But, for aesthetics, the project and repository name will be appended by this template. The <URL> will be:

<protocol>://gitorious.org/<proj>/<repo>?<QUERY>[#l<line>]

The <QUERY> string consists of parts for the project and repository (p=), the type of view (a=), the path (f=), and the commit, branch or tag (h= or hb=, depending on the view). The <URL> fragment for the project and repository is constructed as:

<protocol>://gitorious.org/<proj>/<repo>?p=<proj>:<repo>.git

The <URL> fragment for the view is constructed as:

<protocol>://gitorious.org/<proj>/<repo>?a=<VIEW>

Where <VIEW> is the value of the view parameter, if supplied, with the value of raw translated to blob_plain. If not supplied, the value of blob is used if path is given, commit if commit is given, or summary otherwise. The <URL> fragment for the path is constructed as:

<protocol>://gitorious.org/<proj>/<repo>?f=<path>

If the view parameter is set to one of blob, raw, or tree, the <URL> fragment for the commit, branch or tag is constructed as:

<protocol>://gitorious.org/<proj>/<repo>[?hb=refs/merge-requests/<mr>|<commit>|refs/heads/<branch>]

Otherwise it will be:

<protocol>://gitorious.org/<proj>/<repo>[?h=refs/merge-requests/<mr>|<commit>|refs/heads/<branch>]

In summary, the full web URL will be:

<protocol>://gitorious.org/<proj>/<repo>?p=<proj>:<repo>.git;a=<VIEW>[;f=<path>][;<h|hb>=refs/merge-requests/<mr>|<commit>|refs/heads/<branch>][#l<line>]

Gitorious URL <TEXT>

The link text <TEXT>, if the full parameter is not set, will be:

<proj>/<repo>/<commit|branch|HEAD>[/<path>][#l<line>]

If the simplepath parameter is set, this changes to:

[/<path>][#l<line>]

If the pre parameter is supplied, this changes to:

<pre>[/<path>][#l<line>]

The text parameter trumps all, and <TEXT> is simply:

<text>

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.


Plain text

To create a URL or link as plain text and avoid external links, simply use the {{#tag:tagname|content}} magic word construct:

{{#tag:nowiki|
  {{repo link
  | full = 1
  }}
}}

https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/

To use the <code> tags:

{{#tag:code|{{#tag:nowiki|
  {{repo link
  | full = 1
  }}
}}}}

https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/

Examples

SourceForge examples

FlightGear repository

The source repository

This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/.

{{repo link
| site = sf
| proj = flightgear
| repo = flightgear
| text = The flightgear source repository
}}.

The flightgear source repository.

Git clone

This is for git clone git://git.code.sf.net/p/flightgear/flightgear flightgear-flightgear.

{{#tag:code|{{#tag:nowiki|{{repo link
  | site     = sf
  | cmd      = git clone
  | protocol = git
  | repo     = flightgear
  | type     = git
  | post     = flightgear-flightgear
  | full     = 1
}}}}}}.

git clone git://git.code.sf.net/p/flightgear/flightgear/ flightgear-flightgear.

File with line number

This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/src/Main/fg_init.cxx#l1.

{{repo link
| site = sf
| repo = flightgear
| path = src/Main/fg_init.cxx
| line = 1
}}.

flightgear/flightgear/next/src/Main/fg_init.cxx#l1.

File prefixed with $FLIGHTGEAR_SRC

This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/src/Main/fg_init.cxx. The expected link text is "$FLIGHTGEAR_SRC/src/Main/fg_init.cxx".

{{repo link
| site = sf
| repo = flightgear
| path = src/Main/fg_init.cxx
| pre  = $FLIGHTGEAR_SRC
}}.

$FLIGHTGEAR_SRC/src/Main/fg_init.cxx.

Branch

This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/sportmodel/tree/.

{{repo link
| site   = sf
| repo   = flightgear
| branch = sportmodel
}}.

flightgear/flightgear/sportmodel.

Tag

This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/version/2016.1.1/~/tree/.

{{repo link
| site = sf
| repo = flightgear
| tag  = version/2016.1.1/~
}}.

flightgear/flightgear/version/2016.1.1/~.

Tag, history view

This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/version/2016.1.1/~/log/?path=.

{{repo link
| site = sf
| repo = flightgear
| tag  = version/2016.1.1/~
| view = log
}}.

flightgear/flightgear/version/2016.1.1/~ log view.

Commit

This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/f88d6418297e250138fda48f5a7d3e51bb3c543d/

{{repo link
| site   = sf
| repo   = flightgear
| commit = f88d6418297e250138fda48f5a7d3e51bb3c543d
| view   = commit
}}.

flightgear/flightgear/f88d6418297e250138fda48f5a7d3e51bb3c543d commit view.

Or:

{{repo link
| site   = sf
| repo   = flightgear
| commit = f88d6418297e250138fda48f5a7d3e51bb3c543d
}}.

flightgear/flightgear/f88d6418297e250138fda48f5a7d3e51bb3c543d commit view.

Commit, history view

This is a link to https://sourceforge.net/p/flightgear/flightgear/ci/f88d6418297e250138fda48f5a7d3e51bb3c543d/log/?path=

{{repo link
| site   = sf
| repo   = flightgear
| commit = f88d6418297e250138fda48f5a7d3e51bb3c543d
| view   = log
}}.

flightgear/flightgear/f88d6418297e250138fda48f5a7d3e51bb3c543d log view.

Repository clone

This is for the command git clone git://git.code.sf.net/p/flightgear/flightgear/ flightgear-flightgear

{{#tag:code|{{#tag:nowiki|{{repo link
| site     = sf
| cmd      = git clone
| protocol = git
| type     = git
| repo     = flightgear
| post     = flightgear-flightgear
| full     = 1
}}}}}}.

git clone git://git.code.sf.net/p/flightgear/flightgear/ flightgear-flightgear.

Or as plain text:

{{#tag:nowiki|{{repo link
  | site     = sf
  | cmd      = git clone
  | protocol = git
  | type     = git
  | repo     = flightgear
  | post     = flightgear-flightgear
  | full     = 1
}}}}.

git clone git://git.code.sf.net/p/flightgear/flightgear/ flightgear-flightgear.

SimGear repository

Non-web URL

This is a link to ssh://git.code.sf.net/p/flightgear/simgear.

{{repo link
| site     = sf
| protocol = ssh
| type     = git
| repo     = simgear
| full     = 1
}}.

ssh://git.code.sf.net/p/flightgear/simgear/.

Simgear RSS feed

This is a link to https://sourceforge.net/p/flightgear/simgear/feed.

{{repo link
| site = sf
| repo = simgear
| view = rss
| text = Simgear RSS feed
}}.

Simgear RSS feed.

Or without text:

{{repo link
| site   = sf
| login  = dummy_user                                  <!-- Dummy parameter, not to be used -->
| repo   = simgear
| view   = rss
| branch = branches/release-2016.1/~                   <!-- Dummy parameter, not to be used -->
| path   = simgear/                                    <!-- Dummy parameter, not to be used -->
| commit = f88d6418297e250138fda48f5a7d3e51bb3c543d    <!-- Dummy parameter, not to be used -->
| line   = 10                                          <!-- Dummy parameter, not to be used -->
}}.

flightgear/simgear RSS feed.

FGData repository links

$FG_ROOT prefix and a commit
{{repo link
| site   = sf
| type   = git web
| repo   = fgdata
| path   = AI/nimitz_demo.xml
| commit = 7b53516a9619f598721d7ee34d6a446367e9d9cd
| line   = 85
| pre    = $FG_ROOT
}}

$FG_ROOT/AI/nimitz_demo.xml#l85 (commit 7b53516a9619f598721d7ee34d6a446367e9d9cd)

FGMeta repository

Raw view

This is a link to https://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/download_and_compile.sh?format=raw.

{{repo link
| site = sf
| repo = fgmeta
| path = download_and_compile.sh
| view = raw
| full = 1
}}.

https://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/download_and_compile.sh?format=raw.

FGAddon repository links

Branch

This is a link for https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/branches/release-3.4.0/Aircraft.

{{repo link
| site   = sf
| type   = svn web
| repo   = fgaddon
| branch = branches/release-3.4.0
| path   = Aircraft
| text   = FG 3.4 add-on aircraft
}}.

FG 3.4 add-on aircraft.

Tag

This is a link for https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/branches/release-3.4.0/Aircraft. Although branches/relax-3.4.0 is a branch, this tests the tag parameter.

{{repo link
| site = sf
| type = svn web
| repo = fgaddon
| tag  = branches/release-3.4.0
| path = Aircraft
| full = 1
}}.

https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/branches/release-3.4.0/Aircraft.

r1001

This is a link for https://sourceforge.net/p/flightgear/fgaddon/1001.

{{repo link
| site   = sf
| type   = svn web
| repo   = fgaddon
| commit = 1001
| view   = commit
}}.

flightgear/fgaddon@r1001 commit view.

r1001, default view

This is a link for https://sourceforge.net/p/flightgear/fgaddon/1001.

{{repo link
| site   = sf
| type   = svn web
| repo   = fgaddon
| commit = 1001
}}.

flightgear/fgaddon@r1001 commit view.

Trunk (r1000)

This is a link for https://sourceforge.net/p/flightgear/fgaddon/1000/tree/trunk/Aircraft.

{{repo link
| site   = sf
| type   = svn web
| repo   = fgaddon
| commit = 1000
| branch = trunk
| path   = Aircraft
}}.

flightgear/fgaddon/trunk/Aircraft@r1000.

Trunk, real path

This is a link for https://svn.code.sf.net/p/flightgear/fgaddon/trunk.

{{repo link
| site   = sf
| type   = svn
| repo   = fgaddon
| branch = trunk
| full   = 1
}}.

https://svn.code.sf.net/p/flightgear/fgaddon/trunk.

Svn checkout

This is for returning svn co https://svn.code.sf.net/p/flightgear/fgaddon/branches/release-3.4.0/Aircraft/V22-Osprey

{{#tag:code|{{#tag:nowiki|{{repo link
| site   = sf
| cmd    = svn co
| type   = svn
| repo   = fgaddon
| branch = branches/release-3.4.0
| path   = Aircraft/V22-Osprey
| full   = 1
}}.

svn co https://svn.code.sf.net/p/flightgear/fgaddon/branches/release-3.4.0/Aircraft/V22-Osprey.

Svn trunk checkout

This is for returning svn co https://svn.code.sf.net/p/flightgear/fgaddon/trunk flightgear-fgaddon

{{#tag:code|{{#tag:nowiki|{{repo link
| site = sf
| cmd  = svn co
| type = svn
| repo = fgaddon
| post = flightgear-fgaddon 
| full = 1
}}.

svn co https://svn.code.sf.net/p/flightgear/fgaddon/trunk flightgear-fgaddon.

Svn checkout (trunk@r1000)

This is for returning svn co https://svn.code.sf.net/p/flightgear/fgaddon/trunk@r1000

{{#tag:code|{{#tag:nowiki|{{repo link
| site   = sf
| cmd    = svn co
| type   = svn
| repo   = fgaddon
| commit = 1000
| full   = 1
}}}}}}.

svn co https://svn.code.sf.net/p/flightgear/fgaddon/trunk@r1000.

File and line number link

This is for https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Aircraft/14bis/14bis-set.xml#l12.

{{repo link
| site       = sf
| type       = svn web
| repo       = fgaddon
| path       = Aircraft/14bis/14bis-set.xml
| line       = 12
| branch     = trunk
| simplepath = 1
}}.

Aircraft/14bis/14bis-set.xml#l12.

File prefixed with $FG_AIRCRAFT

This is for https://sourceforge.net/p/flightgear/fgaddon/1234/tree/trunk/Aircraft/X15/X15-set.xml. The expected link text is "$FG_AIRCRAFT/Aircraft/X15/X15-set.xml".

{{repo link
| site = sf
| type = svn web
| repo = fgaddon
| path = Aircraft/X15/X15-set.xml
| pre  = $FG_AIRCRAFT
}}.

$FG_AIRCRAFT/Aircraft/X15/X15-set.xml.

File prefixed with $FG_AIRCRAFT and identified by commit

This is for https://sourceforge.net/p/flightgear/fgaddon/1234/tree/trunk/Aircraft/X15/X15-set.xml. The expected link text is "$FG_AIRCRAFT/Aircraft/X15/X15-set.xml@1234".

{{repo link
| site   = sf
| type   = svn web
| repo   = fgaddon
| path   = Aircraft/X15/X15-set.xml
| commit = 1234
| pre    = $FG_AIRCRAFT
}}.

$FG_AIRCRAFT/Aircraft/X15/X15-set.xml@r1234.

svn import

This should give:

svn import DaSH/ svn+ssh://<username>@svn.code.sf.net/p/flightgear/fgaddon/trunk/Aircraft/ -m "Initial import of the DaSH human powered aircraft.\n\nFor details see the forum thread at http://forum.flightgear.org/viewtopic.php?f=4&t=24495 ."
{{#tag:syntaxhighlight|
{{repo link
  | cmd      = svn import DaSH/
  | repo     = fgaddon
  | protocol = svn+ssh
  | login    = <username>
  | type     = svn
  | path     = Aircraft/
  | post     = -m "Initial import of the DaSH human powered aircraft.\n\nFor details see the forum thread at http://forum.flightgear.org/viewtopic.php?f=4&t=24495 ."
  | full     = 1
}}
| lang = "sh"
}}
svn import DaSH/ svn+ssh://<username>@svn.code.sf.net/p/flightgear/fgaddon/trunk/Aircraft/ -m "Initial import of the DaSH human powered aircraft.\n\nFor details see the forum thread at http://forum.flightgear.org/viewtopic.php?f=4&t=24495 ."
FGAddon RSS feed

This is a link to https://sourceforge.net/p/flightgear/fgaddon/feed.

{{repo link
| site   = sf
| login  = dummy_user                  <!-- Dummy parameter, not to be used -->
| repo   = fgaddon
| type   = svn web
| view   = rss
| branch = branches/release-2016.1     <!-- Dummy parameter, not to be used -->
| path   = Aircraft/                   <!-- Dummy parameter, not to be used -->
| commit = 1234                        <!-- Dummy parameter, not to be used -->
| line   = 200                         <!-- Dummy parameter, not to be used -->
}}.

flightgear/fgaddon RSS feed.

User fork of the FlightGear repository

This is for https://sourceforge.net/u/edauvergne/code-py-ogel/ci/python/tree/test.py#l23.

{{repo link
| site   = sf
| repo   = code-py-ogel
| branch = python
| path   = test.py
| line   = 23
| user   = edauvergne
}}.

edauvergne/code-py-ogel/python/test.py#l23.

GitHub examples

Base site URL

This is for the base URL https://github.com.

{{repo link|site=gh}}.

GitHub website.

{{repo link|site=gh|full=1}}.

https://github.com.

User repository

{{repo link
| site = gh
| user = hamzaalloush
| repo = fgradar-clone
}}.

github/hamzaalloush/fgradar-clone.

User repository prefixed with $FG_ROOT

{{repo link
| site  = gith
| user  = bhugh
| repo  = Bombable
| line  = 30
| path  = Aircraft/A-10-Bombable/A-10-Bombable-set.xml
| pre   = $FG_ROOT
}}.

$FG_ROOT/Aircraft/A-10-Bombable/A-10-Bombable-set.xml#L30.

The c172p-detailed repository

This is for the c172p-detailed repository https://github.com/Juanvvc/c172p-detailed/tree/master (this is the same as https://github.com/Juanvvc/c172p-detailed).

{{repo link
| site = gh
| user = Juanvvc
| repo = c172p-detailed
| text = A high detailed version of the C172P aircraft for FlightGear
}}

A high detailed version of the C172P aircraft for FlightGear.

Git clone

This is for cloning the c172p-detailed aircraft with git clone https://github.com/Juanvvc/c172p-detailed.git.

{{#tag:code | {{#tag:nowiki |
  {{repo link
  | site = gh
  | cmd  = git clone
  | user = Juanvvc
  | repo = c172p-detailed
  | type = git
  | full = 1
  }}
}} }}

git clone https://github.com/Juanvvc/c172p-detailed.git

File with line number

This is for https://github.com/Juanvvc/c172p-detailed/blob/release/2016.1/c172p-set.xml#L49.

{{repo link
| site   = gh
| user   = Juanvvc
| repo   = c172p-detailed
| view   = blob
| branch = release/2016.1
| path   = c172p-set.xml
| line   = 49
| text   = The c172p-detailed authors
}}.

The c172p-detailed authors.

Raw view

This is for https://github.com/Juanvvc/c172p-detailed/raw/master/c172p-set.xml, which will redirect itself to https://raw.githubusercontent.com/Juanvvc/c172p-detailed/master/c172p-set.xml.

{{repo link
| site = gh
| user = Juanvvc
| repo = c172p-detailed
| view = raw
| path = c172p-set.xml
| full = 1
}}.

https://github.com/Juanvvc/c172p-detailed/raw/master/c172p-set.xml.

Commit

This is for https://github.com/Juanvvc/c172p-detailed/commit/df6f10608116674643a3cc4bf18819eeee016d42.

{{repo link
| site   = gh
| user   = Juanvvc
| repo   = c172p-detailed
| view   = commit
| commit = df6f10608116674643a3cc4bf18819eeee016d42
}}.

github/Juanvvc/c172p-detailed/df6f10608116674643a3cc4bf18819eeee016d42 commit view.

Tree view at a given commit

This is for https://github.com/Juanvvc/c172p-detailed/tree/df6f10608116674643a3cc4bf18819eeee016d42.

{{repo link
| site   = gh
| user   = Juanvvc
| repo   = c172p-detailed
| view   = tree
| commit = df6f10608116674643a3cc4bf18819eeee016d42
}}.

github/Juanvvc/c172p-detailed/df6f10608116674643a3cc4bf18819eeee016d42.

Main views

History view

This is for https://github.com/Juanvvc/c172p-detailed/commits/master.

{{repo link
| site   = gh
| user   = Juanvvc
| repo   = c172p-detailed
| view   = commits
}}.

github/Juanvvc/c172p-detailed/master history view.

History view from a commit

This is for https://github.com/Juanvvc/c172p-detailed/commits/df6f10608116674643a3cc4bf18819eeee016d42.

{{repo link
| site   = gh
| user   = Juanvvc
| repo   = c172p-detailed
| view   = commits
| commit = df6f10608116674643a3cc4bf18819eeee016d42
}}.

github/Juanvvc/c172p-detailed/df6f10608116674643a3cc4bf18819eeee016d42 history view.

Zip archive download

Default

This is for https://github.com/Juanvvc/c172p-detailed/archive/master.zip.

{{repo link
| site = github
| proj = Juanvvc
| repo = c172p-detailed
| type = zip
| full = 1
}}.

https://github.com/Juanvvc/c172p-detailed/archive/master.zip.

Branch

This is for https://github.com/Juanvvc/c172p-detailed/archive/release/2016.1.zip.

{{repo link
| site   = github
| proj   = Juanvvc
| repo   = c172p-detailed
| branch = release/2016.1
| type   = zip
| full   = 1
}}.

https://github.com/Juanvvc/c172p-detailed/archive/release/2016.1.zip.

Commit

This is for https://github.com/Juanvvc/c172p-detailed/archive/c9cef81a899201802b32109c43ca686bbeffdb42.zip.

{{repo link
| site   = github
| proj   = Juanvvc
| repo   = c172p-detailed
| commit = c9cef81a899201802b32109c43ca686bbeffdb42
| type   = zip
| full   = 1
}}.

https://github.com/Juanvvc/c172p-detailed/archive/c9cef81a899201802b32109c43ca686bbeffdb42.zip.

GitHub issue tracker

All issues

This is for https://github.com/Juanvvc/c172p-detailed/issues.

{{repo link
| site = github
| proj = Juanvvc
| repo = c172p-detailed
| type = tracker
| full = 1
}}.

https://github.com/Juanvvc/c172p-detailed/issues.

Specific issue

This is for https://github.com/Juanvvc/c172p-detailed/issues/1.

{{repo link
| site   = github
| proj   = Juanvvc
| repo   = c172p-detailed
| type   = tracker
| number = 1
| full   = 1
}}.

https://github.com/Juanvvc/c172p-detailed/issues/1.

GitHub wiki

Main page

This is for https://github.com/c172p-team/c172p/wiki.

{{repo link
| site = github
| proj = c172p-team
| repo = c172p
| type = wiki
| full = 1
}}.

https://github.com/c172p-team/c172p/wiki.

Subpage

This is for https://github.com/c172p-team/c172p/wiki/Release-process-and-versioning.

{{repo link
| site = github
| proj = c172p-team
| repo = c172p
| type = wiki
| path = Release-process-and-versioning
| full = 1
}}.

https://github.com/c172p-team/c172p/wiki/Release-process-and-versioning.

GitLab examples

Base site URL

This is for the base URL https://gitlab.com.

{{repo link|site=gl}}.

GitLab website.

{{repo link|site=gl|full=1}}.

https://gitlab.com.

User repository

This is for https://gitlab.com/emilianh/Lockheed-L10-Electra.

{{repo link
| site   = gl
| user   = emilianh
| repo   = Lockheed-L10-Electra
}}

gitlab/emilianh/Lockheed-L10-Electra/master

Or:

{{repo link
| site   = gl
| user   = emilianh
| repo   = Lockheed-L10-Electra
| full   = 1
}}

https://gitlab.com/emilianh/Lockheed-L10-Electra

The FlightGear Multiplayer server software

This should produce git clone https://gitlab.com/fgms/fgms-0-x.git.

{{#tag:syntaxhighlight|
{{repo link
  | site = gitlab
  | cmd  = git clone
  | proj = fgms
  | repo = fgms-0-x
  | type = git
  | full = 1
}}
| lang = "sh"
}}
git clone https://gitlab.com/fgms/fgms-0-x.git

File

This is for https://gitlab.com/fg-radi/osm2city/blob/master/osm2city.py.

{{repo link
| site = gitlab
| proj = fg-radi
| repo = osm2city
| path = osm2city.py
| full = 1
}}.

https://gitlab.com/fg-radi/osm2city/blob/master/osm2city.py.

File and a branch

This is for https://gitlab.com/tortoisegit/tortoisegit/blob/REL_1.8.16.0_EXTERNAL/release.txt.

{{repo link
| site   = gitlab
| proj   = tortoisegit
| repo   = tortoisegit
| branch = REL_1.8.16.0_EXTERNAL
| path   = release.txt
| full   = 1
}}.

https://gitlab.com/tortoisegit/tortoisegit/blob/REL_1.8.16.0_EXTERNAL/release.txt.

File and a commit

This is for https://gitlab.com/extra500/extra500/blob/20ac59/extra500-set.xml.

{{repo link
| site   = gitlab
| proj   = extra500
| repo   = extra500
| commit = 20ac59ad
| path   = extra500-set.xml
| full   = 1
}}.

https://gitlab.com/extra500/extra500/blob/20ac59ad/extra500-set.xml.

File with line number

This is for https://gitlab.com/mdanil/Tu-144/blob/master/Models/Tu-144.xml#L8-14.

{{repo link
| site   = gitlab
| user   = mdanil
| repo   = Tu-144
| view   = blob
| branch = master
| path   = Models/Tu-144.xml
| line   = 8-14
| full   = 1
}}.

https://gitlab.com/mdanil/Tu-144/blob/master/Models/Tu-144.xml#L8-14.

Raw view

This is for https://gitlab.com/extra500/extra500/raw/20ac59/extra500-set.xml.

{{repo link
| site   = gitlab
| proj   = extra500
| repo   = extra500
| view   = raw
| commit = 20ac59
| path   = extra500-set.xml
| full   = 1
}}.

https://gitlab.com/extra500/extra500/raw/20ac59/extra500-set.xml.

Commit

This is for https://gitlab.com/extra500/extra500/commit/20ac59ad.

{{repo link
| site   = gitlab
| proj   = extra500
| repo   = extra500
| view   = commit
| commit = 20ac59ad
| full   = 1
}}.

https://gitlab.com/extra500/extra500/commit/20ac59ad.

Tree view at a given commit

This is for https://gitlab.com/extra500/extra500/tree/20ac59ad.

{{repo link
| site   = gitlab
| proj   = extra500
| repo   = extra500
| view   = tree
| commit = 20ac59ad
| full   = 1
}}.

https://gitlab.com/extra500/extra500/tree/20ac59ad.

Main views

History view

This is for https://gitlab.com/mailman/mailman/commits/master.

{{repo link
| site   = gl
| user   = mailman
| repo   = mailman
| view   = commits
| full   = 1
}}.

https://gitlab.com/mailman/mailman/commits/master.

History view from a commit

This is for https://gitlab.com/mailman/mailman/commits/1236a9cf.

{{repo link
| site   = gl
| user   = mailman
| repo   = mailman
| view   = commits
| commit = 1236a9cf
| full   = 1
}}.

https://gitlab.com/mailman/mailman/commits/1236a9cf.

Zip archive download

This is for https://gitlab.com/extra500/extra500/repository/archive.zip?ref=FG/2016.1.

{{repo link
| site   = gitlab
| proj   = extra500
| repo   = extra500
| branch = FG/2016.1
| type   = zip
| full   = 1
}}

https://gitlab.com/extra500/extra500/repository/archive.zip?ref=FG/2016.1

Zip archive download with tag

This is for https://gitlab.com/emilianh/IAR80/repository/archive.zip?ref=latest.

{{repo link
| site = gitlab
| proj = emilianh
| repo = IAR80
| tag  = latest
| type = zip
| full = 1
}}

https://gitlab.com/emilianh/IAR80/repository/archive.zip?ref=latest

Gitorious archive examples

Note  The Gitorious open source infrastructure is locked in a read-only archived state.

Base site URL

This is for the base URL https://gitorious.org.

{{repo link|site=go}}.

Gitorious website.

{{repo link|site=go|full=1}}.

https://gitorious.org.

The old FlightGear source repository

This is for the archived flightgear repository at https://gitorious.org/fg/flightgear.git. The automatically created URL, which is equivalent, should be https://gitorious.org/fg/flightgear?p=fg:flightgear.git;a=summary.

{{repo link
| site = gito
| proj = fg
| repo = flightgear
| text = The archived flightgear source code repository at Gitorious
}}.

The archived flightgear source code repository at Gitorious.

The historic fgdata repository

This is for the historic repository https://gitorious.org/fg/fgdata.git. The automatically created URL, which is equivalent, should be https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=summary.

{{repo link
| site = gito
| proj = fg
| repo = fgdata
| text = The archived fgdata repository at Gitorious, with full history from 2000-2015
}}.

The archived fgdata repository at Gitorious, with full history from 2000-2015.

File and branch in the historic fgdata repository

This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=blob;f=Aircraft-uiuc/Cessna172/aircraft.dat;hb=refs/heads/release/3.2.0.

{{repo link
| site   = gito
| proj   = fg
| repo   = fgdata
| path   = Aircraft-uiuc/Cessna172/aircraft.dat
| branch = release/3.2.0
| full   = 1
}}

https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=blob;f=Aircraft-uiuc/Cessna172/aircraft.dat;hb=refs/heads/release/3.2.0

File and tag in the historic fgdata repository

This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=blob;f=Aircraft-uiuc/Cessna172/aircraft.dat;hb=refs/tags/version/3.4.0.

{{repo link
| site = gito
| proj = fg
| repo = fgdata
| path = Aircraft-uiuc/Cessna172/aircraft.dat
| tag  = version/3.4.0/~
| full = 1
}}

https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=blob;f=Aircraft-uiuc/Cessna172/aircraft.dat;hb=refs/tags/version/3.4.0/~

Git clone

This is for cloning the historic fgdata repository with git clone https://gitorious.org/fg/fgdata.git.

{{#tag:code|{{#tag:nowiki|{{repo link
  | site     = gito
  | cmd      = git clone
  | proj     = fg
  | repo     = fgdata
  | type     = git
  | full     = 1
}}}}}}.

git clone https://gitorious.org/fg/fgdata.git.

File with line number

This is for https://gitorious.org/fg/hoorays-fgdata?p=fg:hoorays-fgdata.git;a=blob;f=Nasal/ai/ai.nas;hb=refs/heads/topics/scriptable-ai-submodule#l1.

{{repo link
| site   = gito
| proj   = fg
| repo   = hoorays-fgdata
| view   = blob
| branch = topics/scriptable-ai-submodule
| path   = Nasal/ai/ai.nas
| line   = 1
| text   = Scripted AI Objects repo
}}.

Scripted AI Objects repo.

File prefixed with $NASAL_SRC

This is for https://gitorious.org/fg/hoorays-fgdata?p=fg:hoorays-fgdata.git;a=blob;f=Nasal/ai/ai.nas;hb=refs/heads/topics/scriptable-ai-submodule.

{{repo link
| site       = gito
| proj       = fg
| repo       = hoorays-fgdata
| view       = blob
| branch     = topics/scriptable-ai-submodule
| path       = Nasal/ai/ai.nas
| pre        = $NASAL_SRC
| simplepath = 1
}}.

$NASAL_SRC/Nasal/ai/ai.nas.

Raw view

This is for https://gitorious.org/fg/hoorays-fgdata?p=fg:hoorays-fgdata.git;a=blob_plain;f=Nasal/ai/ai.nas;hb=refs/heads/topics/scriptable-ai-submodule.

{{repo link
| site   = gito
| proj   = fg
| repo   = hoorays-fgdata
| view   = raw
| branch = topics/scriptable-ai-submodule
| path   = Nasal/ai/ai.nas
| full   = 1
}}.

https://gitorious.org/fg/hoorays-fgdata?p=fg:hoorays-fgdata.git;a=blob_plain;f=Nasal/ai/ai.nas;hb=refs/heads/topics/scriptable-ai-submodule.

Branch

This is for https://gitorious.org/fg/toms-fgdata?p=fg:toms-fgdata.git;a=shortlog;h=refs/heads/canvas-gui-demo.

{{repo link
| site   = go
| proj   = fg
| repo   = toms-fgdata
| branch = canvas-gui-demo
| full   = 1
}}.

https://gitorious.org/fg/toms-fgdata?p=fg:toms-fgdata.git;a=shortlog;h=refs/heads/canvas-gui-demo.

Commit

This is for https://gitorious.org/nasal-standalone/nasal-experiments?p=nasal-standalone:nasal-experiments.git;a=commit;h=9b2d59c316d03b83cfb4352a38b865aa29f4c280.

{{repo link
| site   = gito
| proj   = nasal-standalone
| repo   = nasal-experiments
| view   = commit
| commit = 9b2d59c316d03b83cfb4352a38b865aa29f4c280
| pre    = $NASAL_SRC
}}.

$NASAL_SRC.

Commit with file path

This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=blob;f=Nasal/canvas/map/TFC.lcontroller;hb=c78b2f936891bffad49e27d84d952a0d45540eef

{{repo link
| site   = gito
| proj   = fg
| repo   = fgdata
| path   = Nasal/canvas/map/TFC.lcontroller
| view   = blob
| commit = c78b2f936891bffad49e27d84d952a0d45540eef
| full   = 1
}}.

https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=blob;f=Nasal/canvas/map/TFC.lcontroller;hb=c78b2f936891bffad49e27d84d952a0d45540eef.

Commitdiff

This is for https://gitorious.org/nasal-standalone/nasal-experiments?p=nasal-standalone:nasal-experiments.git;a=commitdiff;h=9b2d59c316d03b83cfb4352a38b865aa29f4c280.

{{repo link
| site   = gito
| proj   = nasal-standalone
| repo   = nasal-experiments
| view   = commitdiff
| commit = 9b2d59c316d03b83cfb4352a38b865aa29f4c280
| pre    = $NASAL_SRC
}}.

$NASAL_SRC.

Main views

Summary view

This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=summary.

{{repo link
| site = gito
| proj = fg
| repo = fgdata
| view = summary
| full = 1
}}.

https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=summary.

Shortlog view

This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=shortlog.

{{repo link
| site = gito
| proj = fg
| repo = fgdata
| view = shortlog
| full = 1
}}.

https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=shortlog.

Log view

This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=log;h=4c03a4968d2844c9c8ba734116da3478a1bebb38.

{{repo link
| site   = gito
| proj   = fg
| repo   = fgdata
| view   = log
| commit = 4c03a4968d2844c9c8ba734116da3478a1bebb38
| full   = 1
}}.

https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=log;h=4c03a4968d2844c9c8ba734116da3478a1bebb38.

Log with branch

This is for https://gitorious.org/fg/hoorays-flightgear?p=fg:hoorays-flightgear.git;a=log;h=refs/heads/topics/ada-support.

{{repo link
| site   = gito
| proj   = fg
| repo   = hoorays-flightgear
| view   = log
| branch = topics/ada-support
| full   = 1
}}.

https://gitorious.org/fg/hoorays-flightgear?p=fg:hoorays-flightgear.git;a=log;h=refs/heads/topics/ada-support.

Merge requests

Default view

This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=commit;h=refs/merge-requests/190.

{{repo link
| site = go
| proj = fg
| repo = fgdata
| mr   = merge-requests/190
| full = 1
}}.

https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=commit;h=refs/merge-requests/190.

Commit view

This is for https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=commit;h=refs/merge-requests/190.

{{repo link
| site = go
| proj = fg
| repo = fgdata
| view = commit
| mr   = merge-requests/190
}}.

gitorious/fg/fgdata/merge-requests/190.

Or as a URL:

{{repo link
| site = go
| proj = fg
| repo = fgdata
| view = commit
| mr   = merge-requests/190
| full = 1
}}.

https://gitorious.org/fg/fgdata?p=fg:fgdata.git;a=commit;h=refs/merge-requests/190.

Generic repository handling

OpenSceneGraph svn repository

This should create svn co http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk osg.

{{#tag:code|{{#tag:nowiki|{{repo link
| site     = svn.openscenegraph.org
| cmd      = svn co
| protocol = http
| type     = svn
| proj     = osg
| repo     = OpenSceneGraph
| post     = osg
| full     = 1
}}}}}}.

svn co http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk osg.

OpenSceneGraph branch and file

This should create svn co http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4/src osg_src.

{{#tag:code|{{#tag:nowiki|{{repo link
| site     = svn.openscenegraph.org
| cmd      = svn co
| protocol = http
| type     = svn
| proj     = osg
| repo     = OpenSceneGraph
| branch   = branches/OpenSceneGraph-3.4
| path     = src
| post     = osg_src
| full     = 1
}}}}}}.

svn co http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4/src osg_src.

Related templates