| Both sides previous revisionPrevious revisionNext revision | Previous revision | 
| git-migration [2009/05/06 22:29]  – update a bunch of stuff kelnos | git-migration [2010/10/02 17:26] (current)  – external edit 127.0.0.1 | 
|---|
| ====== Git Migration ====== | ====== Git Migration ====== | 
 |  | 
| We intend to switch to Git at some point in the near future.  This is a collection of links and resources about transitioning from svn to git so I don't forget them. | The git conversion is done.  Most of the stuff below is accurate.  We ended up migrating all our i18n stuff to [[http://transifex.org|Transifex]], and we don't allow direct commit access to the git repositories by translators.  All code committers have ssh accounts on the server that are restricted using git-shell.  For more information, see our [[dev:howto:git|git how-to page]].  | 
|   |   | 
|   | <del>We intend to switch to Git at some point in the near future.</del>  This is a collection of links and resources about transitioning from svn to git so I don't forget them. | 
 |  | 
| ===== Resources ===== | ===== Resources ===== | 
 |  | 
|   * [[http://git.xfce.org/kelnos/xfce-git-migration|Our conversion tools]] |   * [[http://git.xfce.org/admin/xfce-git-migration|Our conversion tools]] | 
|   * [[http://live.gnome.org/GitMigration|GNOME's experiences with migrating to git]] |   * [[http://live.gnome.org/GitMigration|GNOME's experiences with migrating to git]] | 
|   * [[http://git.gnome.org/cgit/gnome-git-migration/|GNOME's scripts and other migration goodies]] |   * [[http://git.gnome.org/cgit/gnome-git-migration/|GNOME's scripts and other migration goodies]] | 
|     * [[http://git.xfce.org/kelnos/xfce-git-migration/tree/Makefile|Makefile]] handles generating this mapping. |     * [[http://git.xfce.org/kelnos/xfce-git-migration/tree/Makefile|Makefile]] handles generating this mapping. | 
|   * SVN -> git conversion script |   * SVN -> git conversion script | 
|     * See [[http://git.xfce.org/kelnos/xfce-git-migration/tree/svn2git.sh|here]].  So far it's working (it's about 2/3 of the way through the main Xfce repository, haven't gotten to goodies yet), but needs a lot more testing, and the generated repos haven't been verified yet  --- //[[kelnos@xfce.org|Brian Tarricone]] 2009/05/06 20:07// |     * See [[http://git.xfce.org/kelnos/xfce-git-migration/tree/svn2git.sh|here]].  So far it's working <del>(it's about 2/3 of the way through the main Xfce repository, haven't gotten to goodies yet), but needs a lot more testing, and the generated repos haven't been verified yet</del>  --- //[[kelnos@xfce.org|Brian Tarricone]] 2009/05/06 20:07//  | 
|   |   * Generated git repo verification script.  | 
|   |     * See [[http://git.xfce.org/kelnos/xfce-git-migration/tree/compare-repos.sh|here]].  It seems to work well so far, but still needs a little more work --- //[[kelnos@xfce.org|Brian Tarricone]] 2009/05/09 00:43// | 
 |  | 
| ===== Stuff In Progress ===== | ===== Stuff In Progress ===== | 
 |  | 
|   * Generated git repo verification script.  |   * pre-commit permissions-handling hooks (Brian)  | 
|     * I [[http://git.xfce.org/kelnos/xfce-git-migration/tree/compare-repos.sh|have one]] that I stole from GNOME and modified a bit, but it doesn't verify everything (currently just master and xfce-4.[0246] branches) and hasn't been tested at all --- //[[kelnos@xfce.org|Brian Tarricone]] 2009/05/06 20:22// |   * commit mail hook (Jannis)  | 
|   |   * i18n checkout tool ([[http://mocha.xfce.org/~kelnos/testing/xdt-i18n|untested version]]) | 
 |  | 
| ===== Missing Stuff ===== | ===== Missing Stuff ===== | 
 |  | 
|   * pre-commit permissions-handling hooks (Brian has some ideas about this)  |   * I18n stats pulled from git (Stephan, I presume, will do this) | 
|   * commit mail hook (Jannis will take care of this) |  | 
 |  | 
| ===== Open Questions (please discuss!) ===== | ===== Open Questions (please discuss!) ===== |