{"action":"created","issue":{"url":"https://api.github.com/repos/github/linguist/issues/3229","repository_url":"https://api.github.com/repos/github/linguist","labels_url":"https://api.github.com/repos/github/linguist/issues/3229/labels{/name}","comments_url":"https://api.github.com/repos/github/linguist/issues/3229/comments","events_url":"https://api.github.com/repos/github/linguist/issues/3229/events","html_url":"https://github.com/github/linguist/issues/3229","id":177619702,"number":3229,"title":"Include submodules in repo language calculations","user":{"login":"controversial","id":10377391,"avatar_url":"https://avatars2.githubusercontent.com/u/10377391?v=3","gravatar_id":"","url":"https://api.github.com/users/controversial","html_url":"https://github.com/controversial","followers_url":"https://api.github.com/users/controversial/followers","following_url":"https://api.github.com/users/controversial/following{/other_user}","gists_url":"https://api.github.com/users/controversial/gists{/gist_id}","starred_url":"https://api.github.com/users/controversial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/controversial/subscriptions","organizations_url":"https://api.github.com/users/controversial/orgs","repos_url":"https://api.github.com/users/controversial/repos","events_url":"https://api.github.com/users/controversial/events{/privacy}","received_events_url":"https://api.github.com/users/controversial/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-18T00:22:43Z","updated_at":"2017-03-16T16:07:48Z","closed_at":"2016-10-01T02:34:45Z","body":"When calculating the primary language of a repo or the percentages, I think there should be an option somewhere to include submodules. For example, one of my projects is divided into frontend, backend, and client. Each of these is in its own repo, and I have [a conglomerate repo](https://github.com/pythonista-cloud/pythonista-cloud) containing everything as submodules. Because it contains only submodules, it doesn't show languages in the top bar, nor does it show a language where it's pinned to my profile.\n\nFor the simplest case, when all the submodules are also hosted on GitHub, this could be a  fairly inexpensive calculation.\n\nI understand that some people include external libraries as submodules, which is why I propose this as a configurable option in the repo.\n\nThoughts from anyone?\n"},"comment":{"url":"https://api.github.com/repos/github/linguist/issues/comments/287106729","html_url":"https://github.com/github/linguist/issues/3229#issuecomment-287106729","issue_url":"https://api.github.com/repos/github/linguist/issues/3229","id":287106729,"user":{"login":"controversial","id":10377391,"avatar_url":"https://avatars2.githubusercontent.com/u/10377391?v=3","gravatar_id":"","url":"https://api.github.com/users/controversial","html_url":"https://github.com/controversial","followers_url":"https://api.github.com/users/controversial/followers","following_url":"https://api.github.com/users/controversial/following{/other_user}","gists_url":"https://api.github.com/users/controversial/gists{/gist_id}","starred_url":"https://api.github.com/users/controversial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/controversial/subscriptions","organizations_url":"https://api.github.com/users/controversial/orgs","repos_url":"https://api.github.com/users/controversial/repos","events_url":"https://api.github.com/users/controversial/events{/privacy}","received_events_url":"https://api.github.com/users/controversial/received_events","type":"User","site_admin":false},"created_at":"2017-03-16T16:07:48Z","updated_at":"2017-03-16T16:07:48Z","body":"You're right, it is a duplicate. "}}
{"actor":{"display_login":"controversial"}}