{"action":"closed","number":25,"pull_request":{"url":"https://api.github.com/repos/18F/regulations-parser/pulls/25","id":35467125,"html_url":"https://github.com/18F/regulations-parser/pull/25","diff_url":"https://github.com/18F/regulations-parser/pull/25.diff","patch_url":"https://github.com/18F/regulations-parser/pull/25.patch","issue_url":"https://api.github.com/repos/18F/regulations-parser/issues/25","number":25,"state":"closed","locked":false,"title":"A \"Watch Node\" script","user":{"login":"cmc333333","id":326918,"avatar_url":"https://avatars.githubusercontent.com/u/326918?v=3","gravatar_id":"","url":"https://api.github.com/users/cmc333333","html_url":"https://github.com/cmc333333","followers_url":"https://api.github.com/users/cmc333333/followers","following_url":"https://api.github.com/users/cmc333333/following{/other_user}","gists_url":"https://api.github.com/users/cmc333333/gists{/gist_id}","starred_url":"https://api.github.com/users/cmc333333/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmc333333/subscriptions","organizations_url":"https://api.github.com/users/cmc333333/orgs","repos_url":"https://api.github.com/users/cmc333333/repos","events_url":"https://api.github.com/users/cmc333333/events{/privacy}","received_events_url":"https://api.github.com/users/cmc333333/received_events","type":"User","site_admin":false},"body":"README describes what this does, but the hope is that it'd make debugging a little bit easier. Right now, it's possible to manually grep through trees and notices, but it's awfully cumbersome.\r\n\r\nThis has a lot of duplication with `build_from.py` and doesn't make use of checkpoints, but I think it's still useful in its current form.\r\n\r\nLooks like:\r\n\r\n```\r\n$ python watch_node.py 1005-16-c fr-notices/articles/xml/201/131/725.xml 12\r\nWARNING:root:Bad format for whole appendix\r\n> 2011-31725\r\n    Added: (c) Notice requirement. To meet the requirements of paragraph (b) of this section, an automated teller machine operator must comply with the following:\r\n> 2013-06861\r\n    Modified: (c) Notice requirement. An automated teller machine operator must provide the notice required by paragraph (b) of this section either by showing it on the screen of the automated teller machine or by providing it on paper, before the consumer is committed to paying a fee.\r\n```","created_at":"2015-05-14T22:03:48Z","updated_at":"2015-06-10T15:40:10Z","closed_at":"2015-06-10T15:40:10Z","merged_at":"2015-06-10T15:40:10Z","merge_commit_sha":"83fe4a84731109c1ebcb80fd8800be675fc0c58b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/regulations-parser/pulls/25/commits","review_comments_url":"https://api.github.com/repos/18F/regulations-parser/pulls/25/comments","review_comment_url":"https://api.github.com/repos/18F/regulations-parser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/regulations-parser/issues/25/comments","statuses_url":"https://api.github.com/repos/18F/regulations-parser/statuses/8919057f14de53f3a3ca3e942e456e2e732f7e56","head":{"label":"cmc333333:watch-node-clean","ref":"watch-node-clean","sha":"8919057f14de53f3a3ca3e942e456e2e732f7e56","user":{"login":"cmc333333","id":326918,"avatar_url":"https://avatars.githubusercontent.com/u/326918?v=3","gravatar_id":"","url":"https://api.github.com/users/cmc333333","html_url":"https://github.com/cmc333333","followers_url":"https://api.github.com/users/cmc333333/followers","following_url":"https://api.github.com/users/cmc333333/following{/other_user}","gists_url":"https://api.github.com/users/cmc333333/gists{/gist_id}","starred_url":"https://api.github.com/users/cmc333333/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmc333333/subscriptions","organizations_url":"https://api.github.com/users/cmc333333/orgs","repos_url":"https://api.github.com/users/cmc333333/repos","events_url":"https://api.github.com/users/cmc333333/events{/privacy}","received_events_url":"https://api.github.com/users/cmc333333/received_events","type":"User","site_admin":false},"repo":{"id":9396385,"name":"regulations-parser","full_name":"cmc333333/regulations-parser","owner":{"login":"cmc333333","id":326918,"avatar_url":"https://avatars.githubusercontent.com/u/326918?v=3","gravatar_id":"","url":"https://api.github.com/users/cmc333333","html_url":"https://github.com/cmc333333","followers_url":"https://api.github.com/users/cmc333333/followers","following_url":"https://api.github.com/users/cmc333333/following{/other_user}","gists_url":"https://api.github.com/users/cmc333333/gists{/gist_id}","starred_url":"https://api.github.com/users/cmc333333/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmc333333/subscriptions","organizations_url":"https://api.github.com/users/cmc333333/orgs","repos_url":"https://api.github.com/users/cmc333333/repos","events_url":"https://api.github.com/users/cmc333333/events{/privacy}","received_events_url":"https://api.github.com/users/cmc333333/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmc333333/regulations-parser","description":"All the code to parse a regulation. ","fork":true,"url":"https://api.github.com/repos/cmc333333/regulations-parser","forks_url":"https://api.github.com/repos/cmc333333/regulations-parser/forks","keys_url":"https://api.github.com/repos/cmc333333/regulations-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmc333333/regulations-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmc333333/regulations-parser/teams","hooks_url":"https://api.github.com/repos/cmc333333/regulations-parser/hooks","issue_events_url":"https://api.github.com/repos/cmc333333/regulations-parser/issues/events{/number}","events_url":"https://api.github.com/repos/cmc333333/regulations-parser/events","assignees_url":"https://api.github.com/repos/cmc333333/regulations-parser/assignees{/user}","branches_url":"https://api.github.com/repos/cmc333333/regulations-parser/branches{/branch}","tags_url":"https://api.github.com/repos/cmc333333/regulations-parser/tags","blobs_url":"https://api.github.com/repos/cmc333333/regulations-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmc333333/regulations-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmc333333/regulations-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmc333333/regulations-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmc333333/regulations-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/cmc333333/regulations-parser/languages","stargazers_url":"https://api.github.com/repos/cmc333333/regulations-parser/stargazers","contributors_url":"https://api.github.com/repos/cmc333333/regulations-parser/contributors","subscribers_url":"https://api.github.com/repos/cmc333333/regulations-parser/subscribers","subscription_url":"https://api.github.com/repos/cmc333333/regulations-parser/subscription","commits_url":"https://api.github.com/repos/cmc333333/regulations-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmc333333/regulations-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmc333333/regulations-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmc333333/regulations-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmc333333/regulations-parser/contents/{+path}","compare_url":"https://api.github.com/repos/cmc333333/regulations-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmc333333/regulations-parser/merges","archive_url":"https://api.github.com/repos/cmc333333/regulations-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmc333333/regulations-parser/downloads","issues_url":"https://api.github.com/repos/cmc333333/regulations-parser/issues{/number}","pulls_url":"https://api.github.com/repos/cmc333333/regulations-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/cmc333333/regulations-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/cmc333333/regulations-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmc333333/regulations-parser/labels{/name}","releases_url":"https://api.github.com/repos/cmc333333/regulations-parser/releases{/id}","created_at":"2013-04-12T14:42:24Z","updated_at":"2014-06-03T20:28:33Z","pushed_at":"2015-06-09T20:55:28Z","git_url":"git://github.com/cmc333333/regulations-parser.git","ssh_url":"git@github.com:cmc333333/regulations-parser.git","clone_url":"https://github.com/cmc333333/regulations-parser.git","svn_url":"https://github.com/cmc333333/regulations-parser","homepage":null,"size":4287,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"18F:master","ref":"master","sha":"2aa05f6ec322c4536fbc86542eac837cb773c351","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":27612788,"name":"regulations-parser","full_name":"18F/regulations-parser","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/regulations-parser","description":"All the code to parse a regulation. ","fork":true,"url":"https://api.github.com/repos/18F/regulations-parser","forks_url":"https://api.github.com/repos/18F/regulations-parser/forks","keys_url":"https://api.github.com/repos/18F/regulations-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/regulations-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/regulations-parser/teams","hooks_url":"https://api.github.com/repos/18F/regulations-parser/hooks","issue_events_url":"https://api.github.com/repos/18F/regulations-parser/issues/events{/number}","events_url":"https://api.github.com/repos/18F/regulations-parser/events","assignees_url":"https://api.github.com/repos/18F/regulations-parser/assignees{/user}","branches_url":"https://api.github.com/repos/18F/regulations-parser/branches{/branch}","tags_url":"https://api.github.com/repos/18F/regulations-parser/tags","blobs_url":"https://api.github.com/repos/18F/regulations-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/regulations-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/regulations-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/regulations-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/regulations-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/regulations-parser/languages","stargazers_url":"https://api.github.com/repos/18F/regulations-parser/stargazers","contributors_url":"https://api.github.com/repos/18F/regulations-parser/contributors","subscribers_url":"https://api.github.com/repos/18F/regulations-parser/subscribers","subscription_url":"https://api.github.com/repos/18F/regulations-parser/subscription","commits_url":"https://api.github.com/repos/18F/regulations-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/regulations-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/regulations-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/regulations-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/regulations-parser/contents/{+path}","compare_url":"https://api.github.com/repos/18F/regulations-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/regulations-parser/merges","archive_url":"https://api.github.com/repos/18F/regulations-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/regulations-parser/downloads","issues_url":"https://api.github.com/repos/18F/regulations-parser/issues{/number}","pulls_url":"https://api.github.com/repos/18F/regulations-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/regulations-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/regulations-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/regulations-parser/labels{/name}","releases_url":"https://api.github.com/repos/18F/regulations-parser/releases{/id}","created_at":"2014-12-05T22:22:48Z","updated_at":"2015-05-13T15:13:12Z","pushed_at":"2015-06-10T15:40:10Z","git_url":"git://github.com/18F/regulations-parser.git","ssh_url":"git@github.com:18F/regulations-parser.git","clone_url":"https://github.com/18F/regulations-parser.git","svn_url":"https://github.com/18F/regulations-parser","homepage":null,"size":2868,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":12,"forks":7,"open_issues":12,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/regulations-parser/pulls/25"},"html":{"href":"https://github.com/18F/regulations-parser/pull/25"},"issue":{"href":"https://api.github.com/repos/18F/regulations-parser/issues/25"},"comments":{"href":"https://api.github.com/repos/18F/regulations-parser/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/regulations-parser/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/regulations-parser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/regulations-parser/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/18F/regulations-parser/statuses/8919057f14de53f3a3ca3e942e456e2e732f7e56"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"khandelwal","id":636752,"avatar_url":"https://avatars.githubusercontent.com/u/636752?v=3","gravatar_id":"","url":"https://api.github.com/users/khandelwal","html_url":"https://github.com/khandelwal","followers_url":"https://api.github.com/users/khandelwal/followers","following_url":"https://api.github.com/users/khandelwal/following{/other_user}","gists_url":"https://api.github.com/users/khandelwal/gists{/gist_id}","starred_url":"https://api.github.com/users/khandelwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khandelwal/subscriptions","organizations_url":"https://api.github.com/users/khandelwal/orgs","repos_url":"https://api.github.com/users/khandelwal/repos","events_url":"https://api.github.com/users/khandelwal/events{/privacy}","received_events_url":"https://api.github.com/users/khandelwal/received_events","type":"User","site_admin":false},"comments":5,"review_comments":6,"commits":6,"additions":190,"deletions":48,"changed_files":8}}