{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/5922","labels_url":"https://api.github.com/repos/openshift/origin/issues/5922/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/5922/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/5922/events","html_url":"https://github.com/openshift/origin/pull/5922","id":117211943,"number":5922,"title":"Implement submodule init/update in s2i","user":{"login":"paralin","id":534887,"avatar_url":"https://avatars.githubusercontent.com/u/534887?v=3","gravatar_id":"","url":"https://api.github.com/users/paralin","html_url":"https://github.com/paralin","followers_url":"https://api.github.com/users/paralin/followers","following_url":"https://api.github.com/users/paralin/following{/other_user}","gists_url":"https://api.github.com/users/paralin/gists{/gist_id}","starred_url":"https://api.github.com/users/paralin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paralin/subscriptions","organizations_url":"https://api.github.com/users/paralin/orgs","repos_url":"https://api.github.com/users/paralin/repos","events_url":"https://api.github.com/users/paralin/events{/privacy}","received_events_url":"https://api.github.com/users/paralin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-11-16T20:35:15Z","updated_at":"2016-01-25T15:52:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/5922","html_url":"https://github.com/openshift/origin/pull/5922","diff_url":"https://github.com/openshift/origin/pull/5922.diff","patch_url":"https://github.com/openshift/origin/pull/5922.patch"},"body":"This adds support for checking out the correct submodules and submodule versions by removing recursive clone in favor of post-checkout submodule init and update.\r\n\r\nThe git equivalent before:\r\n\r\n```\r\ngit clone --recursive repo\r\ngit checkout branch\r\n```\r\n\r\nThis would leave the submodules at the \"master\" branch version.\r\n\r\nThe git equivalent with this patch:\r\n\r\n```\r\ngit clone repo\r\ngit checkout branch\r\ngit submodule init\r\ngit submodule update\r\n```\r\n\r\nThis ensures the correct submodules and submodule versions are checked out.\r\n\r\nThis patch requires openshift/source-to-image#353. The associated issue is #5910.\r\n\r\nNote that this patch and associated tests will fail until the required source-to-image patch is merged and the version pin updated in this repo."},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/174551112","html_url":"https://github.com/openshift/origin/pull/5922#issuecomment-174551112","issue_url":"https://api.github.com/repos/openshift/origin/issues/5922","id":174551112,"user":{"login":"paralin","id":534887,"avatar_url":"https://avatars.githubusercontent.com/u/534887?v=3","gravatar_id":"","url":"https://api.github.com/users/paralin","html_url":"https://github.com/paralin","followers_url":"https://api.github.com/users/paralin/followers","following_url":"https://api.github.com/users/paralin/following{/other_user}","gists_url":"https://api.github.com/users/paralin/gists{/gist_id}","starred_url":"https://api.github.com/users/paralin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paralin/subscriptions","organizations_url":"https://api.github.com/users/paralin/orgs","repos_url":"https://api.github.com/users/paralin/repos","events_url":"https://api.github.com/users/paralin/events{/privacy}","received_events_url":"https://api.github.com/users/paralin/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T15:52:18Z","updated_at":"2016-01-25T15:52:18Z","body":"Hmm... I need to add SubmoduleUpdate to GitClient. I know GitClient is defined in `pkg/build/builder/common.go`, but I can't find the implementation of the functions. How is this structured?"}}