FlightGear Git: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(→‎Repositories and branches: The note is highly redundant with the main text. And it detracts from the key content of the section.)
(→‎Repositories and branches: Switched to the repository specific templates of Category:Repository link templates rather than using {{repo link}} directly.)
Line 19: Line 19:
The FlightGear project is split up in various repositories. The most important ones are listed below. Each repository contains various branches, of which one the most important ones are listed here.
The FlightGear project is split up in various repositories. The most important ones are listed below. Each repository contains various branches, of which one the most important ones are listed here.


* {{repo link|site=sf|repo=simgear|text=simgear}}: the simulation engine that FlightGear uses.
* {{simgear source|text=simgear}}: the simulation engine that FlightGear uses.
** ''next'': current tip of new development. This branch should always compile and run, but various things could be broken.
** ''next'': current tip of new development. This branch should always compile and run, but various things could be broken.
** ''release/*'': containing former and ''(if there is already defined one)'' upcoming releases.
** ''release/*'': containing former and ''(if there is already defined one)'' upcoming releases.
* {{repo link|site=sf|repo=flightgear|text=flightgear}}: FlightGear itself.
* {{flightgear source|text=flightgear}}: FlightGear itself.
** ''next'': current tip of new development. This branch should always compile and run, but various things could be broken.
** ''next'': current tip of new development. This branch should always compile and run, but various things could be broken.
** ''release/*'': containing former and ''(if there is already defined one)'' upcoming releases.
** ''release/*'': containing former and ''(if there is already defined one)'' upcoming releases.
* {{repo link|site=sf|repo=fgdata|text=fgdata}}: all data (default aircraft, dialogs, sounds) used by FlightGear.
* {{fgdata source|text=fgdata}}: all data (default aircraft, dialogs, sounds) used by FlightGear.
** ''next'': current branch that is used with the ''next'' branch of the code.
** ''next'': current branch that is used with the ''next'' branch of the code.
** ''release/*'':  used with the ''release'' branch of the code.
** ''release/*'':  used with the ''release'' branch of the code.


Additionally there is a SVN repository called [[FGAddon]] that holds all additional aircraft, not present in the Git fgdata repository:
Additionally there is a SVN repository called [[FGAddon]] that holds all additional aircraft, not present in the Git fgdata repository:
* {{repo link|site=sf|repo=fgaddon|type=svn web|text=fgaddon}}: all additional (official) aircraft.
* {{fgaddon source|text=fgaddon}}: all additional (official) aircraft.


== Related content ==
== Related content ==

Revision as of 13:50, 14 March 2016

Git is a version control system, used by the FlightGear project to store all of the files required to build and run FlightGear. This includes all the programs, the data (e.g. textures, sounds), supporting tools, etc. Git tracks updates to every file, as developers from around the world work together concurrently to create new versions. The sole exception is the official FGAddon aircraft repository that is Subverion rather than git based.

While new FlightGear features and additions are in development, they are available from Git before they are available in the standard release version. Using Git allows users to use the newest possible version of FlightGear from the latest source files, to experiment with new aircraft or other features. However, it is not a beginner's tool. Using Git can expose the user to unstable features that show ugly error messages, or crash the computer.

As of March 2015, the Git repositories are located at SourceForge and a mirror is hosted at the Mapserver.

Please click one of the links in the menu on the right

Motivation

In May 2010, after a hardware failure on the CVS servers, the FlightGear project changed its version control system from CVS to Git.

Much has been written on the advantages of Git over CVS. For the FlightGear project, some advantages are:

  • Much better support for branches and merging branches. This is especially important for creating bug-fix releases for major releases while still allowing work on the next major release to continue. It is also very nice for a developer's personal work-flow.
  • Easier path for contributors to submit changes and developers to integrate them.
  • 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.

Repositories and branches

The FlightGear project is split up in various repositories. The most important ones are listed below. Each repository contains various branches, of which one the most important ones are listed here.

  • simgear: the simulation engine that FlightGear uses.
    • next: current tip of new development. This branch should always compile and run, but various things could be broken.
    • release/*: containing former and (if there is already defined one) upcoming releases.
  • flightgear: FlightGear itself.
    • next: current tip of new development. This branch should always compile and run, but various things could be broken.
    • release/*: containing former and (if there is already defined one) upcoming releases.
  • fgdata: all data (default aircraft, dialogs, sounds) used by FlightGear.
    • next: current branch that is used with the next branch of the code.
    • release/*: used with the release branch of the code.

Additionally there is a SVN repository called FGAddon that holds all additional aircraft, not present in the Git fgdata repository:

  • fgaddon: all additional (official) aircraft.

Related content