FlightGear Git: Difference between revisions

→‎fgdata.bundle: updated instructions for new bundle version
m (... and its md5-sum)
(→‎fgdata.bundle: updated instructions for new bundle version)
Line 133: Line 133:
  $ wget http://flightgear.mxchange.org/pub/fgfs/fgdata.bundle
  $ wget http://flightgear.mxchange.org/pub/fgfs/fgdata.bundle


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
The bundle may be periodically updated and bundles from different sources need not be the same. The file size for the above bundle dated 2011-05-27 is 3607494099, while the md5 checksum is
  $ md5sum fgdata.bundle
  $ md5sum fgdata.bundle
  3ddb025053fc395323ae708816555551  fgdata.bundle
  3ddb025053fc395323ae708816555551  fgdata.bundle
Line 140: Line 140:
  $ git clone fgdata.bundle fgdata
  $ git clone fgdata.bundle fgdata
  Initialized empty Git repository in fgdata/.git/
  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: unrecognized header: -deg" - /orientation/roll += "-deg" - /position/altitude += "-ft" - /position/altitude-agl += "-ft" - /position/latitude += "-deg" - /position/longitude += "-deg" [...]
warning: remote HEAD refers to nonexistent ref, unable to checkout.
  $ cd fgdata
  $ cd fgdata
  $ git branch master-tmp origin/master
  $ git checkout -b master-tmp
  Branch master-tmp set up to track remote branch refs/remotes/origin/master.
  Switched to a new branch 'master-tmp'
  $ git remote rm origin
  $ git remote rm origin
  $ git remote add origin git://gitorious.org/fg/fgdata
  $ git remote add origin git://gitorious.org/fg/fgdata
  $ git fetch origin
  $ git fetch origin
  remote: Counting objects: 5596, done.
  remote: Counting objects: 5011, done.
  remote: Compressing objects: 100% (2919/2919), done.
  remote: Compressing objects: 100% (2206/2206), done.
  remote: Total 4266 (delta 2540), reused 2166 (delta 1297)
  remote: Total 3512 (delta 1948), reused 2321 (delta 1239)
  Receiving objects: 100% (4266/4266), 117.93 MiB | 1374 KiB/s, done.
  Receiving objects: 100% (3512/3512), 161.20 MiB | 474 KiB/s, done.
  Resolving deltas: 100% (2540/2540), completed with 628 local objects.
  Resolving deltas: 100% (1948/1948), completed with 698 local objects.
  From git://gitorious.org/fg/fgdata
  From git://gitorious.org/fg/fgdata
   * [new branch]      PRE_OSG_PLIB_20061029 -> origin/PRE_OSG_PLIB_20061029
   * [new branch]      PRE_OSG_PLIB_20061029 -> origin/PRE_OSG_PLIB_20061029
   * [new branch]      master    -> origin/master
   * [new branch]      master    -> origin/master
  * [new branch]      releases/2.2.0 -> origin/releases/2.2.0
   * [new tag]        last-cvs  -> last-cvs
   * [new tag]        last-cvs  -> last-cvs
   * [new tag]        mapserver  -> mapserver
   * [new tag]        mapserver  -> mapserver
From git://gitorious.org/fg/fgdata
  * [new tag]        last-cvs  -> last-cvs
  * [new tag]        mapserver  -> mapserver
$ git branch --track master origin/master
Branch master set up to track remote branch refs/remotes/origin/master.
$ git checkout master
Checking out files: 100% (1117/1117), done.
Switched to branch 'master'
  $ git branch -D master-tmp
  $ git branch -D master-tmp
  Deleted branch 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


If you get an error at '''<code>git fetch origin</code>''' try:
If you get an error at '''<code>git fetch origin</code>''' try:
Line 168: Line 173:
  $ git remote add origin git://mapserver.flightgear.org/fgdata/
  $ git remote add origin git://mapserver.flightgear.org/fgdata/
  $ git fetch origin
  $ git fetch origin
You should be suspicious if based on the printed progress you estimate the data download during the fetch will exceed 1GB (assuming the bundle is not terribly outdated).


For future updates just do a '''<code>git pull</code>'''.
For future updates just do a '''<code>git pull</code>'''.


== External links ==
== External links ==
26

edits