{"action":"created","comment":{"url":"https://api.github.com/repos/w3c/specberus/pulls/comments/25198434","id":25198434,"diff_hunk":"@@ -9,15 +9,23 @@ exports.check = function (sr, done) {\n     if ($c.length) {\n         var year = (sr.getDocumentDate() || new Date).getFullYear()\n         ,   text = sr.norm($c.text())\n-        ,   startRex = \"^Copyright © (?:(?:199\\\\d|20[01]\\\\d)-)?\" + year + \" .*?W3C® \\\\(MIT, ERCIM, Keio, Beihang\\\\), \"\n-        ,   hatesFreedom = /All Rights Reserved/.test(text)\n-        ,   evil = \"All Rights Reserved\\\\.\"\n-        ,   good = \"Some Rights Reserved: this document is dual-licensed, CC-BY and W3C Document License\\\\.\"\n-        ,   endRex = \" W3C liability, trademark,? and document use rules apply\\\\.$\"","path":"lib/rules/headers/copyright.js","position":8,"original_position":8,"commit_id":"31c2541d799ffd406d14de0420679f8a4059bb4b","original_commit_id":"31c2541d799ffd406d14de0420679f8a4059bb4b","user":{"login":"darobin","id":38491,"avatar_url":"https://avatars.githubusercontent.com/u/38491?v=3","gravatar_id":"","url":"https://api.github.com/users/darobin","html_url":"https://github.com/darobin","followers_url":"https://api.github.com/users/darobin/followers","following_url":"https://api.github.com/users/darobin/following{/other_user}","gists_url":"https://api.github.com/users/darobin/gists{/gist_id}","starred_url":"https://api.github.com/users/darobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darobin/subscriptions","organizations_url":"https://api.github.com/users/darobin/orgs","repos_url":"https://api.github.com/users/darobin/repos","events_url":"https://api.github.com/users/darobin/events{/privacy}","received_events_url":"https://api.github.com/users/darobin/received_events","type":"User","site_admin":false},"body":"You take all the fun out :)","created_at":"2015-02-23T20:26:31Z","updated_at":"2015-02-23T20:26:31Z","html_url":"https://github.com/w3c/specberus/pull/151#discussion_r25198434","pull_request_url":"https://api.github.com/repos/w3c/specberus/pulls/151","_links":{"self":{"href":"https://api.github.com/repos/w3c/specberus/pulls/comments/25198434"},"html":{"href":"https://github.com/w3c/specberus/pull/151#discussion_r25198434"},"pull_request":{"href":"https://api.github.com/repos/w3c/specberus/pulls/151"}}},"pull_request":{"url":"https://api.github.com/repos/w3c/specberus/pulls/151","id":29841020,"html_url":"https://github.com/w3c/specberus/pull/151","diff_url":"https://github.com/w3c/specberus/pull/151.diff","patch_url":"https://github.com/w3c/specberus/pull/151.patch","issue_url":"https://api.github.com/repos/w3c/specberus/issues/151","number":151,"state":"open","locked":false,"title":"Fix #145: Supports old and new forms, as well as transition","user":{"login":"astorije","id":113730,"avatar_url":"https://avatars.githubusercontent.com/u/113730?v=3","gravatar_id":"","url":"https://api.github.com/users/astorije","html_url":"https://github.com/astorije","followers_url":"https://api.github.com/users/astorije/followers","following_url":"https://api.github.com/users/astorije/following{/other_user}","gists_url":"https://api.github.com/users/astorije/gists{/gist_id}","starred_url":"https://api.github.com/users/astorije/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astorije/subscriptions","organizations_url":"https://api.github.com/users/astorije/orgs","repos_url":"https://api.github.com/users/astorije/repos","events_url":"https://api.github.com/users/astorije/events{/privacy}","received_events_url":"https://api.github.com/users/astorije/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-23T20:11:37Z","updated_at":"2015-02-23T20:26:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9981b55b01c74fd0417834dae611f750c20d0e51","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/w3c/specberus/pulls/151/commits","review_comments_url":"https://api.github.com/repos/w3c/specberus/pulls/151/comments","review_comment_url":"https://api.github.com/repos/w3c/specberus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/w3c/specberus/issues/151/comments","statuses_url":"https://api.github.com/repos/w3c/specberus/statuses/31c2541d799ffd406d14de0420679f8a4059bb4b","head":{"label":"w3c:astorije/new-copyright-form","ref":"astorije/new-copyright-form","sha":"31c2541d799ffd406d14de0420679f8a4059bb4b","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":"PubRules checker — Reloaded","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-02-19T06:40:26Z","pushed_at":"2015-02-23T20:10:41Z","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":"http://www.w3.org/2014/10/pubrules/","size":3134,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":47,"forks":5,"open_issues":47,"watchers":6,"default_branch":"master"}},"base":{"label":"w3c:master","ref":"master","sha":"c08a08b4022d34a91c4216a421665d69b8f2bc98","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":"PubRules checker — Reloaded","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-02-19T06:40:26Z","pushed_at":"2015-02-23T20:10:41Z","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":"http://www.w3.org/2014/10/pubrules/","size":3134,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":47,"forks":5,"open_issues":47,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/w3c/specberus/pulls/151"},"html":{"href":"https://github.com/w3c/specberus/pull/151"},"issue":{"href":"https://api.github.com/repos/w3c/specberus/issues/151"},"comments":{"href":"https://api.github.com/repos/w3c/specberus/issues/151/comments"},"review_comments":{"href":"https://api.github.com/repos/w3c/specberus/pulls/151/comments"},"review_comment":{"href":"https://api.github.com/repos/w3c/specberus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/w3c/specberus/pulls/151/commits"},"statuses":{"href":"https://api.github.com/repos/w3c/specberus/statuses/31c2541d799ffd406d14de0420679f8a4059bb4b"}}}}