{"action":"created","issue":{"url":"https://api.github.com/repos/gojp/goreportcard/issues/116","repository_url":"https://api.github.com/repos/gojp/goreportcard","labels_url":"https://api.github.com/repos/gojp/goreportcard/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/gojp/goreportcard/issues/116/comments","events_url":"https://api.github.com/repos/gojp/goreportcard/issues/116/events","html_url":"https://github.com/gojp/goreportcard/issues/116","id":149621319,"number":116,"title":"Ignore generated code","user":{"login":"prashantv","id":140159,"avatar_url":"https://avatars.githubusercontent.com/u/140159?v=3","gravatar_id":"","url":"https://api.github.com/users/prashantv","html_url":"https://github.com/prashantv","followers_url":"https://api.github.com/users/prashantv/followers","following_url":"https://api.github.com/users/prashantv/following{/other_user}","gists_url":"https://api.github.com/users/prashantv/gists{/gist_id}","starred_url":"https://api.github.com/users/prashantv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prashantv/subscriptions","organizations_url":"https://api.github.com/users/prashantv/orgs","repos_url":"https://api.github.com/users/prashantv/repos","events_url":"https://api.github.com/users/prashantv/events{/privacy}","received_events_url":"https://api.github.com/users/prashantv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-20T00:45:24Z","updated_at":"2016-04-29T08:47:39Z","closed_at":null,"body":"Something similar to:\r\nhttps://github.com/github/linguist/blob/master/lib/linguist/generated.rb\r\n\r\nI'm seeing files that aren't ignored that are generated in my repository:\r\nhttps://github.com/uber/tchannel-go/blob/master/trace/thrift/gen-go/tcollector/ttypes.go\r\nhttps://github.com/uber/tchannel-go/blob/master/examples/thrift/gen-go/test/tchan-test.go\r\n\r\nComments like \"Autogenerated by\" or \"@generated\" or \"Code generated by\" usually appear at the top of generate code files that should be ignored."},"comment":{"url":"https://api.github.com/repos/gojp/goreportcard/issues/comments/215661028","html_url":"https://github.com/gojp/goreportcard/issues/116#issuecomment-215661028","issue_url":"https://api.github.com/repos/gojp/goreportcard/issues/116","id":215661028,"user":{"login":"shawnps","id":80111,"avatar_url":"https://avatars.githubusercontent.com/u/80111?v=3","gravatar_id":"","url":"https://api.github.com/users/shawnps","html_url":"https://github.com/shawnps","followers_url":"https://api.github.com/users/shawnps/followers","following_url":"https://api.github.com/users/shawnps/following{/other_user}","gists_url":"https://api.github.com/users/shawnps/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnps/subscriptions","organizations_url":"https://api.github.com/users/shawnps/orgs","repos_url":"https://api.github.com/users/shawnps/repos","events_url":"https://api.github.com/users/shawnps/events{/privacy}","received_events_url":"https://api.github.com/users/shawnps/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T08:47:39Z","updated_at":"2016-04-29T08:47:39Z","body":"I see where both sides are coming from. But I think as we already skip some of these files, and many people have asked for this, we'll end up skipping code generated by Thrift for the time being. I would love to see issues opened with whatever tools are generating the code to make it more idiomatic. In the future we can remove the logic that skips generated code if we decide to."}}