ã¯åºæ¬çã«ã¯åºæ¥ãªãããã§ãã
ãªããæã®ããã¥ã¢ã«ã«ã¯ããããããã®ãããã®ã ããã©ãç¾å¨ã¯git svn show-externalsãæ®ã£ã¦ããã ãã§ã確èªã¯ã§ãããã®ã®èªåã§ã¬ã¬ã¼ã£ã¨åã£ã¦æ¥ãã¦ãsubmoduleã«ãªããªãã¦ã®ã¯å¤¢ç©èªãªã®ã§ãã
# å®ã¯åºæ¥ããããã®ãããããªãããã©ãè¯ãåãããªãã£ããã
# Git使ã£ã¦ãã人ã®å¤§åãSubversionã使ããã®ã§éè¦ããªããããã
# æ°äººé¡ã«ã¯å³ããç¾å®ã ã
ã¨ãããã¨ã§ãããã調ã¹ã¦ããã®ã§ãããçµè«ã¨ãã¦externalãªé¨åã«ç·¨éãå¿ è¦ãªãå ´åã¯ãåå¥ã«git svn cloneãã¦ãã¦ã.gitignoreã«å ãã¦ããã®ãè¯ãã¿ããã
ã§ãRailsã®ããã¸ã§ã¯ããªããã§ãã©ã°ã¤ã³ã大éã«externalã«ãªã£ã¦ããå ´åã¯é¢åã ãï¼
ã¨ãããã¨ãèããã®ã¯åã ãã§ã¯ãªãããã§ã
http://github.com/garbas/garbasgit.svnexternals/tree/master
ã«ãè¶
便å©ãªã¹ã¯ãªãã(宿æµPythonã ãã©ãï¼)ãå
¬éãã¦ãã ãã£ã¦ããæ¹ãããã£ãããã®ã§é æ
®ãªã使ããã¦ããã ãã¾ãããã
Pythonãæ®æ®µä½¿ã£ã¦ããªã人ã«ã¯ç°å¢ã®æ´åãã¾ãé¢åãããã®ã§ããããã¾ããã¦ä¾ãã°MacãªãMacPortsã使ã£ã¦Python 2.4ã¨py-lxmlãã¤ã³ã¹ãã¼ã«ãã¦ãã ããã
ã©ããã¦ãææ
¢ã§ããªãã²ã¨ã¯å¥½ããªè¨èªã§æ¸ãç´ãã¾ãããã
ãã£ã¦ãããã¨ã¯ãããªã«é£ãããªãã¨æãã¾ããXMLã®å¦çãåºæ¥ãè¨èªãªãä½è£ãï¼å¤å
ç°å¢ãæ´ã£ããªãã°ãã¼ã«ã«ã«æã£ã¦ãããã®ã¹ã¯ãªããããsvn:externalã®åå¾ãå¿ è¦ãªGitãªãã¸ããªã§èµ°ãããã ãã§ãã
æå¾ã«.gitignoreã«git svn show-externalsã®çµæããã³ããã§ãã£ã¬ã¯ããªã追å ãã¦ããã¾ãã
ããããã§å¿«é©ãªGitç°å¢ã«ãå¤ä»£ã®éºç£ã§ããSubversionã®ãªãã¸ããªããã£ã¦ãããã¨ãã§ãã¾ããã
ããã¯æè¬çºæä½æ¥ã¨ãããã¤ã ã¨å§ããããã£ã¦ã¾ããããã¡ããå§ãªã©ãã¾ãããã