FGAddon: Difference between revisions

Jump to navigation Jump to search
4 bytes removed ,  24 May 2016
Switched from the master {{repo link}} template to the {{sourceforge url}} subtemplate.
(→‎History: Reintroduced the $FG_ROOT/Aircraft text.)
(Switched from the master {{repo link}} template to the {{sourceforge url}} subtemplate.)
Line 821: Line 821:
To share the local developments, the changes can be uploaded to a remote git repository on the SourceForge infrastructure.  For this, a [[#Developer_git_repository|developer git repository]] should first be set up under your SourceForge profile.  Then add this as a remote:
To share the local developments, the changes can be uploaded to a remote git repository on the SourceForge infrastructure.  For this, a [[#Developer_git_repository|developer git repository]] should first be set up under your SourceForge profile.  Then add this as a remote:
{{#tag:syntaxhighlight|
{{#tag:syntaxhighlight|
{{repo link|cmd=git remote add|opt=origin|protocol=ssh|login=<username>|user=<username>|type=git|repo=code-<aircraft>|full=1}}
{{sourceforge url|cmd=git remote add|opt=origin|protocol=ssh|login=<username>|user=<username>|type=git|repo=code-<aircraft>}}
| lang = "sh"
| lang = "sh"
}}
}}
Line 830: Line 830:
</syntaxhighlight>
</syntaxhighlight>


The changes in the new repository will be visible via the web interface at {{#tag:span|{{#tag:tt|{{#tag:nowiki|{{repo link|user=<username>|repo=code-<aircraft>|branch=master|full=1}}}}}}| style="color: blue"}}.
The changes in the new repository will be visible via the web interface at {{#tag:span|{{#tag:tt|{{#tag:nowiki|{{sourceforge url|user=<username>|repo=code-<aircraft>|branch=master}}}}}}| style="color: blue"}}.


=== Sending external git repository changes into FGAddon ===
=== Sending external git repository changes into FGAddon ===
Line 992: Line 992:
Finally, set up the remote git repository as a remote:
Finally, set up the remote git repository as a remote:
{{#tag:syntaxhighlight|
{{#tag:syntaxhighlight|
$ {{repo link|cmd=git remote add|opt=origin|protocol=ssh|login=<username>|user=<username>|type=git|repo=code-ornithopter|full=1}}
$ {{sourceforge url|cmd=git remote add|opt=origin|protocol=ssh|login=<username>|user=<username>|type=git|repo=code-ornithopter}}
| lang = "sh"
| lang = "sh"
}}
}}
Line 1,007: Line 1,007:
</syntaxhighlight>
</syntaxhighlight>


The repository will be located at {{#tag:span|{{#tag:tt|{{#tag:nowiki|{{repo link|user=<username>|repo=code-ornithopter|branch=master|full=1}}}}}}| style="color: blue"}}.  Note that the git-svn information stored in the <code>.git/svn</code> directory will not be pushed to remote SoureForge repository, and therefore the link back to FGAddon will only be present in the local copy of the team leader.  The git-svn link can be re-established at a later point if necessary.
The repository will be located at {{#tag:span|{{#tag:tt|{{#tag:nowiki|{{sourceforge url|user=<username>|repo=code-ornithopter|branch=master}}}}}}| style="color: blue"}}.  Note that the git-svn information stored in the <code>.git/svn</code> directory will not be pushed to remote SoureForge repository, and therefore the link back to FGAddon will only be present in the local copy of the team leader.  The git-svn link can be re-established at a later point if necessary.


===== Team setup =====
===== Team setup =====

Navigation menu