FGAddon: Difference between revisions

Jump to navigation Jump to search
226 bytes removed ,  26 February 2016
→‎svn import: Complete abstraction of the section using {{fgaddon source}}.
(→‎svn import: Use of the {{fgaddon source}} template. This demonstrates a number of deficiencies in the current {{repo link}} template (no login option and non-breaking whitespace problems within <nowiki> tags).)
(→‎svn import: Complete abstraction of the section using {{fgaddon source}}.)
Line 388: Line 388:
Assuming the Dead Simple Human Powered Airplane (DaSH PA or "DaSH") aircraft as an example, located in the <code>DaSH/</code> directory, on the command line run:
Assuming the Dead Simple Human Powered Airplane (DaSH PA or "DaSH") aircraft as an example, located in the <code>DaSH/</code> directory, on the command line run:
{{#tag:syntaxhighlight|
{{#tag:syntaxhighlight|
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 source
{{fgaddon source
| cmd      = svn import DaSH/
| cmd      = svn import DaSH/
Line 396: Line 394:
| type    = svn
| type    = svn
| path    = Aircraft/
| 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 ."
| post    = -m \
| full    = 1
| full    = 1
}}
}}
    "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 ."
| lang = "sh"
| lang = "sh"
}}
}}


Where <code><username></code> is the SourceForge user name.  This will add all the files into FGAddon with commit log message with the summary line <code>Initial import of the DaSH human powered aircraft.</code>, followed by a blank line, and then a detailed description pointing to the original location or discussion of the aircraft.  To see if the aircraft has been successfully added to the repository:
Where <code><username></code> is the SourceForge user name.  This will add all the files into FGAddon with commit log message with the summary line <code>Initial import of the DaSH human powered aircraft.</code>, followed by a blank line, and then a detailed description pointing to the original location or discussion of the aircraft.  To see if the aircraft has been successfully added to the repository:
<syntaxhighlight lang="bash">
{{#tag:syntaxhighlight|
svn list svn+ssh://<username>@svn.code.sf.net/p/flightgear/fgaddon/trunk/Aircraft/DaSH/
{{fgaddon source
</syntaxhighlight>
| cmd      = svn list
| protocol = svn+ssh
| login    = <username>
| type    = svn
| path    = Aircraft/DaSH/
| full    = 1
}}
| lang = "sh"
}}


Or visit the [https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Aircraft/ FGAddon web interface].  The aircraft can then be checked out as described in the [[#Development scenarios|Development scenarios section]].
Or visit the {{fgaddon source|path=Aircraft|text=FGAddon web interface}}.  The aircraft can then be checked out as described in the [[#Development scenarios|Development scenarios section]].


==== svn add ====
==== svn add ====

Navigation menu