{"action":"created","issue":{"url":"https://api.github.com/repos/salilab/imp/issues/876","labels_url":"https://api.github.com/repos/salilab/imp/issues/876/labels{/name}","comments_url":"https://api.github.com/repos/salilab/imp/issues/876/comments","events_url":"https://api.github.com/repos/salilab/imp/issues/876/events","html_url":"https://github.com/salilab/imp/issues/876","id":59994225,"number":876,"title":"Consider using git subtree rather than git submodule","user":{"login":"benmwebb","id":2257210,"avatar_url":"https://avatars.githubusercontent.com/u/2257210?v=3","gravatar_id":"","url":"https://api.github.com/users/benmwebb","html_url":"https://github.com/benmwebb","followers_url":"https://api.github.com/users/benmwebb/followers","following_url":"https://api.github.com/users/benmwebb/following{/other_user}","gists_url":"https://api.github.com/users/benmwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/benmwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benmwebb/subscriptions","organizations_url":"https://api.github.com/users/benmwebb/orgs","repos_url":"https://api.github.com/users/benmwebb/repos","events_url":"https://api.github.com/users/benmwebb/events{/privacy}","received_events_url":"https://api.github.com/users/benmwebb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-05T18:30:37Z","updated_at":"2015-03-12T18:46:18Z","closed_at":null,"body":"git submodule causes a couple of problems for us:\r\n\r\n - switching between master and develop branches can confuse git if submodules have moved between the two branches\r\n - github's tarballs for releases do not include contents of submodules (making them useless)\r\n\r\ngit subtree may be one way to avoid these problems - hopefully without introducing new ones."},"comment":{"url":"https://api.github.com/repos/salilab/imp/issues/comments/78564071","html_url":"https://github.com/salilab/imp/issues/876#issuecomment-78564071","issue_url":"https://api.github.com/repos/salilab/imp/issues/876","id":78564071,"user":{"login":"benmwebb","id":2257210,"avatar_url":"https://avatars.githubusercontent.com/u/2257210?v=3","gravatar_id":"","url":"https://api.github.com/users/benmwebb","html_url":"https://github.com/benmwebb","followers_url":"https://api.github.com/users/benmwebb/followers","following_url":"https://api.github.com/users/benmwebb/following{/other_user}","gists_url":"https://api.github.com/users/benmwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/benmwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benmwebb/subscriptions","organizations_url":"https://api.github.com/users/benmwebb/orgs","repos_url":"https://api.github.com/users/benmwebb/repos","events_url":"https://api.github.com/users/benmwebb/events{/privacy}","received_events_url":"https://api.github.com/users/benmwebb/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T18:46:18Z","updated_at":"2015-03-12T18:46:18Z","body":"Another submodule problem: since we use relative paths in `.gitmodules`, forks don't work (unless you change the paths or also fork the submodule repos). We can't use full paths in `.gitmodules` since that would force a protocol (git vs. https).\r\n\r\nsubtrees seem to have three downsides:\r\n - git commands to pull updates are more complicated\r\n - since the code is included into the repository, the repository size increases\r\n - need to be a bit more careful that repository commits and subtree commits do not overlap "}}