6,566
edits
(→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| | ||
{{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 | | 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: | ||
{{#tag:syntaxhighlight| | |||
svn list svn+ssh | {{fgaddon source | ||
| cmd = svn list | |||
| protocol = svn+ssh | |||
| login = <username> | |||
| type = svn | |||
| path = Aircraft/DaSH/ | |||
| full = 1 | |||
}} | |||
| lang = "sh" | |||
}} | |||
Or visit the | 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 ==== |