{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/che/issues/8516","repository_url":"https://api.github.com/repos/eclipse/che","labels_url":"https://api.github.com/repos/eclipse/che/issues/8516/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/che/issues/8516/comments","events_url":"https://api.github.com/repos/eclipse/che/issues/8516/events","html_url":"https://github.com/eclipse/che/issues/8516","id":292736148,"number":8516,"title":"Parameters for Git clone with submodules not obvious and/or do not work","user":{"login":"andrew-mclachlan","id":1851406,"avatar_url":"https://avatars1.githubusercontent.com/u/1851406?v=4","gravatar_id":"","url":"https://api.github.com/users/andrew-mclachlan","html_url":"https://github.com/andrew-mclachlan","followers_url":"https://api.github.com/users/andrew-mclachlan/followers","following_url":"https://api.github.com/users/andrew-mclachlan/following{/other_user}","gists_url":"https://api.github.com/users/andrew-mclachlan/gists{/gist_id}","starred_url":"https://api.github.com/users/andrew-mclachlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrew-mclachlan/subscriptions","organizations_url":"https://api.github.com/users/andrew-mclachlan/orgs","repos_url":"https://api.github.com/users/andrew-mclachlan/repos","events_url":"https://api.github.com/users/andrew-mclachlan/events{/privacy}","received_events_url":"https://api.github.com/users/andrew-mclachlan/received_events","type":"User","site_admin":false},"labels":[{"id":192367931,"url":"https://api.github.com/repos/eclipse/che/labels/kind/question","name":"kind/question","color":"cc317c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-30T10:48:15Z","updated_at":"2018-03-26T07:50:15Z","closed_at":null,"author_association":"NONE","body":"### Description\r\n\r\nI am trying to add a sample that clones from a Git repository that has submodules. I am adding\r\n``\r\n \"parameters\": {\r\n    \"recursive\": \"true\"\r\n }\r\n``\r\nto the template because that is what the code in Che seems to be checking for but it does not work.\r\n\r\nThe clone starts to clone but does not seem to use --recursive or ``git submodule init && git submodule update``.\r\n\r\n### Reproduction Steps\r\n\r\nTo test use the samples ``https://github.com/eclipse/che/blob/master/ide/che-core-ide-templates/src/main/resources/samples.json`` and try to clone a Git repo with submodules.\r\n\r\n**OS and version:**    \r\n\r\nmacOS."},"comment":{"url":"https://api.github.com/repos/eclipse/che/issues/comments/376076414","html_url":"https://github.com/eclipse/che/issues/8516#issuecomment-376076414","issue_url":"https://api.github.com/repos/eclipse/che/issues/8516","id":376076414,"user":{"login":"eivantsov","id":5337267,"avatar_url":"https://avatars2.githubusercontent.com/u/5337267?v=4","gravatar_id":"","url":"https://api.github.com/users/eivantsov","html_url":"https://github.com/eivantsov","followers_url":"https://api.github.com/users/eivantsov/followers","following_url":"https://api.github.com/users/eivantsov/following{/other_user}","gists_url":"https://api.github.com/users/eivantsov/gists{/gist_id}","starred_url":"https://api.github.com/users/eivantsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eivantsov/subscriptions","organizations_url":"https://api.github.com/users/eivantsov/orgs","repos_url":"https://api.github.com/users/eivantsov/repos","events_url":"https://api.github.com/users/eivantsov/events{/privacy}","received_events_url":"https://api.github.com/users/eivantsov/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T07:50:15Z","updated_at":"2018-03-26T07:50:15Z","author_association":"CONTRIBUTOR","body":"@andrew-mclachlan this param isn't supported.\r\n\r\nYou may use `\"keepDir\":\"module\"` in params though"}}
{"actor":{"display_login":"eivantsov"}}