{"thread":{"id":"15106","subject":"managing git submodules with git-svn","startedAt":"2008-08-20T09:35:36Z","lastAt":"2008-08-20T12:49:04Z","messageCount":2,"participants":["Rick Moynihan","Andreas Ericsson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"87815","messageId":"48ABE568.80106@calicojack.co.uk","threadId":"15106","inReplyTo":null,"subject":"managing git submodules with git-svn","fromName":"Rick Moynihan","fromEmail":"rick@calicojack.co.uk","sentAt":"2008-08-20T09:35:36Z","receivedAt":"2008-08-20T09:35:36Z","isPatch":false,"sender":{"key":"rick@calicojack.co.uk","avatar":null},"body":"Hi all,\n\nWe are currently using a mixture of git and svn to manage a project with \nan array of subprojects.  We use git primarily for its excellent \nbranching and merging support, and as a means of more effectively \nmanaging commits etc...  We're not yet ready to make the leap entirely \nto git and find subversion still has a role, primarily due to some 3rd \nparty upstream (e.g. Apache) projects using svn.  SVN is also better \nsupported by some of our tools/systems.\n\nOur project is made up of a number of subprojects, and I'd like to use \ngit submodules to easily track and lock changes in component versions. \ngit submodules appear to do exactly this, versioning the meta-repo with \neach subproject locked at a specific commit/SHA-1.\n\nMy question is; is there anyway to easily do this but have git use \ngit-svn manage the submodule?  I think this makes sense and suspect it \nwould be possible to do, though it looks like it's currently not a \nfeature.  Is this a feature anyone else would find useful?\n\n\nThanks again,\n\nR.\n"},{"id":"87817","messageId":"48AC12C0.1090303@op5.se","threadId":"15106","inReplyTo":"48ABE568.80106@calicojack.co.uk","subject":"Re: managing git submodules with git-svn","fromName":"Andreas Ericsson","fromEmail":"ae@op5.se","sentAt":"2008-08-20T12:49:04Z","receivedAt":"2008-08-20T12:49:04Z","isPatch":false,"sender":{"key":"ae@op5.se","avatar":"https://gravatar.com/avatar/426e89595c75a8f5252dd0c989e5fabe5bcac616e68557427ad9aef6b0ca342a?d=mp&s=160"},"body":"Rick Moynihan wrote:\n> Hi all,\n> \n> We are currently using a mixture of git and svn to manage a project with \n> an array of subprojects.  We use git primarily for its excellent \n> branching and merging support, and as a means of more effectively \n> managing commits etc...  We're not yet ready to make the leap entirely \n> to git and find subversion still has a role, primarily due to some 3rd \n> party upstream (e.g. Apache) projects using svn.  SVN is also better \n> supported by some of our tools/systems.\n> \n> Our project is made up of a number of subprojects, and I'd like to use \n> git submodules to easily track and lock changes in component versions. \n> git submodules appear to do exactly this, versioning the meta-repo with \n> each subproject locked at a specific commit/SHA-1.\n> \n> My question is; is there anyway to easily do this but have git use \n> git-svn manage the submodule?  I think this makes sense and suspect it \n> would be possible to do, though it looks like it's currently not a \n> feature.  Is this a feature anyone else would find useful?\n> \n\nOff the top of my head, just point your submodule to the incremental\ngit-svn import of the upstream repository and you're good to go.\n\n-- \nAndreas Ericsson                   andreas.ericsson@op5.se\nOP5 AB                             www.op5.se\nTel: +46 8-230225                  Fax: +46 8-230231\n"}]}