377
edits
(Remove section “Remove warning message for DDS files”: the given advice was a blunt batch-replacing of 'SG_ALERT, "Image' with 'SG_WARN, "Image', however such SG_ALERT logs don't exist anymore in the indicated file since 2014) |
(Simpler method for changing the protocol or URL of a Git remote (used for FGData here)) |
||
Line 264: | Line 264: | ||
There we are! You now have a clean, up-to-date [[FGData]] clone in <tt>~/flightgear/dnc-managed/install/flightgear/fgdata</tt> (remember: <tt>~/flightgear/dnc-managed</tt> is the directory from which you ran <tt>download_and_compile.sh</tt>). Note this place: the full path of the <tt>~/flightgear/dnc-managed/install/flightgear/fgdata</tt> directory is your [[$FG_ROOT]]. | There we are! You now have a clean, up-to-date [[FGData]] clone in <tt>~/flightgear/dnc-managed/install/flightgear/fgdata</tt> (remember: <tt>~/flightgear/dnc-managed</tt> is the directory from which you ran <tt>download_and_compile.sh</tt>). Note this place: the full path of the <tt>~/flightgear/dnc-managed/install/flightgear/fgdata</tt> directory is your [[$FG_ROOT]]. | ||
Now | Now, change the protocol to use for future updates of your FGData clone:<ref name="changing-the-protocol-for-a-git-remote-manual-method">Another way would be to manually change the relevant line starting with <code><nowiki>url = ssh://SFusername@</nowiki></code> for the <code>origin</code> remote in the <tt>.git/config</tt> file that lives inside your repository clone (i.e., <tt>~/flightgear/dnc-managed/install/flightgear/fgdata/.git/config</tt> in our example).</ref> | ||
(cd install/flightgear/fgdata && \ | |||
git remote set-url origin <nowiki>https://git.code.sf.net/p/flightgear/fgdata</nowiki>) | |||
(you can check at any time the protocol(s) in use with the command <code>git remote -v</code> run inside a Git repository—in this case, inside the folder <tt>install/flightgear/fgdata</tt>). As a consequence of this change, all future updates of your FGData clone will use the <tt>https</tt> protocol, therefore you won't be prompted anymore for your SourceForge password. | |||
All that remains to do is to run, from the same directory as before (<tt>~/flightgear/dnc-managed</tt> in our example): | All that remains to do is to run, from the same directory as before (<tt>~/flightgear/dnc-managed</tt> in our example): |
edits