[ https://issues.apache.org/jira/browse/HADOOP-7106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041857#comment-13041857 ]
Jukka Zitting commented on HADOOP-7106: --------------------------------------- As Todd already tested, the move as planned should work just fine from the perspective of the git.apache.org mirror. The HADOOP-7106-git.sh script looks nice. Todd, I'll sync up with you directly on how to best make this happen for git.apache.org. I suppose we should remove the hadoop-hdfs.git and hadoop-mapreduce.git mirrors once the svn tree has been reorganized. Do you want to also move the resulting shared svn structure one level up from hadoop/common/{trunk,branches,tags} to hadoop/{trunk,branches,tags} (and presumably rename the hadoop-common.git mirror to hadoop.git)? If yes, we'll need to figure out how to best do this without breaking history in the git mirror since our current move-svn-project.sh script can only handle cases where the entire svn structure is moved in a single svn move (like "svn move ^/incubator/project ^/project"). One possible solution (given help from svn admins) could be: {code:sh} $ svn move ^/hadoop ^/hadoop-tmp $ svn move ^/hadoop-tmp/common ^/hadoop $ svn move ^/hadoop-tmp/logos ^/hadoop/logos $ svn move ^/hadoop-tmp/nightly ^/hadoop/nightly $ svn delete ^/hadoop-tmp {code} Though I'm not sure how that would look like to existing svn checkouts. Another alternative is to simply move the trunk, branches and tags separately, and try to patch the git mirror to properly follow such svn history. Todd, you think you could come up with a script to do that. See the existing move-svn-project.sh script [1] for an example of the kind of history patching we now do for more regular svn moves. [1] https://svn.apache.org/repos/infra/infrastructure/trunk/projects/git/bin/move-svn-project.sh > Re-organize hadoop subversion layout > ------------------------------------ > > Key: HADOOP-7106 > URL: https://issues.apache.org/jira/browse/HADOOP-7106 > Project: Hadoop Common > Issue Type: Improvement > Components: build > Reporter: Nigel Daley > Assignee: Nigel Daley > Priority: Blocker > Fix For: 0.22.0 > > Attachments: HADOOP-7106-auth.patch, HADOOP-7106-auth.patch, > HADOOP-7106-auth.patch, HADOOP-7106-git.sh, HADOOP-7106.sh, HADOOP-7106.sh, > HADOOP-7106.sh, HADOOP-7106.sh, HADOOP-7106.sh, HADOOP-7106.sh > > > As discussed on general@ at http://tinyurl.com/4q6lhxm -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira