{"action":"created","issue":{"url":"https://api.github.com/repos/tidalcycles/Dirt/issues/15","labels_url":"https://api.github.com/repos/tidalcycles/Dirt/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/tidalcycles/Dirt/issues/15/comments","events_url":"https://api.github.com/repos/tidalcycles/Dirt/issues/15/events","html_url":"https://github.com/tidalcycles/Dirt/issues/15","id":37759495,"number":15,"title":"include samples via submodule to cut down on initial repo download","user":{"login":"cheapRoc","id":140,"avatar_url":"https://avatars.githubusercontent.com/u/140?v=3","gravatar_id":"","url":"https://api.github.com/users/cheapRoc","html_url":"https://github.com/cheapRoc","followers_url":"https://api.github.com/users/cheapRoc/followers","following_url":"https://api.github.com/users/cheapRoc/following{/other_user}","gists_url":"https://api.github.com/users/cheapRoc/gists{/gist_id}","starred_url":"https://api.github.com/users/cheapRoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheapRoc/subscriptions","organizations_url":"https://api.github.com/users/cheapRoc/orgs","repos_url":"https://api.github.com/users/cheapRoc/repos","events_url":"https://api.github.com/users/cheapRoc/events{/privacy}","received_events_url":"https://api.github.com/users/cheapRoc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2014-07-14T05:09:28Z","updated_at":"2015-11-01T20:10:49Z","closed_at":null,"body":"The initial repo download is pretty big for a git project. Including the samples separately would help keep things organized and provide an optional way to not have to download them if a user BYOS's and doesn't need them. \r\n\r\nYou could do the following.\r\n\r\n1. Create a new repo on github called `Dirt-samples`.  \r\n1. Place the sample library in the repo and push them up to Github.  \r\n1. `git rm -rf samples/` to remove them from the main repo.  \r\n1. Link the new sample repo inside the main `Dirt` repo by using a [git submodule](http://www.git-scm.com/book/en/Git-Tools-Submodules) by running...  \r\n    `git submodule add https://github.com/yaxu/Dirt-samples.git samples`\r\n1. Suggest to new users that they optionally download these by running...  \r\n    `git clone --recursive https://github.com/yaxu/Dirt.git`\r\n1. `echo \"samples/ >> .gitignore` so that it stays clear of the main repo in the future.  \r\n1. If the same `samples/` directory is used, current users won't be affected.  \r\n\r\nHope that gives you an option if you want to. Awesome project!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tidalcycles/Dirt/issues/comments/152859702","html_url":"https://github.com/tidalcycles/Dirt/issues/15#issuecomment-152859702","issue_url":"https://api.github.com/repos/tidalcycles/Dirt/issues/15","id":152859702,"user":{"login":"lennart","id":28988,"avatar_url":"https://avatars.githubusercontent.com/u/28988?v=3","gravatar_id":"","url":"https://api.github.com/users/lennart","html_url":"https://github.com/lennart","followers_url":"https://api.github.com/users/lennart/followers","following_url":"https://api.github.com/users/lennart/following{/other_user}","gists_url":"https://api.github.com/users/lennart/gists{/gist_id}","starred_url":"https://api.github.com/users/lennart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lennart/subscriptions","organizations_url":"https://api.github.com/users/lennart/orgs","repos_url":"https://api.github.com/users/lennart/repos","events_url":"https://api.github.com/users/lennart/events{/privacy}","received_events_url":"https://api.github.com/users/lennart/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T20:10:49Z","updated_at":"2015-11-01T20:10:49Z","body":"master is replaced. currently this only works with the --single-branch option on cloning, since there are other branches (including the oldmaster) that still contain the samples.\r\n\r\nwhich of these are free to delete?\r\n\r\nall remaining have to be rewritten as well…\r\n\r\nI also pruned empty commits"}}