{"action":"opened","number":552,"pull_request":{"url":"https://api.github.com/repos/AtomLinter/Linter/pulls/552","id":36786672,"html_url":"https://github.com/AtomLinter/Linter/pull/552","diff_url":"https://github.com/AtomLinter/Linter/pull/552.diff","patch_url":"https://github.com/AtomLinter/Linter/pull/552.patch","issue_url":"https://api.github.com/repos/AtomLinter/Linter/issues/552","number":552,"state":"open","locked":false,"title":"Filter messages to only display those related to the current file","user":{"login":"reem","id":4745181,"avatar_url":"https://avatars.githubusercontent.com/u/4745181?v=3","gravatar_id":"","url":"https://api.github.com/users/reem","html_url":"https://github.com/reem","followers_url":"https://api.github.com/users/reem/followers","following_url":"https://api.github.com/users/reem/following{/other_user}","gists_url":"https://api.github.com/users/reem/gists{/gist_id}","starred_url":"https://api.github.com/users/reem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reem/subscriptions","organizations_url":"https://api.github.com/users/reem/orgs","repos_url":"https://api.github.com/users/reem/repos","events_url":"https://api.github.com/users/reem/events{/privacy}","received_events_url":"https://api.github.com/users/reem/received_events","type":"User","site_admin":false},"body":"In certain systems, for instance the package manager cargo for\nthe rust language, an entire package with multiple files must\nbe built at once and all the errors are reported in bulk.\n\nPreviously, it was impossible to filter these messages based on the\nfile they apply to and only show the ones relevant to the current file.\nThis commit provides the hooks for linters to say which file a message\nbelongs to (though this is optional, to maintain backwards compatibility)\nso that we can filter out all messages not related to the current file.\n\nBy default, all messages are assumed to be relevant to the current file.\n\nThis PR is an updated version of #304, which has partially bitrotted/accrued\nmerge conflicts, and is largely a prerequisite to productively using rust\nwith atom.","created_at":"2015-06-02T23:53:06Z","updated_at":"2015-06-02T23:53:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AtomLinter/Linter/pulls/552/commits","review_comments_url":"https://api.github.com/repos/AtomLinter/Linter/pulls/552/comments","review_comment_url":"https://api.github.com/repos/AtomLinter/Linter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AtomLinter/Linter/issues/552/comments","statuses_url":"https://api.github.com/repos/AtomLinter/Linter/statuses/add10c5860feddd8c063d2fcf41109e840a56c16","head":{"label":"reem:lint-only-current-file","ref":"lint-only-current-file","sha":"add10c5860feddd8c063d2fcf41109e840a56c16","user":{"login":"reem","id":4745181,"avatar_url":"https://avatars.githubusercontent.com/u/4745181?v=3","gravatar_id":"","url":"https://api.github.com/users/reem","html_url":"https://github.com/reem","followers_url":"https://api.github.com/users/reem/followers","following_url":"https://api.github.com/users/reem/following{/other_user}","gists_url":"https://api.github.com/users/reem/gists{/gist_id}","starred_url":"https://api.github.com/users/reem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reem/subscriptions","organizations_url":"https://api.github.com/users/reem/orgs","repos_url":"https://api.github.com/users/reem/repos","events_url":"https://api.github.com/users/reem/events{/privacy}","received_events_url":"https://api.github.com/users/reem/received_events","type":"User","site_admin":false},"repo":{"id":36768544,"name":"Linter","full_name":"reem/Linter","owner":{"login":"reem","id":4745181,"avatar_url":"https://avatars.githubusercontent.com/u/4745181?v=3","gravatar_id":"","url":"https://api.github.com/users/reem","html_url":"https://github.com/reem","followers_url":"https://api.github.com/users/reem/followers","following_url":"https://api.github.com/users/reem/following{/other_user}","gists_url":"https://api.github.com/users/reem/gists{/gist_id}","starred_url":"https://api.github.com/users/reem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reem/subscriptions","organizations_url":"https://api.github.com/users/reem/orgs","repos_url":"https://api.github.com/users/reem/repos","events_url":"https://api.github.com/users/reem/events{/privacy}","received_events_url":"https://api.github.com/users/reem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/reem/Linter","description":"Inline code linting for Atom","fork":true,"url":"https://api.github.com/repos/reem/Linter","forks_url":"https://api.github.com/repos/reem/Linter/forks","keys_url":"https://api.github.com/repos/reem/Linter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reem/Linter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reem/Linter/teams","hooks_url":"https://api.github.com/repos/reem/Linter/hooks","issue_events_url":"https://api.github.com/repos/reem/Linter/issues/events{/number}","events_url":"https://api.github.com/repos/reem/Linter/events","assignees_url":"https://api.github.com/repos/reem/Linter/assignees{/user}","branches_url":"https://api.github.com/repos/reem/Linter/branches{/branch}","tags_url":"https://api.github.com/repos/reem/Linter/tags","blobs_url":"https://api.github.com/repos/reem/Linter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reem/Linter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reem/Linter/git/refs{/sha}","trees_url":"https://api.github.com/repos/reem/Linter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reem/Linter/statuses/{sha}","languages_url":"https://api.github.com/repos/reem/Linter/languages","stargazers_url":"https://api.github.com/repos/reem/Linter/stargazers","contributors_url":"https://api.github.com/repos/reem/Linter/contributors","subscribers_url":"https://api.github.com/repos/reem/Linter/subscribers","subscription_url":"https://api.github.com/repos/reem/Linter/subscription","commits_url":"https://api.github.com/repos/reem/Linter/commits{/sha}","git_commits_url":"https://api.github.com/repos/reem/Linter/git/commits{/sha}","comments_url":"https://api.github.com/repos/reem/Linter/comments{/number}","issue_comment_url":"https://api.github.com/repos/reem/Linter/issues/comments{/number}","contents_url":"https://api.github.com/repos/reem/Linter/contents/{+path}","compare_url":"https://api.github.com/repos/reem/Linter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reem/Linter/merges","archive_url":"https://api.github.com/repos/reem/Linter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reem/Linter/downloads","issues_url":"https://api.github.com/repos/reem/Linter/issues{/number}","pulls_url":"https://api.github.com/repos/reem/Linter/pulls{/number}","milestones_url":"https://api.github.com/repos/reem/Linter/milestones{/number}","notifications_url":"https://api.github.com/repos/reem/Linter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reem/Linter/labels{/name}","releases_url":"https://api.github.com/repos/reem/Linter/releases{/id}","created_at":"2015-06-02T23:50:07Z","updated_at":"2015-06-02T23:50:07Z","pushed_at":"2015-06-02T23:51:45Z","git_url":"git://github.com/reem/Linter.git","ssh_url":"git@github.com:reem/Linter.git","clone_url":"https://github.com/reem/Linter.git","svn_url":"https://github.com/reem/Linter","homepage":"","size":3560,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AtomLinter:master","ref":"master","sha":"9cecdfc01209a7c3a0502e48d78fad01e91c5f60","user":{"login":"AtomLinter","id":7242824,"avatar_url":"https://avatars.githubusercontent.com/u/7242824?v=3","gravatar_id":"","url":"https://api.github.com/users/AtomLinter","html_url":"https://github.com/AtomLinter","followers_url":"https://api.github.com/users/AtomLinter/followers","following_url":"https://api.github.com/users/AtomLinter/following{/other_user}","gists_url":"https://api.github.com/users/AtomLinter/gists{/gist_id}","starred_url":"https://api.github.com/users/AtomLinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtomLinter/subscriptions","organizations_url":"https://api.github.com/users/AtomLinter/orgs","repos_url":"https://api.github.com/users/AtomLinter/repos","events_url":"https://api.github.com/users/AtomLinter/events{/privacy}","received_events_url":"https://api.github.com/users/AtomLinter/received_events","type":"Organization","site_admin":false},"repo":{"id":18612437,"name":"Linter","full_name":"AtomLinter/Linter","owner":{"login":"AtomLinter","id":7242824,"avatar_url":"https://avatars.githubusercontent.com/u/7242824?v=3","gravatar_id":"","url":"https://api.github.com/users/AtomLinter","html_url":"https://github.com/AtomLinter","followers_url":"https://api.github.com/users/AtomLinter/followers","following_url":"https://api.github.com/users/AtomLinter/following{/other_user}","gists_url":"https://api.github.com/users/AtomLinter/gists{/gist_id}","starred_url":"https://api.github.com/users/AtomLinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtomLinter/subscriptions","organizations_url":"https://api.github.com/users/AtomLinter/orgs","repos_url":"https://api.github.com/users/AtomLinter/repos","events_url":"https://api.github.com/users/AtomLinter/events{/privacy}","received_events_url":"https://api.github.com/users/AtomLinter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AtomLinter/Linter","description":"Inline code linting for Atom","fork":false,"url":"https://api.github.com/repos/AtomLinter/Linter","forks_url":"https://api.github.com/repos/AtomLinter/Linter/forks","keys_url":"https://api.github.com/repos/AtomLinter/Linter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AtomLinter/Linter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AtomLinter/Linter/teams","hooks_url":"https://api.github.com/repos/AtomLinter/Linter/hooks","issue_events_url":"https://api.github.com/repos/AtomLinter/Linter/issues/events{/number}","events_url":"https://api.github.com/repos/AtomLinter/Linter/events","assignees_url":"https://api.github.com/repos/AtomLinter/Linter/assignees{/user}","branches_url":"https://api.github.com/repos/AtomLinter/Linter/branches{/branch}","tags_url":"https://api.github.com/repos/AtomLinter/Linter/tags","blobs_url":"https://api.github.com/repos/AtomLinter/Linter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AtomLinter/Linter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AtomLinter/Linter/git/refs{/sha}","trees_url":"https://api.github.com/repos/AtomLinter/Linter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AtomLinter/Linter/statuses/{sha}","languages_url":"https://api.github.com/repos/AtomLinter/Linter/languages","stargazers_url":"https://api.github.com/repos/AtomLinter/Linter/stargazers","contributors_url":"https://api.github.com/repos/AtomLinter/Linter/contributors","subscribers_url":"https://api.github.com/repos/AtomLinter/Linter/subscribers","subscription_url":"https://api.github.com/repos/AtomLinter/Linter/subscription","commits_url":"https://api.github.com/repos/AtomLinter/Linter/commits{/sha}","git_commits_url":"https://api.github.com/repos/AtomLinter/Linter/git/commits{/sha}","comments_url":"https://api.github.com/repos/AtomLinter/Linter/comments{/number}","issue_comment_url":"https://api.github.com/repos/AtomLinter/Linter/issues/comments{/number}","contents_url":"https://api.github.com/repos/AtomLinter/Linter/contents/{+path}","compare_url":"https://api.github.com/repos/AtomLinter/Linter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AtomLinter/Linter/merges","archive_url":"https://api.github.com/repos/AtomLinter/Linter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AtomLinter/Linter/downloads","issues_url":"https://api.github.com/repos/AtomLinter/Linter/issues{/number}","pulls_url":"https://api.github.com/repos/AtomLinter/Linter/pulls{/number}","milestones_url":"https://api.github.com/repos/AtomLinter/Linter/milestones{/number}","notifications_url":"https://api.github.com/repos/AtomLinter/Linter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AtomLinter/Linter/labels{/name}","releases_url":"https://api.github.com/repos/AtomLinter/Linter/releases{/id}","created_at":"2014-04-09T20:39:52Z","updated_at":"2015-06-02T00:21:06Z","pushed_at":"2015-05-27T07:40:16Z","git_url":"git://github.com/AtomLinter/Linter.git","ssh_url":"git@github.com:AtomLinter/Linter.git","clone_url":"https://github.com/AtomLinter/Linter.git","svn_url":"https://github.com/AtomLinter/Linter","homepage":"","size":3560,"stargazers_count":236,"watchers_count":236,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":70,"mirror_url":null,"open_issues_count":147,"forks":70,"open_issues":147,"watchers":236,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AtomLinter/Linter/pulls/552"},"html":{"href":"https://github.com/AtomLinter/Linter/pull/552"},"issue":{"href":"https://api.github.com/repos/AtomLinter/Linter/issues/552"},"comments":{"href":"https://api.github.com/repos/AtomLinter/Linter/issues/552/comments"},"review_comments":{"href":"https://api.github.com/repos/AtomLinter/Linter/pulls/552/comments"},"review_comment":{"href":"https://api.github.com/repos/AtomLinter/Linter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AtomLinter/Linter/pulls/552/commits"},"statuses":{"href":"https://api.github.com/repos/AtomLinter/Linter/statuses/add10c5860feddd8c063d2fcf41109e840a56c16"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":0,"changed_files":1}}