{"action":"created","comment":{"url":"https://api.github.com/repos/w3c/specberus/pulls/comments/41833957","id":41833957,"diff_hunk":"@@ -91,8 +94,13 @@ Specberus.prototype.validate = function (options) {\n };\n \n Specberus.prototype.error = function (rule, key, extra) {\n-    this.sink.emit(\"err\", rule, { key: key, extra: extra });\n-};\n+    if ((this.shortname !== undefined)\n+        && (this.config.status === \"WD\" || this.config.status === \"CR\")","path":"lib/validator.js","position":24,"original_position":24,"commit_id":"a6c6594dad3d99de8069c3bfffb75559565c9255","original_commit_id":"a6c6594dad3d99de8069c3bfffb75559565c9255","user":{"login":"tripu","id":1016538,"avatar_url":"https://avatars.githubusercontent.com/u/1016538?v=3","gravatar_id":"","url":"https://api.github.com/users/tripu","html_url":"https://github.com/tripu","followers_url":"https://api.github.com/users/tripu/followers","following_url":"https://api.github.com/users/tripu/following{/other_user}","gists_url":"https://api.github.com/users/tripu/gists{/gist_id}","starred_url":"https://api.github.com/users/tripu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tripu/subscriptions","organizations_url":"https://api.github.com/users/tripu/orgs","repos_url":"https://api.github.com/users/tripu/repos","events_url":"https://api.github.com/users/tripu/events{/privacy}","received_events_url":"https://api.github.com/users/tripu/received_events","type":"User","site_admin":false},"body":"Why only for these two profiles?","created_at":"2015-10-13T07:25:32Z","updated_at":"2015-10-13T07:25:32Z","html_url":"https://github.com/w3c/specberus/pull/261#discussion_r41833957","pull_request_url":"https://api.github.com/repos/w3c/specberus/pulls/261","_links":{"self":{"href":"https://api.github.com/repos/w3c/specberus/pulls/comments/41833957"},"html":{"href":"https://github.com/w3c/specberus/pull/261#discussion_r41833957"},"pull_request":{"href":"https://api.github.com/repos/w3c/specberus/pulls/261"}}},"pull_request":{"url":"https://api.github.com/repos/w3c/specberus/pulls/261","id":46436439,"html_url":"https://github.com/w3c/specberus/pull/261","diff_url":"https://github.com/w3c/specberus/pull/261.diff","patch_url":"https://github.com/w3c/specberus/pull/261.patch","issue_url":"https://api.github.com/repos/w3c/specberus/issues/261","number":261,"state":"open","locked":false,"title":"exception handling","user":{"login":"plehegar","id":1490400,"avatar_url":"https://avatars.githubusercontent.com/u/1490400?v=3","gravatar_id":"","url":"https://api.github.com/users/plehegar","html_url":"https://github.com/plehegar","followers_url":"https://api.github.com/users/plehegar/followers","following_url":"https://api.github.com/users/plehegar/following{/other_user}","gists_url":"https://api.github.com/users/plehegar/gists{/gist_id}","starred_url":"https://api.github.com/users/plehegar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plehegar/subscriptions","organizations_url":"https://api.github.com/users/plehegar/orgs","repos_url":"https://api.github.com/users/plehegar/repos","events_url":"https://api.github.com/users/plehegar/events{/privacy}","received_events_url":"https://api.github.com/users/plehegar/received_events","type":"User","site_admin":false},"body":"Tried to follow the suggestions in\r\n https://github.com/w3c/specberus/pull/212\r\n\r\nlib/rules/heuristic/shortname.js does however introduce duplicated code, so not sure if I like it...\r\n","created_at":"2015-09-30T18:13:13Z","updated_at":"2015-10-13T07:25:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8af59fe6133b28463030c7f963776ca77c281a65","assignee":{"login":"tripu","id":1016538,"avatar_url":"https://avatars.githubusercontent.com/u/1016538?v=3","gravatar_id":"","url":"https://api.github.com/users/tripu","html_url":"https://github.com/tripu","followers_url":"https://api.github.com/users/tripu/followers","following_url":"https://api.github.com/users/tripu/following{/other_user}","gists_url":"https://api.github.com/users/tripu/gists{/gist_id}","starred_url":"https://api.github.com/users/tripu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tripu/subscriptions","organizations_url":"https://api.github.com/users/tripu/orgs","repos_url":"https://api.github.com/users/tripu/repos","events_url":"https://api.github.com/users/tripu/events{/privacy}","received_events_url":"https://api.github.com/users/tripu/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/w3c/specberus/milestones/5","html_url":"https://github.com/w3c/specberus/milestones/TPAC%202015","labels_url":"https://api.github.com/repos/w3c/specberus/milestones/5/labels","id":1293613,"number":5,"title":"TPAC 2015","description":"http://www.w3.org/2015/10/TPAC/","creator":{"login":"tripu","id":1016538,"avatar_url":"https://avatars.githubusercontent.com/u/1016538?v=3","gravatar_id":"","url":"https://api.github.com/users/tripu","html_url":"https://github.com/tripu","followers_url":"https://api.github.com/users/tripu/followers","following_url":"https://api.github.com/users/tripu/following{/other_user}","gists_url":"https://api.github.com/users/tripu/gists{/gist_id}","starred_url":"https://api.github.com/users/tripu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tripu/subscriptions","organizations_url":"https://api.github.com/users/tripu/orgs","repos_url":"https://api.github.com/users/tripu/repos","events_url":"https://api.github.com/users/tripu/events{/privacy}","received_events_url":"https://api.github.com/users/tripu/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":1,"state":"open","created_at":"2015-09-07T12:26:55Z","updated_at":"2015-10-13T07:05:43Z","due_on":"2015-10-22T15:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/w3c/specberus/pulls/261/commits","review_comments_url":"https://api.github.com/repos/w3c/specberus/pulls/261/comments","review_comment_url":"https://api.github.com/repos/w3c/specberus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/w3c/specberus/issues/261/comments","statuses_url":"https://api.github.com/repos/w3c/specberus/statuses/a6c6594dad3d99de8069c3bfffb75559565c9255","head":{"label":"w3c:css-exceptions","ref":"css-exceptions","sha":"a6c6594dad3d99de8069c3bfffb75559565c9255","user":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":15309233,"name":"specberus","full_name":"w3c/specberus","owner":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/specberus","description":"Specberus is a checker used at W3C to validate the compliance of Technical Reports with publication rules.","fork":false,"url":"https://api.github.com/repos/w3c/specberus","forks_url":"https://api.github.com/repos/w3c/specberus/forks","keys_url":"https://api.github.com/repos/w3c/specberus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/specberus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/specberus/teams","hooks_url":"https://api.github.com/repos/w3c/specberus/hooks","issue_events_url":"https://api.github.com/repos/w3c/specberus/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/specberus/events","assignees_url":"https://api.github.com/repos/w3c/specberus/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/specberus/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/specberus/tags","blobs_url":"https://api.github.com/repos/w3c/specberus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/specberus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/specberus/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/specberus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/specberus/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/specberus/languages","stargazers_url":"https://api.github.com/repos/w3c/specberus/stargazers","contributors_url":"https://api.github.com/repos/w3c/specberus/contributors","subscribers_url":"https://api.github.com/repos/w3c/specberus/subscribers","subscription_url":"https://api.github.com/repos/w3c/specberus/subscription","commits_url":"https://api.github.com/repos/w3c/specberus/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/specberus/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/specberus/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/specberus/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/specberus/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/specberus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/specberus/merges","archive_url":"https://api.github.com/repos/w3c/specberus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/specberus/downloads","issues_url":"https://api.github.com/repos/w3c/specberus/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/specberus/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/specberus/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/specberus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/specberus/labels{/name}","releases_url":"https://api.github.com/repos/w3c/specberus/releases{/id}","created_at":"2013-12-19T10:43:31Z","updated_at":"2015-09-12T13:38:35Z","pushed_at":"2015-10-12T13:33:01Z","git_url":"git://github.com/w3c/specberus.git","ssh_url":"git@github.com:w3c/specberus.git","clone_url":"https://github.com/w3c/specberus.git","svn_url":"https://github.com/w3c/specberus","homepage":"https://labs.w3.org/pubrules/","size":3563,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":66,"forks":7,"open_issues":66,"watchers":8,"default_branch":"master"}},"base":{"label":"w3c:master","ref":"master","sha":"439ebb5d1298fc0dd8009685783c84c1643c2a61","user":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":15309233,"name":"specberus","full_name":"w3c/specberus","owner":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/specberus","description":"Specberus is a checker used at W3C to validate the compliance of Technical Reports with publication rules.","fork":false,"url":"https://api.github.com/repos/w3c/specberus","forks_url":"https://api.github.com/repos/w3c/specberus/forks","keys_url":"https://api.github.com/repos/w3c/specberus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/specberus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/specberus/teams","hooks_url":"https://api.github.com/repos/w3c/specberus/hooks","issue_events_url":"https://api.github.com/repos/w3c/specberus/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/specberus/events","assignees_url":"https://api.github.com/repos/w3c/specberus/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/specberus/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/specberus/tags","blobs_url":"https://api.github.com/repos/w3c/specberus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/specberus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/specberus/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/specberus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/specberus/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/specberus/languages","stargazers_url":"https://api.github.com/repos/w3c/specberus/stargazers","contributors_url":"https://api.github.com/repos/w3c/specberus/contributors","subscribers_url":"https://api.github.com/repos/w3c/specberus/subscribers","subscription_url":"https://api.github.com/repos/w3c/specberus/subscription","commits_url":"https://api.github.com/repos/w3c/specberus/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/specberus/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/specberus/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/specberus/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/specberus/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/specberus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/specberus/merges","archive_url":"https://api.github.com/repos/w3c/specberus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/specberus/downloads","issues_url":"https://api.github.com/repos/w3c/specberus/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/specberus/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/specberus/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/specberus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/specberus/labels{/name}","releases_url":"https://api.github.com/repos/w3c/specberus/releases{/id}","created_at":"2013-12-19T10:43:31Z","updated_at":"2015-09-12T13:38:35Z","pushed_at":"2015-10-12T13:33:01Z","git_url":"git://github.com/w3c/specberus.git","ssh_url":"git@github.com:w3c/specberus.git","clone_url":"https://github.com/w3c/specberus.git","svn_url":"https://github.com/w3c/specberus","homepage":"https://labs.w3.org/pubrules/","size":3563,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":66,"forks":7,"open_issues":66,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/w3c/specberus/pulls/261"},"html":{"href":"https://github.com/w3c/specberus/pull/261"},"issue":{"href":"https://api.github.com/repos/w3c/specberus/issues/261"},"comments":{"href":"https://api.github.com/repos/w3c/specberus/issues/261/comments"},"review_comments":{"href":"https://api.github.com/repos/w3c/specberus/pulls/261/comments"},"review_comment":{"href":"https://api.github.com/repos/w3c/specberus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/w3c/specberus/pulls/261/commits"},"statuses":{"href":"https://api.github.com/repos/w3c/specberus/statuses/a6c6594dad3d99de8069c3bfffb75559565c9255"}}}}