Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Template:Fgaddon co

From FlightGear wiki
(Redirected from Template:Fgaddon checkout)
Jump to: navigation, search

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

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

Goal

To provide a consistent representation of the command to checkout the FGAddon subversion repository.

Usage

{{fgaddon co
| opt        =
| login      =
| branch     =
| path       =
| post       =
}}

The parameters are:

Parameter Description Abbreviated
parameter
Numbered
parameter
Status
opt Any additional options to show after the command svn co, but before the URL. optional
login The optional user login. 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 trunk. b 1 optional
path The file or directory path. f 2 optional
post Text to append. This is forms a set with the parameter opt. For example it can represent any command line options that come after the URL. The default value is fgaddon. optional

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

Checkout of trunk with user name

{{fgaddon co
| opt  = --username <username>
| post = fgaddon
}}

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

Checkout of aircraft from a branch

{{fgaddon co
| branch = branches/release-3.4.0
| path   = Aircraft/V22-Osprey
| post   =
}}

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

Checkout of aircraft as a user

{{fgaddon co
| login = <username>
| path  = Aircraft/wrightFlyer1903
| post  = 
}}

svn co svn+ssh://<username>@svn.code.sf.net/p/flightgear/fgaddon/trunk/Aircraft/wrightFlyer1903

Aliased parameters

{{fgaddon co
| b = branches/release-3.2.0
| f = Aircraft/V22-Osprey
}}.

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

Numbered parameters

{{fgaddon co | branches/release-3.2.0 | Aircraft/V22-Osprey }}.

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

Related templates