26
edits
Fahim Dalvi (talk | contribs) |
(Extended git instructions for the data bundle) |
||
Line 122: | Line 122: | ||
git clone git://gitorious.org/fg/fgdata.git data | git clone git://gitorious.org/fg/fgdata.git data | ||
The primary gitorious source is known to have trouble cloning the data, the mapserver mirror usually has no problems: | |||
cd $prefix | cd $prefix | ||
git clone git://mapserver.flightgear.org/fgdata data | |||
Also, there are bundles (snapshots) available that can be retrieved with your favorite download manager. This way you can resume interrupted downloads. After unpacking only a comparatively small amount of data has to be transferred from the git server to synchronize your repository. | |||
cd $prefix | $ cd $prefix | ||
wget http://flightgear.mxchange.org/pub/fgfs/fgdata.bundle | $ wget http://flightgear.mxchange.org/pub/fgfs/fgdata.bundle | ||
$ git clone fgdata.bundle fgdata | |||
Initialized empty Git repository in fgdata/.git/ | |||
warning: unrecognized header: -deg" - /orientation/roll += "-deg" - /position/altitude += "-ft" - /position/altitude-agl += "-ft" - /position/latitude += "-deg" --/position/longitude += "-deg" - /radios/adf/frequencies/selected += "-khz" - /radios/adf/frequencies/ | |||
warning: remote HEAD refers to nonexistent ref, unable to checkout. | |||
$ cd fgdata | |||
$ git branch master-tmp origin/master | |||
Branch master-tmp set up to track remote branch refs/remotes/origin/master. | |||
$ git remote rm origin | |||
$ git remote add origin git://gitorious.org/fg/fgdata | |||
$ git fetch origin | |||
remote: Counting objects: 5596, done. | |||
remote: Compressing objects: 100% (2919/2919), done. | |||
remote: Total 4266 (delta 2540), reused 2166 (delta 1297) | |||
Receiving objects: 100% (4266/4266), 117.93 MiB | 1374 KiB/s, done. | |||
Resolving deltas: 100% (2540/2540), completed with 628 local objects. | |||
From git://gitorious.org/fg/fgdata | |||
* [new branch] PRE_OSG_PLIB_20061029 -> origin/PRE_OSG_PLIB_20061029 | |||
* [new branch] master -> origin/master | |||
* [new tag] last-cvs -> last-cvs | |||
* [new tag] mapserver -> mapserver | |||
$ git branch -D master-tmp | |||
Deleted branch master-tmp. | |||
$ git branch --track master origin/master | |||
Branch master set up to track remote branch refs/remotes/origin/master. | |||
$ git checkout | |||
the | The bundle may be periodically updated and bundles from different sources need not be the same. The file size for the above bundle dated 2010-06-09 is 2394168314, while the md5 checksum is | ||
$ md5sum fgdata.bundle | |||
2996221bd2b8ab7740f332f49396cf56 fgdata.bundle | |||
=== Trial run === | === Trial run === |
edits