FlightGear Git: splitting FGData: Difference between revisions

Jump to navigation Jump to search
m
(Questions)
Line 19: Line 19:


== Step 1: Split aircraft into seperate repositories ==
== Step 1: Split aircraft into seperate repositories ==
* You need to have up-to-date fgdata to do this.  
Aircraft are split into "private" repositories, under the [https://gitorious.org/flightgear-aircraft FlightGear Aircraft project]. Repositories for all aircraft in current fgdata have been created as of 17 October. Repository names equal directory-names (with the exceptions of dots (.) and capitals (ABC), as those are not supported by Gitorious.
* Expect one aircraft to take 5-30 minutes (depending on the filesizes, number of commits (date of last commit?) etc.).
* You need access to the FlightGear Aircraft project. However, for testing you can always push to your own repository.


There are two workflows that both do the trick:
There are two workflows that both do the trick:
Line 46: Line 44:
  git reflog expire --expire=now --all
  git reflog expire --expire=now --all
  git gc --aggressive --prune=now
  git gc --aggressive --prune=now
Then all aircraft should be pushed to their new repositories. A script will take care of that.


== Step 2: Remove all aircraft from fgdata ==
== Step 2: Remove all aircraft from fgdata ==

Navigation menu