{"action":"closed","number":35,"pull_request":{"url":"https://api.github.com/repos/dns-stats/hedgehog/pulls/35","id":28924838,"html_url":"https://github.com/dns-stats/hedgehog/pull/35","diff_url":"https://github.com/dns-stats/hedgehog/pull/35.diff","patch_url":"https://github.com/dns-stats/hedgehog/pull/35.patch","issue_url":"https://api.github.com/repos/dns-stats/hedgehog/issues/35","number":35,"state":"closed","locked":false,"title":"Update refile_and_grok.sh.in","user":{"login":"arhbkb","id":1058891,"avatar_url":"https://avatars.githubusercontent.com/u/1058891?v=3","gravatar_id":"","url":"https://api.github.com/users/arhbkb","html_url":"https://github.com/arhbkb","followers_url":"https://api.github.com/users/arhbkb/followers","following_url":"https://api.github.com/users/arhbkb/following{/other_user}","gists_url":"https://api.github.com/users/arhbkb/gists{/gist_id}","starred_url":"https://api.github.com/users/arhbkb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arhbkb/subscriptions","organizations_url":"https://api.github.com/users/arhbkb/orgs","repos_url":"https://api.github.com/users/arhbkb/repos","events_url":"https://api.github.com/users/arhbkb/events{/privacy}","received_events_url":"https://api.github.com/users/arhbkb/received_events","type":"User","site_admin":false},"body":"This set of changes addresses various things:\r\n1. Fixes inconsistent quoting\r\n2. Uses bash features where available, to avoid the \"echo | sed\" pipe/fork chain\r\n3. Uses features of awk to avoid a long pipeline containing grep/tail\r\n4. Replaces all backticks with $(...) (backticks are deprecated; the script had a mix if backticks and $(...) )\r\n5. Consistent usage of [ ... ] everywhere (instead of a mix of \"test\" and [ ... ] )\r\n6. Fixes a bug in line 123, where the call to date in backticks was  not escaped, causing the script to report the same start time for all node processing, because the date was being evaluated at the time the script was parsed, instead of at runtime.\r\n7. Deletes some spurious semicolons","created_at":"2015-02-09T14:37:39Z","updated_at":"2015-02-11T13:33:03Z","closed_at":"2015-02-11T13:33:03Z","merged_at":"2015-02-11T13:33:03Z","merge_commit_sha":"66a95c36391dce03739ef3d2268e8ce92ef55a58","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dns-stats/hedgehog/pulls/35/commits","review_comments_url":"https://api.github.com/repos/dns-stats/hedgehog/pulls/35/comments","review_comment_url":"https://api.github.com/repos/dns-stats/hedgehog/pulls/comments/{number}","comments_url":"https://api.github.com/repos/dns-stats/hedgehog/issues/35/comments","statuses_url":"https://api.github.com/repos/dns-stats/hedgehog/statuses/4a05535c2a5132b8a7a0a663a9fc3517b8d4528a","head":{"label":"arhbkb:patch-3","ref":"patch-3","sha":"4a05535c2a5132b8a7a0a663a9fc3517b8d4528a","user":{"login":"arhbkb","id":1058891,"avatar_url":"https://avatars.githubusercontent.com/u/1058891?v=3","gravatar_id":"","url":"https://api.github.com/users/arhbkb","html_url":"https://github.com/arhbkb","followers_url":"https://api.github.com/users/arhbkb/followers","following_url":"https://api.github.com/users/arhbkb/following{/other_user}","gists_url":"https://api.github.com/users/arhbkb/gists{/gist_id}","starred_url":"https://api.github.com/users/arhbkb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arhbkb/subscriptions","organizations_url":"https://api.github.com/users/arhbkb/orgs","repos_url":"https://api.github.com/users/arhbkb/repos","events_url":"https://api.github.com/users/arhbkb/events{/privacy}","received_events_url":"https://api.github.com/users/arhbkb/received_events","type":"User","site_admin":false},"repo":{"id":28664210,"name":"hedgehog","full_name":"arhbkb/hedgehog","owner":{"login":"arhbkb","id":1058891,"avatar_url":"https://avatars.githubusercontent.com/u/1058891?v=3","gravatar_id":"","url":"https://api.github.com/users/arhbkb","html_url":"https://github.com/arhbkb","followers_url":"https://api.github.com/users/arhbkb/followers","following_url":"https://api.github.com/users/arhbkb/following{/other_user}","gists_url":"https://api.github.com/users/arhbkb/gists{/gist_id}","starred_url":"https://api.github.com/users/arhbkb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arhbkb/subscriptions","organizations_url":"https://api.github.com/users/arhbkb/orgs","repos_url":"https://api.github.com/users/arhbkb/repos","events_url":"https://api.github.com/users/arhbkb/events{/privacy}","received_events_url":"https://api.github.com/users/arhbkb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arhbkb/hedgehog","description":"Hedgehog DNS Statistics Presenter","fork":true,"url":"https://api.github.com/repos/arhbkb/hedgehog","forks_url":"https://api.github.com/repos/arhbkb/hedgehog/forks","keys_url":"https://api.github.com/repos/arhbkb/hedgehog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arhbkb/hedgehog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arhbkb/hedgehog/teams","hooks_url":"https://api.github.com/repos/arhbkb/hedgehog/hooks","issue_events_url":"https://api.github.com/repos/arhbkb/hedgehog/issues/events{/number}","events_url":"https://api.github.com/repos/arhbkb/hedgehog/events","assignees_url":"https://api.github.com/repos/arhbkb/hedgehog/assignees{/user}","branches_url":"https://api.github.com/repos/arhbkb/hedgehog/branches{/branch}","tags_url":"https://api.github.com/repos/arhbkb/hedgehog/tags","blobs_url":"https://api.github.com/repos/arhbkb/hedgehog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arhbkb/hedgehog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arhbkb/hedgehog/git/refs{/sha}","trees_url":"https://api.github.com/repos/arhbkb/hedgehog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arhbkb/hedgehog/statuses/{sha}","languages_url":"https://api.github.com/repos/arhbkb/hedgehog/languages","stargazers_url":"https://api.github.com/repos/arhbkb/hedgehog/stargazers","contributors_url":"https://api.github.com/repos/arhbkb/hedgehog/contributors","subscribers_url":"https://api.github.com/repos/arhbkb/hedgehog/subscribers","subscription_url":"https://api.github.com/repos/arhbkb/hedgehog/subscription","commits_url":"https://api.github.com/repos/arhbkb/hedgehog/commits{/sha}","git_commits_url":"https://api.github.com/repos/arhbkb/hedgehog/git/commits{/sha}","comments_url":"https://api.github.com/repos/arhbkb/hedgehog/comments{/number}","issue_comment_url":"https://api.github.com/repos/arhbkb/hedgehog/issues/comments/{number}","contents_url":"https://api.github.com/repos/arhbkb/hedgehog/contents/{+path}","compare_url":"https://api.github.com/repos/arhbkb/hedgehog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arhbkb/hedgehog/merges","archive_url":"https://api.github.com/repos/arhbkb/hedgehog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arhbkb/hedgehog/downloads","issues_url":"https://api.github.com/repos/arhbkb/hedgehog/issues{/number}","pulls_url":"https://api.github.com/repos/arhbkb/hedgehog/pulls{/number}","milestones_url":"https://api.github.com/repos/arhbkb/hedgehog/milestones{/number}","notifications_url":"https://api.github.com/repos/arhbkb/hedgehog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arhbkb/hedgehog/labels{/name}","releases_url":"https://api.github.com/repos/arhbkb/hedgehog/releases{/id}","created_at":"2014-12-31T11:13:38Z","updated_at":"2014-12-31T11:13:39Z","pushed_at":"2015-02-09T14:37:28Z","git_url":"git://github.com/arhbkb/hedgehog.git","ssh_url":"git@github.com:arhbkb/hedgehog.git","clone_url":"https://github.com/arhbkb/hedgehog.git","svn_url":"https://github.com/arhbkb/hedgehog","homepage":null,"size":893,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"dns-stats:develop","ref":"develop","sha":"c2e97464632570e4cfbeaa52dc5471b25f54bf06","user":{"login":"dns-stats","id":8169622,"avatar_url":"https://avatars.githubusercontent.com/u/8169622?v=3","gravatar_id":"","url":"https://api.github.com/users/dns-stats","html_url":"https://github.com/dns-stats","followers_url":"https://api.github.com/users/dns-stats/followers","following_url":"https://api.github.com/users/dns-stats/following{/other_user}","gists_url":"https://api.github.com/users/dns-stats/gists{/gist_id}","starred_url":"https://api.github.com/users/dns-stats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dns-stats/subscriptions","organizations_url":"https://api.github.com/users/dns-stats/orgs","repos_url":"https://api.github.com/users/dns-stats/repos","events_url":"https://api.github.com/users/dns-stats/events{/privacy}","received_events_url":"https://api.github.com/users/dns-stats/received_events","type":"Organization","site_admin":false},"repo":{"id":21860712,"name":"hedgehog","full_name":"dns-stats/hedgehog","owner":{"login":"dns-stats","id":8169622,"avatar_url":"https://avatars.githubusercontent.com/u/8169622?v=3","gravatar_id":"","url":"https://api.github.com/users/dns-stats","html_url":"https://github.com/dns-stats","followers_url":"https://api.github.com/users/dns-stats/followers","following_url":"https://api.github.com/users/dns-stats/following{/other_user}","gists_url":"https://api.github.com/users/dns-stats/gists{/gist_id}","starred_url":"https://api.github.com/users/dns-stats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dns-stats/subscriptions","organizations_url":"https://api.github.com/users/dns-stats/orgs","repos_url":"https://api.github.com/users/dns-stats/repos","events_url":"https://api.github.com/users/dns-stats/events{/privacy}","received_events_url":"https://api.github.com/users/dns-stats/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dns-stats/hedgehog","description":"Hedgehog DNS Statistics Presenter","fork":false,"url":"https://api.github.com/repos/dns-stats/hedgehog","forks_url":"https://api.github.com/repos/dns-stats/hedgehog/forks","keys_url":"https://api.github.com/repos/dns-stats/hedgehog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dns-stats/hedgehog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dns-stats/hedgehog/teams","hooks_url":"https://api.github.com/repos/dns-stats/hedgehog/hooks","issue_events_url":"https://api.github.com/repos/dns-stats/hedgehog/issues/events{/number}","events_url":"https://api.github.com/repos/dns-stats/hedgehog/events","assignees_url":"https://api.github.com/repos/dns-stats/hedgehog/assignees{/user}","branches_url":"https://api.github.com/repos/dns-stats/hedgehog/branches{/branch}","tags_url":"https://api.github.com/repos/dns-stats/hedgehog/tags","blobs_url":"https://api.github.com/repos/dns-stats/hedgehog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dns-stats/hedgehog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dns-stats/hedgehog/git/refs{/sha}","trees_url":"https://api.github.com/repos/dns-stats/hedgehog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dns-stats/hedgehog/statuses/{sha}","languages_url":"https://api.github.com/repos/dns-stats/hedgehog/languages","stargazers_url":"https://api.github.com/repos/dns-stats/hedgehog/stargazers","contributors_url":"https://api.github.com/repos/dns-stats/hedgehog/contributors","subscribers_url":"https://api.github.com/repos/dns-stats/hedgehog/subscribers","subscription_url":"https://api.github.com/repos/dns-stats/hedgehog/subscription","commits_url":"https://api.github.com/repos/dns-stats/hedgehog/commits{/sha}","git_commits_url":"https://api.github.com/repos/dns-stats/hedgehog/git/commits{/sha}","comments_url":"https://api.github.com/repos/dns-stats/hedgehog/comments{/number}","issue_comment_url":"https://api.github.com/repos/dns-stats/hedgehog/issues/comments/{number}","contents_url":"https://api.github.com/repos/dns-stats/hedgehog/contents/{+path}","compare_url":"https://api.github.com/repos/dns-stats/hedgehog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dns-stats/hedgehog/merges","archive_url":"https://api.github.com/repos/dns-stats/hedgehog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dns-stats/hedgehog/downloads","issues_url":"https://api.github.com/repos/dns-stats/hedgehog/issues{/number}","pulls_url":"https://api.github.com/repos/dns-stats/hedgehog/pulls{/number}","milestones_url":"https://api.github.com/repos/dns-stats/hedgehog/milestones{/number}","notifications_url":"https://api.github.com/repos/dns-stats/hedgehog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dns-stats/hedgehog/labels{/name}","releases_url":"https://api.github.com/repos/dns-stats/hedgehog/releases{/id}","created_at":"2014-07-15T13:31:02Z","updated_at":"2015-02-06T14:08:55Z","pushed_at":"2015-02-11T13:33:03Z","git_url":"git://github.com/dns-stats/hedgehog.git","ssh_url":"git@github.com:dns-stats/hedgehog.git","clone_url":"https://github.com/dns-stats/hedgehog.git","svn_url":"https://github.com/dns-stats/hedgehog","homepage":null,"size":1760,"stargazers_count":6,"watchers_count":6,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":13,"forks":7,"open_issues":13,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dns-stats/hedgehog/pulls/35"},"html":{"href":"https://github.com/dns-stats/hedgehog/pull/35"},"issue":{"href":"https://api.github.com/repos/dns-stats/hedgehog/issues/35"},"comments":{"href":"https://api.github.com/repos/dns-stats/hedgehog/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/dns-stats/hedgehog/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/dns-stats/hedgehog/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/dns-stats/hedgehog/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/dns-stats/hedgehog/statuses/4a05535c2a5132b8a7a0a663a9fc3517b8d4528a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"johndickinson","id":4339661,"avatar_url":"https://avatars.githubusercontent.com/u/4339661?v=3","gravatar_id":"","url":"https://api.github.com/users/johndickinson","html_url":"https://github.com/johndickinson","followers_url":"https://api.github.com/users/johndickinson/followers","following_url":"https://api.github.com/users/johndickinson/following{/other_user}","gists_url":"https://api.github.com/users/johndickinson/gists{/gist_id}","starred_url":"https://api.github.com/users/johndickinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johndickinson/subscriptions","organizations_url":"https://api.github.com/users/johndickinson/orgs","repos_url":"https://api.github.com/users/johndickinson/repos","events_url":"https://api.github.com/users/johndickinson/events{/privacy}","received_events_url":"https://api.github.com/users/johndickinson/received_events","type":"User","site_admin":false},"comments":1,"review_comments":3,"commits":1,"additions":24,"deletions":30,"changed_files":1}}