Development workflow: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Started with my tale.)
 
No edit summary
Line 1: Line 1:
{{WIP|[[User:Hcc23|Hcc23]] is working on this. Find him in the FG IRC channel to discuss this page.}}
This page outlines some ''first steps'' on how to do (code) development for [[FlightGear]].
This page outlines some ''first steps'' on how to do (code) development for [[FlightGear]].


Line 17: Line 19:


'''NOTE:''' This is essentially my tale. AndersG guided me through the process and I wanted to record/report it somewhere. [[User:Hcc23|Hcc23]] 13:59, 19 May 2011 (EDT)
'''NOTE:''' This is essentially my tale. AndersG guided me through the process and I wanted to record/report it somewhere. [[User:Hcc23|Hcc23]] 13:59, 19 May 2011 (EDT)
# Create (or login to) a Gitorious account at https://www.gitorious.org/login
## If you have a Google account (e.g. Gmail), you can use that to login:
## Click ''Or log in with OpenID''
## Enter <tt>https://profiles.google.com/yourGoogleLoginName</tt>, replacing <tt>yourGoogleLoginName</tt> with your Google login (i.e. whatever you have in front of @googlemail.com or @gmail.com).
[[File:Gitorious_cloning_button.png|thumb|400px|The '''Clone repository''' button on https://gitorious.org/fg copies (clones) a Gitorious repository into ones private Gitorious account.]]

Revision as of 18:19, 19 May 2011

WIP.png Work in progress
This article or section will be worked on in the upcoming hours or days.
Note: Hcc23 is working on this. Find him in the FG IRC channel to discuss this page.
See history for the latest developments.

This page outlines some first steps on how to do (code) development for FlightGear.

The Big Picture

The FlightGear sources are hosted at Gitorious: https://gitorious.org/fg .

As a safety precaution, the commit access to those repositories is not public and hence development work has to be somewhat staged.

Once this staging is done, there are two major possible ways for the done work to find its way back into the official sources:

  1. A person with commit access OK's the work and commits it, using her or his account.
  2. A merge request has been filed and somebody with the proper access performs the merge.

Fortunately the staging necessary for both approaches is essentially the same

Using a Personal Gitorious Repository

NOTE: This is essentially my tale. AndersG guided me through the process and I wanted to record/report it somewhere. Hcc23 13:59, 19 May 2011 (EDT)

  1. Create (or login to) a Gitorious account at https://www.gitorious.org/login
    1. If you have a Google account (e.g. Gmail), you can use that to login:
    2. Click Or log in with OpenID
    3. Enter https://profiles.google.com/yourGoogleLoginName, replacing yourGoogleLoginName with your Google login (i.e. whatever you have in front of @googlemail.com or @gmail.com).
The Clone repository button on https://gitorious.org/fg copies (clones) a Gitorious repository into ones private Gitorious account.