{"thread":{"id":"19907","subject":"git-svn with the asterisk svn repository","startedAt":"2009-06-23T07:55:00Z","lastAt":"2009-06-23T07:55:00Z","messageCount":1,"participants":["Tzafrir Cohen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"116809","messageId":"20090623075500.GR3311@xorcom.com","threadId":"19907","inReplyTo":null,"subject":"git-svn with the asterisk svn repository","fromName":"Tzafrir Cohen","fromEmail":"tzafrir.cohen@xorcom.com","sentAt":"2009-06-23T07:55:00Z","receivedAt":"2009-06-23T07:55:00Z","isPatch":false,"sender":{"key":"tzafrir.cohen@xorcom.com","avatar":null},"body":"Hi\n\nIt took me quite a while to figure out how to use git-svn with the\nrepositories of the Asterisk project (now: http://svn.asterisk.org/svn/\n). They have an extensive usage of svn:externals , which is changed from\nbranch to branch (mostly: \"tagged\" on a release tag) and thus using\nsubmodules didn't seem useful.\n\nHere are some notes of my workarounds.\n\nGenerally I tried to keep my the branches clean of unnecessary changes.\nThey need to build correctly without any need for extra changes. And for\nthe sake of clarity: even the gitignore file shouldn't be part of a\nchange. I want to be able to checkout a branch and just use it. Which\nmeans that the gitignore file had to be on the gitignore file as well\nand not checked in.\n\nBTW: I also included a simple script to update the git tags from the SVN\n\"tags/*\" branches (any such branch that matches a specific pattern and\nfor which a tag doesn't exist).\n\nI also worked around the need of the svn:externals . Most of them were\nfor a common part of the build system called menuselect. I reimplemented\nit in a single perl script and a very simple makefile (which are easy to\ncopy around). One or two other svn:exterernals don't seen to change\nmuch, and I just used symlinks instead.\n\nSimple documentation and scripts are available at\nhttp://git.tzafrir.org.il/?p=asterisk-tools.git;a=tree\n\n(Please CC replies if you actually want me to read them, as I almost\ndon't read this list)\n\nP.S.: Anybody had luck with git-svn and HTTPS certificates \nauthentication recently? I never tried to use git-svn to commit\nanything.\n\n-- \n               Tzafrir Cohen\nicq#16849755              jabber:tzafrir.cohen@xorcom.com\n+972-50-7952406           mailto:tzafrir.cohen@xorcom.com\nhttp://www.xorcom.com  iax:guest@local.xorcom.com/tzafrir\n"}]}