{"action":"created","comment":{"url":"https://api.github.com/repos/mholt/caddy/pulls/comments/221085566","pull_request_review_id":159650100,"id":221085566,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTA4NTU2Ng==","diff_hunk":"@@ -306,9 +306,11 @@ func prepQuery(domainName string, config QueryConfig) (query string) {\n \treturn query\n }\n \n-func putLatestID(currentID int, fileName string) error {\n-\twriteValue := strconv.Itoa(currentID)\n-\treturn ioutil.WriteFile(fileName, []byte(writeValue), 0600)\n+func putLatestIndex(config QueryConfig) error {\n+\t//writeValue := strconv.Itoa(currentID)","path":"caddytls/ctmonitor.go","position":310,"original_position":129,"commit_id":"508f5d4f42eddd1f34855ce54158bfcc35c6340a","original_commit_id":"508f5d4f42eddd1f34855ce54158bfcc35c6340a","user":{"login":"mholt","id":1128849,"node_id":"MDQ6VXNlcjExMjg4NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/1128849?v=4","gravatar_id":"","url":"https://api.github.com/users/mholt","html_url":"https://github.com/mholt","followers_url":"https://api.github.com/users/mholt/followers","following_url":"https://api.github.com/users/mholt/following{/other_user}","gists_url":"https://api.github.com/users/mholt/gists{/gist_id}","starred_url":"https://api.github.com/users/mholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mholt/subscriptions","organizations_url":"https://api.github.com/users/mholt/orgs","repos_url":"https://api.github.com/users/mholt/repos","events_url":"https://api.github.com/users/mholt/events{/privacy}","received_events_url":"https://api.github.com/users/mholt/received_events","type":"User","site_admin":false},"body":"Remove stray comment, and remove extra line below","created_at":"2018-09-27T21:37:44Z","updated_at":"2018-09-27T21:39:01Z","html_url":"https://github.com/mholt/caddy/pull/2274#discussion_r221085566","pull_request_url":"https://api.github.com/repos/mholt/caddy/pulls/2274","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/mholt/caddy/pulls/comments/221085566"},"html":{"href":"https://github.com/mholt/caddy/pull/2274#discussion_r221085566"},"pull_request":{"href":"https://api.github.com/repos/mholt/caddy/pulls/2274"}}},"pull_request":{"url":"https://api.github.com/repos/mholt/caddy/pulls/2274","id":210156722,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMTU2NzIy","html_url":"https://github.com/mholt/caddy/pull/2274","diff_url":"https://github.com/mholt/caddy/pull/2274.diff","patch_url":"https://github.com/mholt/caddy/pull/2274.patch","issue_url":"https://api.github.com/repos/mholt/caddy/issues/2274","number":2274,"state":"open","locked":false,"title":"caddytls: Implement CT monitor","user":{"login":"cgatrell","id":35239672,"node_id":"MDQ6VXNlcjM1MjM5Njcy","avatar_url":"https://avatars3.githubusercontent.com/u/35239672?v=4","gravatar_id":"","url":"https://api.github.com/users/cgatrell","html_url":"https://github.com/cgatrell","followers_url":"https://api.github.com/users/cgatrell/followers","following_url":"https://api.github.com/users/cgatrell/following{/other_user}","gists_url":"https://api.github.com/users/cgatrell/gists{/gist_id}","starred_url":"https://api.github.com/users/cgatrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgatrell/subscriptions","organizations_url":"https://api.github.com/users/cgatrell/orgs","repos_url":"https://api.github.com/users/cgatrell/repos","events_url":"https://api.github.com/users/cgatrell/events{/privacy}","received_events_url":"https://api.github.com/users/cgatrell/received_events","type":"User","site_admin":false},"body":"<!--\r\nThank you for contributing to Caddy! Please fill this out to help us make the most of your pull request.\r\n-->\r\n\r\n### 1. What does this change do, exactly?\r\nThis change creates a new thread that will query the cert spotter API to get a list of certificates that have been issued for your domain names, and compares them to the ones that you have for caddy.\r\n\r\n### 2. Please link to the relevant issues.\r\n\r\n\r\n### 3. Which documentation changes (if any) need to be made because of this PR?\r\n\r\n\r\n### 4. Checklist\r\n\r\n- [ ] I have written tests and verified that they fail without my change\r\n- [x] I have squashed any insignificant commits\r\n- [x] This change has comments for package types, values, functions, and non-obvious lines of code\r\n- [x] I am willing to help maintain this change if there are issues with it later\r\n","created_at":"2018-08-22T14:38:06Z","updated_at":"2018-09-27T21:39:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c32c7e360e6a3bf7f2e991833f216eb31b010df7","assignee":{"login":"mholt","id":1128849,"node_id":"MDQ6VXNlcjExMjg4NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/1128849?v=4","gravatar_id":"","url":"https://api.github.com/users/mholt","html_url":"https://github.com/mholt","followers_url":"https://api.github.com/users/mholt/followers","following_url":"https://api.github.com/users/mholt/following{/other_user}","gists_url":"https://api.github.com/users/mholt/gists{/gist_id}","starred_url":"https://api.github.com/users/mholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mholt/subscriptions","organizations_url":"https://api.github.com/users/mholt/orgs","repos_url":"https://api.github.com/users/mholt/repos","events_url":"https://api.github.com/users/mholt/events{/privacy}","received_events_url":"https://api.github.com/users/mholt/received_events","type":"User","site_admin":false},"assignees":[{"login":"mholt","id":1128849,"node_id":"MDQ6VXNlcjExMjg4NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/1128849?v=4","gravatar_id":"","url":"https://api.github.com/users/mholt","html_url":"https://github.com/mholt","followers_url":"https://api.github.com/users/mholt/followers","following_url":"https://api.github.com/users/mholt/following{/other_user}","gists_url":"https://api.github.com/users/mholt/gists{/gist_id}","starred_url":"https://api.github.com/users/mholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mholt/subscriptions","organizations_url":"https://api.github.com/users/mholt/orgs","repos_url":"https://api.github.com/users/mholt/repos","events_url":"https://api.github.com/users/mholt/events{/privacy}","received_events_url":"https://api.github.com/users/mholt/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":523433654,"node_id":"MDU6TGFiZWw1MjM0MzM2NTQ=","url":"https://api.github.com/repos/mholt/caddy/labels/needs%20tests","name":"needs tests","color":"0052cc","default":false},{"id":208447183,"node_id":"MDU6TGFiZWwyMDg0NDcxODM=","url":"https://api.github.com/repos/mholt/caddy/labels/under%20review","name":"under review","color":"0052cc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mholt/caddy/pulls/2274/commits","review_comments_url":"https://api.github.com/repos/mholt/caddy/pulls/2274/comments","review_comment_url":"https://api.github.com/repos/mholt/caddy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mholt/caddy/issues/2274/comments","statuses_url":"https://api.github.com/repos/mholt/caddy/statuses/508f5d4f42eddd1f34855ce54158bfcc35c6340a","head":{"label":"cgatrell:master","ref":"master","sha":"508f5d4f42eddd1f34855ce54158bfcc35c6340a","user":{"login":"cgatrell","id":35239672,"node_id":"MDQ6VXNlcjM1MjM5Njcy","avatar_url":"https://avatars3.githubusercontent.com/u/35239672?v=4","gravatar_id":"","url":"https://api.github.com/users/cgatrell","html_url":"https://github.com/cgatrell","followers_url":"https://api.github.com/users/cgatrell/followers","following_url":"https://api.github.com/users/cgatrell/following{/other_user}","gists_url":"https://api.github.com/users/cgatrell/gists{/gist_id}","starred_url":"https://api.github.com/users/cgatrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgatrell/subscriptions","organizations_url":"https://api.github.com/users/cgatrell/orgs","repos_url":"https://api.github.com/users/cgatrell/repos","events_url":"https://api.github.com/users/cgatrell/events{/privacy}","received_events_url":"https://api.github.com/users/cgatrell/received_events","type":"User","site_admin":false},"repo":{"id":135495385,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU0OTUzODU=","name":"caddy","full_name":"cgatrell/caddy","private":false,"owner":{"login":"cgatrell","id":35239672,"node_id":"MDQ6VXNlcjM1MjM5Njcy","avatar_url":"https://avatars3.githubusercontent.com/u/35239672?v=4","gravatar_id":"","url":"https://api.github.com/users/cgatrell","html_url":"https://github.com/cgatrell","followers_url":"https://api.github.com/users/cgatrell/followers","following_url":"https://api.github.com/users/cgatrell/following{/other_user}","gists_url":"https://api.github.com/users/cgatrell/gists{/gist_id}","starred_url":"https://api.github.com/users/cgatrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgatrell/subscriptions","organizations_url":"https://api.github.com/users/cgatrell/orgs","repos_url":"https://api.github.com/users/cgatrell/repos","events_url":"https://api.github.com/users/cgatrell/events{/privacy}","received_events_url":"https://api.github.com/users/cgatrell/received_events","type":"User","site_admin":false},"html_url":"https://github.com/cgatrell/caddy","description":"Fast, cross-platform HTTP/2 web server with automatic HTTPS","fork":true,"url":"https://api.github.com/repos/cgatrell/caddy","forks_url":"https://api.github.com/repos/cgatrell/caddy/forks","keys_url":"https://api.github.com/repos/cgatrell/caddy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cgatrell/caddy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cgatrell/caddy/teams","hooks_url":"https://api.github.com/repos/cgatrell/caddy/hooks","issue_events_url":"https://api.github.com/repos/cgatrell/caddy/issues/events{/number}","events_url":"https://api.github.com/repos/cgatrell/caddy/events","assignees_url":"https://api.github.com/repos/cgatrell/caddy/assignees{/user}","branches_url":"https://api.github.com/repos/cgatrell/caddy/branches{/branch}","tags_url":"https://api.github.com/repos/cgatrell/caddy/tags","blobs_url":"https://api.github.com/repos/cgatrell/caddy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cgatrell/caddy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cgatrell/caddy/git/refs{/sha}","trees_url":"https://api.github.com/repos/cgatrell/caddy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cgatrell/caddy/statuses/{sha}","languages_url":"https://api.github.com/repos/cgatrell/caddy/languages","stargazers_url":"https://api.github.com/repos/cgatrell/caddy/stargazers","contributors_url":"https://api.github.com/repos/cgatrell/caddy/contributors","subscribers_url":"https://api.github.com/repos/cgatrell/caddy/subscribers","subscription_url":"https://api.github.com/repos/cgatrell/caddy/subscription","commits_url":"https://api.github.com/repos/cgatrell/caddy/commits{/sha}","git_commits_url":"https://api.github.com/repos/cgatrell/caddy/git/commits{/sha}","comments_url":"https://api.github.com/repos/cgatrell/caddy/comments{/number}","issue_comment_url":"https://api.github.com/repos/cgatrell/caddy/issues/comments{/number}","contents_url":"https://api.github.com/repos/cgatrell/caddy/contents/{+path}","compare_url":"https://api.github.com/repos/cgatrell/caddy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cgatrell/caddy/merges","archive_url":"https://api.github.com/repos/cgatrell/caddy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cgatrell/caddy/downloads","issues_url":"https://api.github.com/repos/cgatrell/caddy/issues{/number}","pulls_url":"https://api.github.com/repos/cgatrell/caddy/pulls{/number}","milestones_url":"https://api.github.com/repos/cgatrell/caddy/milestones{/number}","notifications_url":"https://api.github.com/repos/cgatrell/caddy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cgatrell/caddy/labels{/name}","releases_url":"https://api.github.com/repos/cgatrell/caddy/releases{/id}","deployments_url":"https://api.github.com/repos/cgatrell/caddy/deployments","created_at":"2018-05-30T20:40:55Z","updated_at":"2018-09-26T01:31:36Z","pushed_at":"2018-09-26T01:31:33Z","git_url":"git://github.com/cgatrell/caddy.git","ssh_url":"git@github.com:cgatrell/caddy.git","clone_url":"https://github.com/cgatrell/caddy.git","svn_url":"https://github.com/cgatrell/caddy","homepage":"https://caddyserver.com","size":7809,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mholt:ctmonitor","ref":"ctmonitor","sha":"13f9c34d161693c1c0828fea3750d01c068174b6","user":{"login":"mholt","id":1128849,"node_id":"MDQ6VXNlcjExMjg4NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/1128849?v=4","gravatar_id":"","url":"https://api.github.com/users/mholt","html_url":"https://github.com/mholt","followers_url":"https://api.github.com/users/mholt/followers","following_url":"https://api.github.com/users/mholt/following{/other_user}","gists_url":"https://api.github.com/users/mholt/gists{/gist_id}","starred_url":"https://api.github.com/users/mholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mholt/subscriptions","organizations_url":"https://api.github.com/users/mholt/orgs","repos_url":"https://api.github.com/users/mholt/repos","events_url":"https://api.github.com/users/mholt/events{/privacy}","received_events_url":"https://api.github.com/users/mholt/received_events","type":"User","site_admin":false},"repo":{"id":29207621,"node_id":"MDEwOlJlcG9zaXRvcnkyOTIwNzYyMQ==","name":"caddy","full_name":"mholt/caddy","private":false,"owner":{"login":"mholt","id":1128849,"node_id":"MDQ6VXNlcjExMjg4NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/1128849?v=4","gravatar_id":"","url":"https://api.github.com/users/mholt","html_url":"https://github.com/mholt","followers_url":"https://api.github.com/users/mholt/followers","following_url":"https://api.github.com/users/mholt/following{/other_user}","gists_url":"https://api.github.com/users/mholt/gists{/gist_id}","starred_url":"https://api.github.com/users/mholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mholt/subscriptions","organizations_url":"https://api.github.com/users/mholt/orgs","repos_url":"https://api.github.com/users/mholt/repos","events_url":"https://api.github.com/users/mholt/events{/privacy}","received_events_url":"https://api.github.com/users/mholt/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mholt/caddy","description":"Fast, cross-platform HTTP/2 web server with automatic HTTPS","fork":false,"url":"https://api.github.com/repos/mholt/caddy","forks_url":"https://api.github.com/repos/mholt/caddy/forks","keys_url":"https://api.github.com/repos/mholt/caddy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mholt/caddy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mholt/caddy/teams","hooks_url":"https://api.github.com/repos/mholt/caddy/hooks","issue_events_url":"https://api.github.com/repos/mholt/caddy/issues/events{/number}","events_url":"https://api.github.com/repos/mholt/caddy/events","assignees_url":"https://api.github.com/repos/mholt/caddy/assignees{/user}","branches_url":"https://api.github.com/repos/mholt/caddy/branches{/branch}","tags_url":"https://api.github.com/repos/mholt/caddy/tags","blobs_url":"https://api.github.com/repos/mholt/caddy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mholt/caddy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mholt/caddy/git/refs{/sha}","trees_url":"https://api.github.com/repos/mholt/caddy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mholt/caddy/statuses/{sha}","languages_url":"https://api.github.com/repos/mholt/caddy/languages","stargazers_url":"https://api.github.com/repos/mholt/caddy/stargazers","contributors_url":"https://api.github.com/repos/mholt/caddy/contributors","subscribers_url":"https://api.github.com/repos/mholt/caddy/subscribers","subscription_url":"https://api.github.com/repos/mholt/caddy/subscription","commits_url":"https://api.github.com/repos/mholt/caddy/commits{/sha}","git_commits_url":"https://api.github.com/repos/mholt/caddy/git/commits{/sha}","comments_url":"https://api.github.com/repos/mholt/caddy/comments{/number}","issue_comment_url":"https://api.github.com/repos/mholt/caddy/issues/comments{/number}","contents_url":"https://api.github.com/repos/mholt/caddy/contents/{+path}","compare_url":"https://api.github.com/repos/mholt/caddy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mholt/caddy/merges","archive_url":"https://api.github.com/repos/mholt/caddy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mholt/caddy/downloads","issues_url":"https://api.github.com/repos/mholt/caddy/issues{/number}","pulls_url":"https://api.github.com/repos/mholt/caddy/pulls{/number}","milestones_url":"https://api.github.com/repos/mholt/caddy/milestones{/number}","notifications_url":"https://api.github.com/repos/mholt/caddy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mholt/caddy/labels{/name}","releases_url":"https://api.github.com/repos/mholt/caddy/releases{/id}","deployments_url":"https://api.github.com/repos/mholt/caddy/deployments","created_at":"2015-01-13T19:45:03Z","updated_at":"2018-09-27T18:13:58Z","pushed_at":"2018-09-27T03:07:56Z","git_url":"git://github.com/mholt/caddy.git","ssh_url":"git@github.com:mholt/caddy.git","clone_url":"https://github.com/mholt/caddy.git","svn_url":"https://github.com/mholt/caddy","homepage":"https://caddyserver.com","size":7699,"stargazers_count":18589,"watchers_count":18589,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1424,"mirror_url":null,"archived":false,"open_issues_count":131,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1424,"open_issues":131,"watchers":18589,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mholt/caddy/pulls/2274"},"html":{"href":"https://github.com/mholt/caddy/pull/2274"},"issue":{"href":"https://api.github.com/repos/mholt/caddy/issues/2274"},"comments":{"href":"https://api.github.com/repos/mholt/caddy/issues/2274/comments"},"review_comments":{"href":"https://api.github.com/repos/mholt/caddy/pulls/2274/comments"},"review_comment":{"href":"https://api.github.com/repos/mholt/caddy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mholt/caddy/pulls/2274/commits"},"statuses":{"href":"https://api.github.com/repos/mholt/caddy/statuses/508f5d4f42eddd1f34855ce54158bfcc35c6340a"}},"author_association":"NONE"}}
{"actor":{"display_login":"mholt"}}