FGAddon: Difference between revisions

Jump to navigation Jump to search
306 bytes added ,  26 February 2016
→‎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).
(→‎GUI clients and TortoiseSVN: Switch to the {{fgaddon source}} template for the URL.)
(→‎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).)
Line 387: Line 387:


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:
<syntaxhighlight lang="bash">
{{#tag:syntaxhighlight|
svn import DaSH/ svn+ssh://<username>@svn.code.sf.net/p/flightgear/fgaddon/trunk/Aircraft/ -m \
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 ."
     "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>
{{fgaddon source
| cmd      = svn import DaSH/
| 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"
}}


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:

Navigation menu