1
0
Fork 0
No description
Find a file
Florent Rougon 420034d5b5 download_and_compile.sh: make initial cloning of FGData easy and secure
Because cloning FGData from SourceForge using https does not work (this
has been the case for *years*) whereas normal updates of an existing
clone do work, and so does cloning the repository from its official
GitLab mirror using https, this commits implements a special case in
_gitDownload():

  If the assembled clone URL is
  <https://git.code.sf.net/p/flightgear/fgdata>, then ask the user if he
  agrees to automatically clone FGData from GitLab and arrange the
  repository setup to fetch subsequent updates from SourceForge. This
  should be fine because <https://gitlab.com/flightgear/fgdata> is an
  official mirror of FGData. The default answer is thus to do so. It is
  automatically chosen when download_and_compile.sh is called with
  --non-interactive (new option).

This implies that the initial use of download_and_compile.sh is again as
easy as subsequent ones.

This commits also adds the utility function _yes_no_quit_prompt() to
repeatedly ask a question ($1) until a valid answer has been provided.
The function automatically uses the default answer ($2) if
--non-interactive has been passed to download_and_compile.sh. See the
“discussion” at
<https://sourceforge.net/p/flightgear/mailman/message/37017469/>.
2020-05-24 11:14:36 +02:00
catalog Trunk FGAddon hangar: support 2020.* versions 2020-04-29 14:58:14 +01:00
changes-in-dat-files/apt.dat Add directory changes-in-dat-files/apt.dat with two patches for apt.dat 2016-12-08 19:20:06 +01:00
compile-scripts Tweaks to my Mac build script. 2017-01-10 18:12:12 +00:00
fg-from-scratch Final 'white text' version 2019-09-29 22:41:01 -05:00
fgdata@7d78937a4c track submodule changes for release 2020-04-27 09:30:09 +01:00
fgrun@3fb3be1935 track submodule changes for release 2016-09-06 12:59:53 +02:00
flightgear@61808019a0 track submodule changes for release 2020-04-27 09:30:09 +01:00
getstart@4313401e95 track submodule changes for release 2020-04-27 09:30:09 +01:00
Nasa2FGearthview FGmeta/Nasa2FGearthview 2019-03-25 18:20:43 +01:00
python3-flightgear i18n Python scripts: allow autodetection of translation files 2020-05-08 10:33:35 +02:00
release_builder Adjust release script 2020-04-27 09:31:38 +01:00
simgear@bd93fb279b track submodule changes for release 2020-04-27 09:30:09 +01:00
windows-3rd-party@790648cd69 Submdoule updates. 2016-12-09 14:56:33 +00:00
.gitattributes download_and_compile.sh: replace manually set version with the Git blob ID 2017-05-18 11:32:37 +02:00
.gitignore Linux::fg-from-scratch 2019-01-01 14:50:49 -06:00
.gitmodules Switch to relative submodule URLs 2018-03-16 10:29:57 +00:00
build_release_linux.sh Put compositor back off for now 2019-05-24 13:55:59 +01:00
build_release_mac.sh Set executable flag on build_release_* scripts 2015-03-08 17:36:11 +01:00
build_release_windows.bat Windows: fixes for compositor builds 2020-05-03 19:02:26 +01:00
CMakeLists.txt Replace old gitorious urls with new locations 2015-05-27 10:40:34 +02:00
create_metar_dat.py Parse new NOAA METAR index page format 2016-08-08 23:49:34 +01:00
download_and_compile.sh download_and_compile.sh: make initial cloning of FGData easy and secure 2020-05-24 11:14:36 +02:00
fgdata_checkers.py fgdata_checkers: update comments 2016-10-20 22:42:01 +01:00
FlightGear.iss Add support for compositor to windows builds 2020-04-29 08:37:50 +01:00
hudson_mac_build_release.sh Revert "macOS: remove use of Ninja for now" 2020-04-11 16:38:43 +01:00
hudson_mac_package_release.rb Re-enable ‘full-fat’ nightlies for macOS 2020-05-01 12:00:59 +01:00
Info.plist.in macOS: Use different bundle identifiers for nightly builds 2020-04-02 22:21:20 +01:00
installWinDeps.bat Implement the necessary change for the new FGData for Linux and Windows 2015-03-08 01:19:10 +01:00
post_upload.py use release instead of -rc suffix 2017-02-09 17:46:09 +01:00
sentry-dSYM-upload-mac.sh Update macoS/Win build scripts for symbol uploading 2020-04-08 16:14:38 +01:00
update_git_mirror.sh Add the git-mirror script uses on Jenkins 2019-01-14 13:19:01 +00:00
version new version: 2020.2.0 2020-04-27 09:30:08 +01:00
webhooks.xml Introduce post-commit webhook 2014-09-07 23:39:40 +02:00