FlightGear Git: Difference between revisions

m
no edit summary
(→‎Quick Start: OpenThreads-Issue: use branch head/next instead of maint)
mNo edit summary
Line 1: Line 1:
The [[FlightGear]] project has changed version control system from CVS to [http://git-scm.com Git] due to a hardware failure on the CVS servers (see the "Motivation" section).
In May 2010, after a hardware failure on the CVS servers, the [[FlightGear]] project changed version control system from [[CVS]] to '''Git'''. The Git repositories are located at [http://gitorious.org/fg Gitorious].  


Windows users may want to check out [http://code.google.com/p/tortoisegit/ tortoisegit] which provides a convenient graphical user interface on top of the features provided by Git, and works for both 32 bit and 64 bit Windows: http://code.google.com/p/tortoisegit/downloads/list
Due to the recent switch, we are currently doing our best on providing manuals for obtaining FlightGear through Git. The following articles are work in progress as of June 1st:
* '''Mac OS X:''' [[FlightGear Git on Mac OS X]]
* '''Windows:''' [[FlightGear Git on Windows]]


Mac OS X users may want to take a look at [[GIT (CVS) - Version install of FlightGear on OSX]] which is work in progress as of 05/2010.
==Quick start==
 
==Quick Start==
The Git repositories are located at http://gitorious.org/fg.
To check out the maintenance branch of [[SimGear]]:
To check out the maintenance branch of [[SimGear]]:


Line 13: Line 12:
  git checkout -b maint origin/maint
  git checkout -b maint origin/maint


Repeat for [[FlightGear]]:
Repeat that for FlightGear, with a slightly different command:


  git clone git://gitorious.org/fg/flightgear.git
  git clone git://gitorious.org/fg/flightgear.git
Line 19: Line 18:
  git checkout -b maint origin/maint
  git checkout -b maint origin/maint


The base package is available at http://gitorious.org/fg/fgdata
The base package is available at http://gitorious.org/fg/fgdata, which we clone:


  git clone git://gitorious.org/fg/fgdata
  git clone git://gitorious.org/fg/fgdata
Line 32: Line 31:
* Much better support for everyday tasks like searching the project history for changes, viewing changes, bisecting the project history to find the original source of a bug.
* Much better support for everyday tasks like searching the project history for changes, viewing changes, bisecting the project history to find the original source of a bug.


Also, the CVS servers had a hardware failure on May 2010, leading to FlightGear's change from CVS to Git.
Also, the CVS servers had a hardware failure on May 2010, speeding up FlightGear's change to Git.


== FlightGear and Git ==
== FlightGear and Git ==
Line 51: Line 50:
[http://www.kernel.org/pub/software/scm/git/docs/howto/maintain-git.txt This description] is very technical; you will surely have achieved git-fu if completely understand it. However, the idea of maintaining several branches of different stability is common in collaborative software projects.
[http://www.kernel.org/pub/software/scm/git/docs/howto/maintain-git.txt This description] is very technical; you will surely have achieved git-fu if completely understand it. However, the idea of maintaining several branches of different stability is common in collaborative software projects.


== Git Tutorials and Resources ==
==External links==
=== Git tutorials and resources ===
* Git [http://git-scm.com/documentation documentation and tutorials]
* Git [http://git-scm.com/documentation documentation and tutorials]
* Git as a [http://tomayko.com/topics/git way of life].
* Git as a [http://tomayko.com/topics/git way of life].