[Zope-dev] Git conversion with svn-all-fast-export

Marius Gedminas marius at gedmin.as
Mon Feb 11 20:07:43 UTC 2013


On Tue, Feb 05, 2013 at 05:36:38PM +0200, Marius Gedminas wrote:
> One more step at the end:
> 
>  - Remove old code from subversion, once you're sure the conversion is
>    fine:
> 
>      svn rm *
>      echo 'See https://github.com/zopefoundation/zope.dottedname' > MOVED_TO_GITHUB
>      svn add MOVED_TO_GITHUB
>      svn ci -m "Moved to github"

More steps:

- update any buildouts that used to check code out from svn, e.g.
  wineggbuilder::

    svn co svn+ssh://svn.zope.org/repos/main/zope.wineggbuilder/trunk
    cd zope.wineggbuilder
    vim project-list.cfg
      replace
        zope.dottedname,svn://svn.zope.org/repos/main/
      with
        zope.dottedname,git://github.com/zopefoundation/zope.dottedname.git
    svn ci -m "zope.dottedname moved to github"

- update zopetoolkit too::

    svn co svn+ssh://svn.zope.org/repos/main/zopetoolkit/trunk
    cd zopetoolkit
    vim ztk-sources.cfg
      replace
        zope.dottedname = svn ${buildout:svn-zope-org}/zope.dottedname/trunk 
      with
        zope.dottedname = git ${buildout:github}/zope.dottedname
    svn ci -m "zope.dottedname moved to github"

This seems to be it.

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://mail.zope.org/pipermail/zope-dev/attachments/20130211/4a80fced/attachment.sig>


More information about the Zope-Dev mailing list