Downloading fgdata using bittorrent: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 12: Line 12:


If the developers of flightgear see it as necessary or advantageous to provide bittorrents for initial downloads of fgdata, a new bundle would need to be created and hosted.  The bundle could be periodically updated, possibly once for each release.  Syncing with sourceforge's git would keep the user's local data up to date, but this would require a user to install and use git commands.
If the developers of flightgear see it as necessary or advantageous to provide bittorrents for initial downloads of fgdata, a new bundle would need to be created and hosted.  The bundle could be periodically updated, possibly once for each release.  Syncing with sourceforge's git would keep the user's local data up to date, but this would require a user to install and use git commands.
nd this is the solution:


==== Bundle ====
For the FlightGear-data there is a [http://www.kernel.org/pub/software/scm/git/docs/git-bundle.html git-bundle] (snapshot) [http://mxchange.org:23456/file?info_hash=%BF%FF%AB%0C%16%BF%8Eg%B8%A0%CFw%01%0A%5D%8F%3F%81%96y torrent] ([http://mxchange.org:23456/ tracker]; [http://flightgear.mxchange.org/pub/fgfs/fgdata.bundle.md5 md5]|[http://flightgear.mxchange.org/pub/fgfs/fgdata.bundle.sha1 sha1]|[http://flightgear.mxchange.org/pub/fgfs/fgdata.bundle.sha512 sha512]) available. This way you can resume interrupted downloads.  At the moment there are only a few seeds so it will be slow.  When you finish, be sure to allow seeding from your copy.


The current best alternative that minimizes download time is:
After unpacking it only a comparatively small amount of data has to be transferred from the git server to synchronize your repository. Also download any fgdata-update-*.bundle updates linked in the [http://mxchange.org:23456/ tracker]. (none as of 1-May-2016) possibly more later.  See also the Develop sections in [[FlightGear Git on Windows]].
 
The following may be obsolete.  I'm testing it today.
If it is, I'll be updating this soon. Or if you know how to update it so it works you can....
 
Create a directory on your computer where you'll be storing the data.
Change into that folder.
Do the following steps to extract the bundle and bring the repository up to date:
git clone fgdata.bundle fgdata
cd fgdata
git checkout -b master-tmp
#for N in 1 2 3 4 5 6 7 8; do git pull ../fgdata-update-00$N.bundle master; done
git remote rm origin
git remote add origin git://git.code.sf.net/p/flightgear/fgdata flightgear-fgdata
git fetch origin
git branch --track next origin/next
git checkout next
git branch -D master-tmp
 
You should suspect that the torrent is out of date if based on the printed progress you estimate the data download during the fetch will exceed 1GB.
 
 
===The current best alternative===
 
Download with git, but use depth=1 to ignore history


:<code>{{fgdata clone|opt=--depth=1}}</code>
:<code>{{fgdata clone|opt=--depth=1}}</code>


This command gets only the most recent version of the data.
This command gets only the most recent version of the data. As of May 1, 2016 it downloads just over 1GiB
 
[[User:Callahanp|Callahanp]] ([[User talk:Callahanp|talk]]) 11:17, 30 April 2016 (EDT)


[[Category:Development]]
[[Category:Development]]
[[User:Callahanp|Callahanp]] ([[User talk:Callahanp|talk]]) 01:53, 29 April 2016 (EDT)
982

edits

Navigation menu