FlightGear Git: Difference between revisions

Jump to navigation Jump to search
1,403 bytes removed ,  4 June 2010
no edit summary
mNo edit summary
No edit summary
Line 4: Line 4:
* '''Mac OS X:''' [[FlightGear Git on Mac OS X]]
* '''Mac OS X:''' [[FlightGear Git on Mac OS X]]
* '''Windows:''' [[FlightGear Git on Windows]]
* '''Windows:''' [[FlightGear Git on Windows]]
==Quick start==
To check out the maintenance branch of [[SimGear]]:
git clone git://gitorious.org/fg/simgear.git
cd simgear
git checkout -b maint origin/maint
Repeat that for FlightGear, with a slightly different command:
git clone git://gitorious.org/fg/flightgear.git
cd flightgear
git checkout -b maint origin/maint
The base package is available at http://gitorious.org/fg/fgdata, which we clone:
git clone git://gitorious.org/fg/fgdata
'''According to IRC chat:'''<br>
If you receive errors linking against "OpenThreads" leave your local git copy branch to "next". Don't checkout branches "maint" for neither repository.


== Motivation ==
== Motivation ==
Line 31: Line 11:
* 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, speeding up FlightGear's change to Git.
Also, as noted before, the CVS servers had a hardware failure on May 2010, speeding up FlightGear's change to Git.


== FlightGear and Git ==
== Repositories ==
For historical reasons there continue to be separate repositories for Simgear and Flightgear. There are 3 interesting branches in the repositories. Listed in order from least stable to most:
For historical reasons there continue to be separate repositories for Simgear and Flightgear. There are 3 interesting branches in the repositories. Listed in order from least stable to most:
* <tt>next</tt> The current tip of new development. This branch should always compile and run, but various things could be broken.
* <tt>next</tt> The current tip of new development. This branch should always compile and run, but various things could be broken.
* <tt>master</tt> The tip of stable, tested new features. If we were to make a new release today, we would start from the tip of this branch. New features that have been "cooking" in the <tt>next</tt> branch for a few days or weeks will be merged here.
* <tt>master</tt> The tip of stable, tested new features. If we were to make a new release today, we would start from the tip of this branch. New features that have been "cooking" in the <tt>next</tt> branch for a few days or weeks will be merged here.
* <tt>maint</tt> Bug fixes for the most recently released Flightgear. When a release is made from <tt>master</tt>, this branch is reset to it.
* <tt>maint</tt> Bug fixes for the most recently released Flightgear. When a release is made from <tt>master</tt>, this branch is reset to it.
<!--For now, almost every commit in <tt>next</tt>, <tt>master</tt> and <tt>maint</tt> are identical to commits in the CVS repositories, and the contents of <tt>next</tt> should be identical to those of CVS HEAD. You can verify this:
git diff origin/cvs..origin/next
should return nothing. The only commits that don't exist in CVS are those that set the version numbers of the maintenance releases because the maintenance releases don't exist as such in CVS.
Even though the contents of <tt>next</tt> are the same as CVS HEAD, its history is different. It includes many merges from <tt>maint</tt> and branches based on <tt>maint</tt>. This makes it easier to move new work from <tt>next</tt> back to <tt>master</tt> and <tt>maint</tt> after it has had time to cook. --!>


This arrangement follows the scheme used by the Git maintainers.
This arrangement follows the scheme used by the Git maintainers.
173

edits

Navigation menu