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
2019-03-25 18:20:43 +01:00
2020-04-27 09:31:38 +01:00
2016-12-09 14:56:33 +00:00
2019-01-01 14:50:49 -06:00
2018-03-16 10:29:57 +00:00
2020-04-27 09:30:08 +01:00
2014-09-07 23:39:40 +02:00
Description
No description provided
6.7 MiB
Languages
Python 55.2%
Shell 30.7%
Batchfile 5.9%
Inno Setup 4.3%
Ruby 2.2%
Other 1.7%