Scripted Compilation on Linux Debian/Ubuntu: Difference between revisions

Jump to navigation Jump to search
→‎For the curious: the SSH way: Update, add prominent note
(→‎Updating FlightGear: Better explain -I)
(→‎For the curious: the SSH way: Update, add prominent note)
Line 237: Line 237:
=== For the curious: the SSH way ===
=== For the curious: the SSH way ===


The method described below is not necessary anymore since {{fgmeta commit | 420034d5b51ff2d32fc0c3716b17a2d862841e0f}} (May 2020). What it does is teach you how to clone [[FGData]] using SSH, then change the Git remote setup in your clone of that repository to retrieve further updates using https—which is convenient, as it does not require you to provide a password. This technique used to be necessary to securely retrieve FGData because of a problem in the [https://sourceforge.net/ SourceForge] infrastructure (namely, <code>git clone</code> from SourceForge doesn't work for the big FGData repository using https). Current versions of <tt>download_and_compile.sh</tt> avoid the problem by proposing the user to automatically clone FGData from its [https://gitlab.com/flightgear/fgdata official mirror at GitLab], then change the Git remote setup to fetch further updates using https from SourceForge.
{{Note|The method described below is not necessary anymore since {{fgmeta commit | 420034d5b51ff2d32fc0c3716b17a2d862841e0f}} (May 2020). Also, it was written at a time where the canonical location for [[FGData]] was at SourceForge; however, in 2025, the canonical location for FGData is {{fgdata source
| text = here
}}.}}
 
The purpose of this section is to teach you how to clone [[FGData]] using SSH, then change the Git remote setup in your clone of that repository to retrieve further updates using https—which is convenient, as it does not require you to provide a password. This technique used to be necessary to securely retrieve FGData because of a problem in the [https://sourceforge.net/ SourceForge] infrastructure (namely, <code>git clone</code> from SourceForge doesn't work for the big FGData repository using https). This is not needed anymore in 2025.


Because the following method will make you connect to [https://sourceforge.net/ SourceForge] using the SSH protocol, you'll need an account on that site. If you don't already have one, go to the [https://sourceforge.net/user/registration registration page] and create an account. In all this section, we'll assume that your account name at SourceForge is ''SFusername''.
Because the following method will make you connect to [https://sourceforge.net/ SourceForge] using the SSH protocol, you'll need an account on that site. If you don't already have one, go to the [https://sourceforge.net/user/registration registration page] and create an account. In all this section, we'll assume that your account name at SourceForge is ''SFusername''.
417

edits

Navigation menu