{"action":"created","comment":{"url":"https://api.github.com/repos/letsencrypt/boulder/pulls/comments/56100193","id":56100193,"diff_hunk":"@@ -0,0 +1,225 @@\n+package main\n+\n+import (\n+\t\"bufio\"\n+\t\"bytes\"\n+\t\"encoding/base64\"\n+\t\"flag\"\n+\t\"fmt\"\n+\t\"log\"\n+\t\"net\"\n+\t\"net/http\"\n+\t\"net/mail\"\n+\t\"regexp\"\n+\t\"strings\"\n+\t\"sync\"\n+\n+\t\"github.com/letsencrypt/boulder/Godeps/_workspace/src/github.com/cactus/go-statsd-client/statsd\"\n+\n+\t\"github.com/letsencrypt/boulder/cmd\"\n+\tblog \"github.com/letsencrypt/boulder/log\"\n+)\n+\n+var apiPort = flag.String(\"http\", \"9381\", \"http port to listen on\")\n+\n+type rcvdMail struct {\n+\tFrom string\n+\tTo   string\n+\tMail string\n+}\n+\n+var allReceivedMail []rcvdMail\n+var allMailMutex sync.Mutex\n+\n+func expectLine(buf *bufio.Reader, expected string) error {\n+\tline, _, err := buf.ReadLine()\n+\tif err != nil {\n+\t\treturn fmt.Errorf(\"readline: %v\", err)\n+\t}\n+\tif string(line) != expected {\n+\t\treturn fmt.Errorf(\"Expected %s, got %s\", expected, line)\n+\t}\n+\treturn nil\n+}\n+\n+func getLine(buf *bufio.Reader) (string, error) {\n+\tline, _, err := buf.ReadLine()\n+\tif err != nil {\n+\t\treturn \"\", fmt.Errorf(\"readline: %v\", err)\n+\t}\n+\treturn string(line), nil\n+}\n+\n+var mailFromRegex = regexp.MustCompile(\"^MAIL FROM:<(.*)>\\\\s*BODY=8BITMIME\\\\s*$\")\n+var rcptToRegex = regexp.MustCompile(\"^RCPT TO:<(.*)>\\\\s*$\")\n+var dataRegex = regexp.MustCompile(\"^DATA\\\\s*$\")\n+var smtpErr501 = []byte(\"501 syntax error in parameters or arguments \\r\\n\")\n+var smtpOk250 = []byte(\"250 OK \\r\\n\")\n+var authLine string\n+\n+func handleConn(conn net.Conn) {\n+\tdefer conn.Close()\n+\tauditlogger := blog.GetAuditLogger()\n+\tauditlogger.Info(fmt.Sprintf(\"mailcatch: Got connection from %s\", conn.RemoteAddr()))\n+\n+\treadBuf := bufio.NewReader(conn)\n+\tconn.Write([]byte(\"220 smtp.example.com ESMTP\\r\\n\"))\n+\tif err := expectLine(readBuf, \"EHLO localhost\"); err != nil {\n+\t\tlog.Printf(\"mailcatch: %s: %v\\n\", conn.RemoteAddr(), err)\n+\t\treturn\n+\t}\n+\tconn.Write([]byte(\"250-PIPELINING\\r\\n\"))\n+\tconn.Write([]byte(\"250-AUTH PLAIN LOGIN\\r\\n\"))\n+\tconn.Write([]byte(\"250 8BITMIME\\r\\n\"))\n+\tif err := expectLine(readBuf, authLine); err != nil {\n+\t\tlog.Printf(\"mailcatch: %s: %v\\n\", conn.RemoteAddr(), err)\n+\t\treturn\n+\t}\n+\tconn.Write([]byte(\"235 2.7.0 Authentication successful\\r\\n\"))\n+\tauditlogger.Info(fmt.Sprintf(\"mailcatch: Successful auth from %s\", conn.RemoteAddr()))\n+\t// == END authentication\n+\n+\t// necessary commands:\n+\t// MAIL RCPT DATA QUIT\n+\n+\tvar fromAddr string\n+\tvar toAddr []string\n+\tvar msgBuf bytes.Buffer\n+\n+\tclearState := func() {\n+\t\tfromAddr = \"\"\n+\t\ttoAddr = nil\n+\t\tmsgBuf = bytes.Buffer{}\n+\t}\n+\n+\tvar quit = false\n+\tfor !quit {\n+\t\tline, err := getLine(readBuf)\n+\t\tif err != nil {\n+\t\t\tlog.Printf(\"mailcatch: %s: getline: %v\\n\", conn.RemoteAddr(), err)\n+\t\t\treturn\n+\t\t}\n+\n+\t\tcmdSplit := strings.SplitN(line, \" \", 2)\n+\t\tcmd := cmdSplit[0]\n+\t\tswitch cmd {\n+\t\tcase \"QUIT\":\n+\t\t\tquit = true\n+\t\t\tconn.Write([]byte(\"221 Bye \\r\\n\"))\n+\t\t\tbreak\n+\t\tcase \"RSET\":\n+\t\t\tclearState()\n+\t\t\tconn.Write(smtpOk250)\n+\t\tcase \"NOOP\":\n+\t\t\tconn.Write(smtpOk250)\n+\t\tcase \"MAIL\":\n+\t\t\tclearState()\n+\t\t\tmatches := mailFromRegex.FindStringSubmatch(line)\n+\t\t\tif matches == nil {\n+\t\t\t\tlog.Printf(\"mailcatch: %s: MAIL FROM parse error\\n\", conn.RemoteAddr())\n+\t\t\t\tconn.Write(smtpErr501)\n+\t\t\t\tcontinue\n+\t\t\t}\n+\t\t\taddr, err := mail.ParseAddress(matches[1])\n+\t\t\tif err != nil {\n+\t\t\t\tlog.Printf(\"mailcatch: %s: addr parse error: %v\\n\", conn.RemoteAddr(), err)\n+\t\t\t\tconn.Write(smtpErr501)\n+\t\t\t\tcontinue\n+\t\t\t}\n+\t\t\tfromAddr = addr.Address\n+\t\t\tconn.Write(smtpOk250)\n+\t\tcase \"RCPT\":\n+\t\t\tmatches := rcptToRegex.FindStringSubmatch(line)\n+\t\t\tif matches == nil {\n+\t\t\t\tconn.Write(smtpErr501)\n+\t\t\t\tcontinue\n+\t\t\t}\n+\t\t\taddr, err := mail.ParseAddress(matches[1])\n+\t\t\tif err != nil {\n+\t\t\t\tlog.Printf(\"mailcatch: %s: addr parse error: %v\\n\", conn.RemoteAddr(), err)\n+\t\t\t\tconn.Write(smtpErr501)\n+\t\t\t\tcontinue\n+\t\t\t}\n+\t\t\ttoAddr = append(toAddr, addr.Address)\n+\t\t\tconn.Write(smtpOk250)\n+\t\tcase \"DATA\":\n+\t\t\tconn.Write([]byte(\"354 Start mail input \\r\\n\"))\n+\n+\t\t\tfor {\n+\t\t\t\tline, err := getLine(readBuf)\n+\t\t\t\tif err != nil {\n+\t\t\t\t\tlog.Printf(\"mailcatch: %s: getline: %v\\n\", conn.RemoteAddr(), err)\n+\t\t\t\t\treturn\n+\t\t\t\t}\n+\t\t\t\tmsgBuf.WriteString(line)\n+\t\t\t\tmsgBuf.WriteString(\"\\r\\n\")\n+\t\t\t\tif strings.HasSuffix(msgBuf.String(), \"\\r\\n.\\r\\n\") {\n+\t\t\t\t\tbreak\n+\t\t\t\t}\n+\t\t\t}\n+\n+\t\t\tmailResult := rcvdMail{\n+\t\t\t\tFrom: fromAddr,\n+\t\t\t\tMail: msgBuf.String(),\n+\t\t\t}\n+\t\t\tallMailMutex.Lock()\n+\t\t\tfor _, rcpt := range toAddr {\n+\t\t\t\tmailResult.To = rcpt\n+\t\t\t\tallReceivedMail = append(allReceivedMail, mailResult)\n+\t\t\t\tlog.Printf(\"mailcatch: Got mail: %s -> %s\\n\", fromAddr, rcpt)\n+\t\t\t}\n+\t\t\tallMailMutex.Unlock()\n+\t\t\tconn.Write([]byte(\"250 Got mail \\r\\n\"))\n+\t\t\tclearState()","path":"test/mail-test-srv/main.go","position":173,"original_position":173,"commit_id":"9b8ed627c66f4ca37a4e7635af9b14fc19b81264","original_commit_id":"9b8ed627c66f4ca37a4e7635af9b14fc19b81264","user":{"login":"jsha","id":220205,"avatar_url":"https://avatars.githubusercontent.com/u/220205?v=3","gravatar_id":"","url":"https://api.github.com/users/jsha","html_url":"https://github.com/jsha","followers_url":"https://api.github.com/users/jsha/followers","following_url":"https://api.github.com/users/jsha/following{/other_user}","gists_url":"https://api.github.com/users/jsha/gists{/gist_id}","starred_url":"https://api.github.com/users/jsha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsha/subscriptions","organizations_url":"https://api.github.com/users/jsha/orgs","repos_url":"https://api.github.com/users/jsha/repos","events_url":"https://api.github.com/users/jsha/events{/privacy}","received_events_url":"https://api.github.com/users/jsha/received_events","type":"User","site_admin":false},"body":"msgBuf should be scoped to this particular select clause, since it's used nowhere else.","created_at":"2016-03-15T00:41:20Z","updated_at":"2016-03-15T00:41:20Z","html_url":"https://github.com/letsencrypt/boulder/pull/1612#discussion_r56100193","pull_request_url":"https://api.github.com/repos/letsencrypt/boulder/pulls/1612","_links":{"self":{"href":"https://api.github.com/repos/letsencrypt/boulder/pulls/comments/56100193"},"html":{"href":"https://github.com/letsencrypt/boulder/pull/1612#discussion_r56100193"},"pull_request":{"href":"https://api.github.com/repos/letsencrypt/boulder/pulls/1612"}}},"pull_request":{"url":"https://api.github.com/repos/letsencrypt/boulder/pulls/1612","id":62811115,"html_url":"https://github.com/letsencrypt/boulder/pull/1612","diff_url":"https://github.com/letsencrypt/boulder/pull/1612.diff","patch_url":"https://github.com/letsencrypt/boulder/pull/1612.patch","issue_url":"https://api.github.com/repos/letsencrypt/boulder/issues/1612","number":1612,"state":"open","locked":false,"title":"Add integration tests for expiry mailer","user":{"login":"riking","id":627891,"avatar_url":"https://avatars.githubusercontent.com/u/627891?v=3","gravatar_id":"","url":"https://api.github.com/users/riking","html_url":"https://github.com/riking","followers_url":"https://api.github.com/users/riking/followers","following_url":"https://api.github.com/users/riking/following{/other_user}","gists_url":"https://api.github.com/users/riking/gists{/gist_id}","starred_url":"https://api.github.com/users/riking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riking/subscriptions","organizations_url":"https://api.github.com/users/riking/orgs","repos_url":"https://api.github.com/users/riking/repos","events_url":"https://api.github.com/users/riking/events{/privacy}","received_events_url":"https://api.github.com/users/riking/received_events","type":"User","site_admin":false},"body":"This creates a new command, 'mailcatch', which is a simplistic SMTP\r\nserver that accepts mail and can report the received mail over HTTP.\r\n\r\nThe FAKECLOCK environment variable is used to force the expiry mailer to\r\nthink that the just-issued certificate is about to expire.\r\n\r\nAdditionally, the expiry mailer is modified to cleanly shut down its\r\nSMTP connections.\r\n\r\nFixes #1557 ","created_at":"2016-03-14T20:22:55Z","updated_at":"2016-03-15T00:41:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f28424fb6e2a7b3d16e2aef1b61c85cb9e50ca89","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/letsencrypt/boulder/pulls/1612/commits","review_comments_url":"https://api.github.com/repos/letsencrypt/boulder/pulls/1612/comments","review_comment_url":"https://api.github.com/repos/letsencrypt/boulder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/letsencrypt/boulder/issues/1612/comments","statuses_url":"https://api.github.com/repos/letsencrypt/boulder/statuses/9b8ed627c66f4ca37a4e7635af9b14fc19b81264","head":{"label":"letsencrypt:mailcatch","ref":"mailcatch","sha":"9b8ed627c66f4ca37a4e7635af9b14fc19b81264","user":{"login":"letsencrypt","id":9289019,"avatar_url":"https://avatars.githubusercontent.com/u/9289019?v=3","gravatar_id":"","url":"https://api.github.com/users/letsencrypt","html_url":"https://github.com/letsencrypt","followers_url":"https://api.github.com/users/letsencrypt/followers","following_url":"https://api.github.com/users/letsencrypt/following{/other_user}","gists_url":"https://api.github.com/users/letsencrypt/gists{/gist_id}","starred_url":"https://api.github.com/users/letsencrypt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/letsencrypt/subscriptions","organizations_url":"https://api.github.com/users/letsencrypt/orgs","repos_url":"https://api.github.com/users/letsencrypt/repos","events_url":"https://api.github.com/users/letsencrypt/events{/privacy}","received_events_url":"https://api.github.com/users/letsencrypt/received_events","type":"Organization","site_admin":false},"repo":{"id":28283593,"name":"boulder","full_name":"letsencrypt/boulder","owner":{"login":"letsencrypt","id":9289019,"avatar_url":"https://avatars.githubusercontent.com/u/9289019?v=3","gravatar_id":"","url":"https://api.github.com/users/letsencrypt","html_url":"https://github.com/letsencrypt","followers_url":"https://api.github.com/users/letsencrypt/followers","following_url":"https://api.github.com/users/letsencrypt/following{/other_user}","gists_url":"https://api.github.com/users/letsencrypt/gists{/gist_id}","starred_url":"https://api.github.com/users/letsencrypt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/letsencrypt/subscriptions","organizations_url":"https://api.github.com/users/letsencrypt/orgs","repos_url":"https://api.github.com/users/letsencrypt/repos","events_url":"https://api.github.com/users/letsencrypt/events{/privacy}","received_events_url":"https://api.github.com/users/letsencrypt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/letsencrypt/boulder","description":"An ACME-based CA, written in Go.","fork":false,"url":"https://api.github.com/repos/letsencrypt/boulder","forks_url":"https://api.github.com/repos/letsencrypt/boulder/forks","keys_url":"https://api.github.com/repos/letsencrypt/boulder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/letsencrypt/boulder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/letsencrypt/boulder/teams","hooks_url":"https://api.github.com/repos/letsencrypt/boulder/hooks","issue_events_url":"https://api.github.com/repos/letsencrypt/boulder/issues/events{/number}","events_url":"https://api.github.com/repos/letsencrypt/boulder/events","assignees_url":"https://api.github.com/repos/letsencrypt/boulder/assignees{/user}","branches_url":"https://api.github.com/repos/letsencrypt/boulder/branches{/branch}","tags_url":"https://api.github.com/repos/letsencrypt/boulder/tags","blobs_url":"https://api.github.com/repos/letsencrypt/boulder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/letsencrypt/boulder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/letsencrypt/boulder/git/refs{/sha}","trees_url":"https://api.github.com/repos/letsencrypt/boulder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/letsencrypt/boulder/statuses/{sha}","languages_url":"https://api.github.com/repos/letsencrypt/boulder/languages","stargazers_url":"https://api.github.com/repos/letsencrypt/boulder/stargazers","contributors_url":"https://api.github.com/repos/letsencrypt/boulder/contributors","subscribers_url":"https://api.github.com/repos/letsencrypt/boulder/subscribers","subscription_url":"https://api.github.com/repos/letsencrypt/boulder/subscription","commits_url":"https://api.github.com/repos/letsencrypt/boulder/commits{/sha}","git_commits_url":"https://api.github.com/repos/letsencrypt/boulder/git/commits{/sha}","comments_url":"https://api.github.com/repos/letsencrypt/boulder/comments{/number}","issue_comment_url":"https://api.github.com/repos/letsencrypt/boulder/issues/comments{/number}","contents_url":"https://api.github.com/repos/letsencrypt/boulder/contents/{+path}","compare_url":"https://api.github.com/repos/letsencrypt/boulder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/letsencrypt/boulder/merges","archive_url":"https://api.github.com/repos/letsencrypt/boulder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/letsencrypt/boulder/downloads","issues_url":"https://api.github.com/repos/letsencrypt/boulder/issues{/number}","pulls_url":"https://api.github.com/repos/letsencrypt/boulder/pulls{/number}","milestones_url":"https://api.github.com/repos/letsencrypt/boulder/milestones{/number}","notifications_url":"https://api.github.com/repos/letsencrypt/boulder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/letsencrypt/boulder/labels{/name}","releases_url":"https://api.github.com/repos/letsencrypt/boulder/releases{/id}","deployments_url":"https://api.github.com/repos/letsencrypt/boulder/deployments","created_at":"2014-12-21T00:29:54Z","updated_at":"2016-03-11T15:23:34Z","pushed_at":"2016-03-15T00:19:53Z","git_url":"git://github.com/letsencrypt/boulder.git","ssh_url":"git@github.com:letsencrypt/boulder.git","clone_url":"https://github.com/letsencrypt/boulder.git","svn_url":"https://github.com/letsencrypt/boulder","homepage":null,"size":18312,"stargazers_count":1118,"watchers_count":1118,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":135,"mirror_url":null,"open_issues_count":296,"forks":135,"open_issues":296,"watchers":1118,"default_branch":"master"}},"base":{"label":"letsencrypt:master","ref":"master","sha":"58e27c0964a62772e7864e8a12e565ef8a975035","user":{"login":"letsencrypt","id":9289019,"avatar_url":"https://avatars.githubusercontent.com/u/9289019?v=3","gravatar_id":"","url":"https://api.github.com/users/letsencrypt","html_url":"https://github.com/letsencrypt","followers_url":"https://api.github.com/users/letsencrypt/followers","following_url":"https://api.github.com/users/letsencrypt/following{/other_user}","gists_url":"https://api.github.com/users/letsencrypt/gists{/gist_id}","starred_url":"https://api.github.com/users/letsencrypt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/letsencrypt/subscriptions","organizations_url":"https://api.github.com/users/letsencrypt/orgs","repos_url":"https://api.github.com/users/letsencrypt/repos","events_url":"https://api.github.com/users/letsencrypt/events{/privacy}","received_events_url":"https://api.github.com/users/letsencrypt/received_events","type":"Organization","site_admin":false},"repo":{"id":28283593,"name":"boulder","full_name":"letsencrypt/boulder","owner":{"login":"letsencrypt","id":9289019,"avatar_url":"https://avatars.githubusercontent.com/u/9289019?v=3","gravatar_id":"","url":"https://api.github.com/users/letsencrypt","html_url":"https://github.com/letsencrypt","followers_url":"https://api.github.com/users/letsencrypt/followers","following_url":"https://api.github.com/users/letsencrypt/following{/other_user}","gists_url":"https://api.github.com/users/letsencrypt/gists{/gist_id}","starred_url":"https://api.github.com/users/letsencrypt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/letsencrypt/subscriptions","organizations_url":"https://api.github.com/users/letsencrypt/orgs","repos_url":"https://api.github.com/users/letsencrypt/repos","events_url":"https://api.github.com/users/letsencrypt/events{/privacy}","received_events_url":"https://api.github.com/users/letsencrypt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/letsencrypt/boulder","description":"An ACME-based CA, written in Go.","fork":false,"url":"https://api.github.com/repos/letsencrypt/boulder","forks_url":"https://api.github.com/repos/letsencrypt/boulder/forks","keys_url":"https://api.github.com/repos/letsencrypt/boulder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/letsencrypt/boulder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/letsencrypt/boulder/teams","hooks_url":"https://api.github.com/repos/letsencrypt/boulder/hooks","issue_events_url":"https://api.github.com/repos/letsencrypt/boulder/issues/events{/number}","events_url":"https://api.github.com/repos/letsencrypt/boulder/events","assignees_url":"https://api.github.com/repos/letsencrypt/boulder/assignees{/user}","branches_url":"https://api.github.com/repos/letsencrypt/boulder/branches{/branch}","tags_url":"https://api.github.com/repos/letsencrypt/boulder/tags","blobs_url":"https://api.github.com/repos/letsencrypt/boulder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/letsencrypt/boulder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/letsencrypt/boulder/git/refs{/sha}","trees_url":"https://api.github.com/repos/letsencrypt/boulder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/letsencrypt/boulder/statuses/{sha}","languages_url":"https://api.github.com/repos/letsencrypt/boulder/languages","stargazers_url":"https://api.github.com/repos/letsencrypt/boulder/stargazers","contributors_url":"https://api.github.com/repos/letsencrypt/boulder/contributors","subscribers_url":"https://api.github.com/repos/letsencrypt/boulder/subscribers","subscription_url":"https://api.github.com/repos/letsencrypt/boulder/subscription","commits_url":"https://api.github.com/repos/letsencrypt/boulder/commits{/sha}","git_commits_url":"https://api.github.com/repos/letsencrypt/boulder/git/commits{/sha}","comments_url":"https://api.github.com/repos/letsencrypt/boulder/comments{/number}","issue_comment_url":"https://api.github.com/repos/letsencrypt/boulder/issues/comments{/number}","contents_url":"https://api.github.com/repos/letsencrypt/boulder/contents/{+path}","compare_url":"https://api.github.com/repos/letsencrypt/boulder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/letsencrypt/boulder/merges","archive_url":"https://api.github.com/repos/letsencrypt/boulder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/letsencrypt/boulder/downloads","issues_url":"https://api.github.com/repos/letsencrypt/boulder/issues{/number}","pulls_url":"https://api.github.com/repos/letsencrypt/boulder/pulls{/number}","milestones_url":"https://api.github.com/repos/letsencrypt/boulder/milestones{/number}","notifications_url":"https://api.github.com/repos/letsencrypt/boulder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/letsencrypt/boulder/labels{/name}","releases_url":"https://api.github.com/repos/letsencrypt/boulder/releases{/id}","deployments_url":"https://api.github.com/repos/letsencrypt/boulder/deployments","created_at":"2014-12-21T00:29:54Z","updated_at":"2016-03-11T15:23:34Z","pushed_at":"2016-03-15T00:19:53Z","git_url":"git://github.com/letsencrypt/boulder.git","ssh_url":"git@github.com:letsencrypt/boulder.git","clone_url":"https://github.com/letsencrypt/boulder.git","svn_url":"https://github.com/letsencrypt/boulder","homepage":null,"size":18312,"stargazers_count":1118,"watchers_count":1118,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":135,"mirror_url":null,"open_issues_count":296,"forks":135,"open_issues":296,"watchers":1118,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/letsencrypt/boulder/pulls/1612"},"html":{"href":"https://github.com/letsencrypt/boulder/pull/1612"},"issue":{"href":"https://api.github.com/repos/letsencrypt/boulder/issues/1612"},"comments":{"href":"https://api.github.com/repos/letsencrypt/boulder/issues/1612/comments"},"review_comments":{"href":"https://api.github.com/repos/letsencrypt/boulder/pulls/1612/comments"},"review_comment":{"href":"https://api.github.com/repos/letsencrypt/boulder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/letsencrypt/boulder/pulls/1612/commits"},"statuses":{"href":"https://api.github.com/repos/letsencrypt/boulder/statuses/9b8ed627c66f4ca37a4e7635af9b14fc19b81264"}}}}