Changes between Version 19 and Version 20 of UsingGitToMaintainGDALWorkflow


Ignore:
Timestamp:
Dec 19, 2011, 3:55:24 AM (12 years ago)
Author:
Mateusz Łoskot
Comment:

Added pygit-svn-mirror option

Legend:

Unmodified
Added
Removed
Modified
  • UsingGitToMaintainGDALWorkflow

    v19 v20  
    3333$ svn2git --rebase
    3434$ git push origin master
     35}}}
     36
     37== Git repository setup using pygit-svn-mirror ==
     38
     39[https://github.com/mloskot/pygit-svn-mirror pygit-svn-mirror] is Python port of Ruby tool [https://github.com/alloy/git-svn-mirror/ git-svn-mirror]. It allows to create and maintain mirror of SVN repository through Git bare repository:
     40
     41Creating mirror of Subversion repository of PROJ.4 project at GitHub involves the following commands:
     42
     43{{{
     44$ mkdir /path/to/proj4/mirror
     45$ cd /path/to/proj4/mirror
     46$ git-svn-mirror.py init --from=https://svn.osgeo.org/metacrs/proj/ --to=git@github.com:<USRNAME>/proj.4.git
     47}}}
     48
     49Then, update (synchronise) the mirror from its workbench directory:
     50
     51{{{
     52cd /path/to/proj4/mirror
     53git-svn-mirror.py update
     54}}}
     55
     56or from any folder but with workbench location pointed explicitly:
     57
     58{{{
     59git-svn-mirror.py update -w /path/to/proj4/mirror
    3560}}}
    3661