{"action":"created","comment":{"url":"https://api.github.com/repos/letsencrypt/boulder/pulls/comments/40969480","id":40969480,"diff_hunk":"@@ -107,97 +203,105 @@ func (updater *OCSPUpdater) processResponse(tx *gorp.Transaction, serial string)\n \treturn nil\n }\n \n-// Produce one OCSP response for the given serial, returning err\n-// if anything went wrong. This method will open and commit a transaction.\n-func (updater *OCSPUpdater) updateOneSerial(serial string) error {\n-\tinnerStart := time.Now()\n-\t// Each response gets a transaction. In the future we can increase\n-\t// performance by batching transactions.\n-\t// The key thing to think through is the cost of rollbacks, and whether\n-\t// we should rollback if CA/HSM fails to sign the response or only\n-\t// upon a partial DB insert.\n-\ttx, err := updater.dbMap.Begin()\n+// newCertificateTick checks for certificates issued since the last tick and\n+// generates and stores OCSP responses for these certs\n+func (updater *OCSPUpdater) newCertificateTick(batchSize int) {\n+\t// Check for anything issued between now and previous tick and generate first\n+\t// OCSP responses\n+\tstatuses, err := updater.getCertificatesWithMissingResponses(batchSize)\n \tif err != nil {\n-\t\tupdater.log.Err(fmt.Sprintf(\"OCSP %s: Error starting transaction, aborting: %s\", serial, err))\n-\t\tupdater.stats.Inc(\"OCSP.Updates.Failed\", 1, 1.0)\n-\t\ttx.Rollback()\n-\t\t// Failure to begin transaction is a fatal error.\n-\t\treturn FatalError(err.Error())\n+\t\treturn\n \t}\n \n-\tif err := updater.processResponse(tx, serial); err != nil {\n-\t\tupdater.log.Err(fmt.Sprintf(\"OCSP %s: Could not process OCSP Response, skipping: %s\", serial, err))\n-\t\tupdater.stats.Inc(\"OCSP.Updates.Failed\", 1, 1.0)\n-\t\ttx.Rollback()\n-\t\treturn err\n+\tupdater.generateOCSPResponses(statuses)\n+}\n+\n+func (updater *OCSPUpdater) generateOCSPResponses(statuses []core.CertificateStatus) {\n+\tresponses := []responseMeta{}\n+\tfor _, status := range statuses {\n+\t\tmeta, err := updater.generateResponse(status)\n+\t\tif err != nil {\n+\t\t\tupdater.log.AuditErr(fmt.Errorf(\"Failed to generate OCSP response: %s\", err))\n+\t\t\tupdater.stats.Inc(\"OCSP.Errors.ResponseGeneration\", 1, 1.0)\n+\t\t\tcontinue\n+\t\t}\n+\t\tresponses = append(responses, meta)\n+\t\tupdater.stats.Inc(\"OCSP.GeneratedResponses\", 1, 1.0)\n \t}\n \n+\ttx, err := updater.dbMap.Begin()\n+\tif err != nil {\n+\t\tupdater.log.AuditErr(fmt.Errorf(\"Failed to open OCSP response transaction: %s\", err))\n+\t\tupdater.stats.Inc(\"OCSP.Errors.OpenTransaction\", 1, 1.0)\n+\t\treturn\n+\t}\n+\tfor _, meta := range responses {\n+\t\terr = updater.storeResponse(tx, meta)\n+\t\tif err != nil {\n+\t\t\tupdater.log.AuditErr(fmt.Errorf(\"Failed to store OCSP response: %s\", err))\n+\t\t\tupdater.stats.Inc(\"OCSP.Errors.StoreResponse\", 1, 1.0)\n+\t\t\ttx.Rollback()\n+\t\t\treturn\n+\t\t}\n+\t}\n \terr = tx.Commit()\n \tif err != nil {\n-\t\tupdater.log.Err(fmt.Sprintf(\"OCSP %s: Error committing transaction, skipping: %s\", serial, err))\n-\t\tupdater.stats.Inc(\"OCSP.Updates.Failed\", 1, 1.0)\n-\t\ttx.Rollback()\n-\t\treturn err\n+\t\tupdater.log.AuditErr(fmt.Errorf(\"Failed to commit OCSP response transaction: %s\", err))\n+\t\tupdater.stats.Inc(\"OCSP.Errors.CommitTransaction\", 1, 1.0)\n+\t\treturn\n \t}\n+\tupdater.stats.Inc(\"OCSP.StoredResponses\", int64(len(responses)), 1.0)\n \n-\tupdater.log.Info(fmt.Sprintf(\"OCSP %s: OK\", serial))\n-\tupdater.stats.Inc(\"OCSP.Updates.Processed\", 1, 1.0)\n-\tupdater.stats.TimingDuration(\"OCSP.Updates.UpdateLatency\", time.Since(innerStart), 1.0)\n-\treturn nil\n+\treturn\n }\n \n-// findStaleResponses opens a transaction and processes up to responseLimit\n-// responses in a single batch. The responseLimit should be relatively small,\n-// so as to limit the chance of the transaction failing due to concurrent\n-// updates.\n-func (updater *OCSPUpdater) findStaleResponses(oldestLastUpdatedTime time.Time, responseLimit int) error {\n-\tvar certificateStatus []core.CertificateStatus\n-\t_, err := updater.dbMap.Select(&certificateStatus,\n-\t\t`SELECT cs.* FROM certificateStatus AS cs JOIN certificates AS cert ON cs.serial = cert.serial\n-\t\t WHERE cs.ocspLastUpdated < ? AND cert.expires > now()\n-\t\t ORDER BY cs.ocspLastUpdated ASC\n-\t\t LIMIT ?`, oldestLastUpdatedTime, responseLimit)\n+// oldOCSPResponsesTick looks for certificates with stale OCSP responses and\n+// generates/stores new ones\n+func (updater *OCSPUpdater) oldOCSPResponsesTick(batchSize int) {\n+\tnow := time.Now()\n+\tstatuses, err := updater.findStaleOCSPResponses(now.Add(-updater.ocspMinTimeToExpiry), batchSize)\n+\tif err != nil {\n+\t\tupdater.stats.Inc(\"OCSP.Errors.FindStaleResponses\", 1, 1.0)\n+\t\tupdater.log.AuditErr(fmt.Errorf(\"Failed to find stale OCSP responses: %s\", err))\n+\t\treturn\n+\t}\n \n-\tif err == sql.ErrNoRows {\n-\t\tupdater.log.Info(\"All up to date. No OCSP responses needed.\")\n-\t} else if err != nil {\n-\t\tupdater.log.Err(fmt.Sprintf(\"Error loading certificate status: %s\", err))\n-\t} else {\n-\t\tupdater.log.Info(fmt.Sprintf(\"Processing OCSP Responses...\\n\"))\n-\t\touterStart := time.Now()\n-\n-\t\tfor i, status := range certificateStatus {\n-\t\t\tupdater.log.Debug(fmt.Sprintf(\"OCSP %s: (%d/%d)\", status.Serial, i, responseLimit))\n-\n-\t\t\terr = updater.updateOneSerial(status.Serial)\n-\t\t\t// Abort if we recieve a fatal error\n-\t\t\tif _, ok := err.(FatalError); ok {\n-\t\t\t\treturn err\n-\t\t\t}\n-\t\t}\n+\tupdater.generateOCSPResponses(statuses)\n+}\n \n-\t\tupdater.stats.TimingDuration(\"OCSP.Updates.BatchLatency\", time.Since(outerStart), 1.0)\n-\t\tupdater.stats.Inc(\"OCSP.Updates.BatchesProcessed\", 1, 1.0)\n-\t}\n+type looper struct {\n+\tclk       clock.Clock\n+\tstats     statsd.Statter\n+\tbatchSize int\n+\ttickDur   time.Duration\n+\ttickFunc  func(int)\n+\tname      string\n+}\n \n-\treturn err\n+func (l *looper) loop() {\n+\tfor {\n+\t\ttickStart := l.clk.Now()\n+\t\tl.tickFunc(l.batchSize)\n+\t\tl.stats.TimingDuration(fmt.Sprintf(\"OCSP.%s.TickDuration\", l.name), time.Since(tickStart), 1.0)\n+\t\tl.stats.Inc(fmt.Sprintf(\"OCSP.%s.Ticks\", l.name), 1, 1.0)\n+\t\ttickEnd := tickStart.Add(time.Since(tickStart))\n+\t\texpectedTickEnd := tickStart.Add(l.tickDur)\n+\t\tshortTickEnd := tickStart.Add(l.tickDur / -2)\n+\t\tif tickEnd.After(expectedTickEnd) {\n+\t\t\tl.stats.Inc(fmt.Sprintf(\"OCSP.%s.LongTicks\", l.name), 1, 1.0)\n+\t\t} else if tickEnd.Before(shortTickEnd) {","path":"cmd/ocsp-updater/main.go","position":358,"original_position":358,"commit_id":"1075d16d2787c1270901fe7a0f3ccdf10d7ce4ce","original_commit_id":"1075d16d2787c1270901fe7a0f3ccdf10d7ce4ce","user":{"login":"jmhodges","id":598,"avatar_url":"https://avatars.githubusercontent.com/u/598?v=3","gravatar_id":"","url":"https://api.github.com/users/jmhodges","html_url":"https://github.com/jmhodges","followers_url":"https://api.github.com/users/jmhodges/followers","following_url":"https://api.github.com/users/jmhodges/following{/other_user}","gists_url":"https://api.github.com/users/jmhodges/gists{/gist_id}","starred_url":"https://api.github.com/users/jmhodges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmhodges/subscriptions","organizations_url":"https://api.github.com/users/jmhodges/orgs","repos_url":"https://api.github.com/users/jmhodges/repos","events_url":"https://api.github.com/users/jmhodges/events{/privacy}","received_events_url":"https://api.github.com/users/jmhodges/received_events","type":"User","site_admin":false},"body":"per offline discussion, delete shortTickEnd (because it's not an error case), and just always sleep til expectedTickEnd (using the clock code that fixes the fake in the negative sleep case). ","created_at":"2015-10-01T21:36:36Z","updated_at":"2015-10-01T21:36:36Z","html_url":"https://github.com/letsencrypt/boulder/pull/825#discussion_r40969480","pull_request_url":"https://api.github.com/repos/letsencrypt/boulder/pulls/825","_links":{"self":{"href":"https://api.github.com/repos/letsencrypt/boulder/pulls/comments/40969480"},"html":{"href":"https://github.com/letsencrypt/boulder/pull/825#discussion_r40969480"},"pull_request":{"href":"https://api.github.com/repos/letsencrypt/boulder/pulls/825"}}},"pull_request":{"url":"https://api.github.com/repos/letsencrypt/boulder/pulls/825","id":45622779,"html_url":"https://github.com/letsencrypt/boulder/pull/825","diff_url":"https://github.com/letsencrypt/boulder/pull/825.diff","patch_url":"https://github.com/letsencrypt/boulder/pull/825.patch","issue_url":"https://api.github.com/repos/letsencrypt/boulder/issues/825","number":825,"state":"open","locked":false,"title":"Daemonize OCSP updater and move first OCSP resp. generation","user":{"login":"rolandshoemaker","id":5080674,"avatar_url":"https://avatars.githubusercontent.com/u/5080674?v=3","gravatar_id":"","url":"https://api.github.com/users/rolandshoemaker","html_url":"https://github.com/rolandshoemaker","followers_url":"https://api.github.com/users/rolandshoemaker/followers","following_url":"https://api.github.com/users/rolandshoemaker/following{/other_user}","gists_url":"https://api.github.com/users/rolandshoemaker/gists{/gist_id}","starred_url":"https://api.github.com/users/rolandshoemaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolandshoemaker/subscriptions","organizations_url":"https://api.github.com/users/rolandshoemaker/orgs","repos_url":"https://api.github.com/users/rolandshoemaker/repos","events_url":"https://api.github.com/users/rolandshoemaker/events{/privacy}","received_events_url":"https://api.github.com/users/rolandshoemaker/received_events","type":"User","site_admin":false},"body":"First steps towards #829.\r\n\r\nUpdates `github.com/jmhodges/clock` -- Tests OK\r\n\r\n```\r\n$ go test ./Godeps/_workspace/src/github.com/jmhodges/clock\r\nok  \tgithub.com/letsencrypt/boulder/Godeps/_workspace/src/github.com/jmhodges/clock\t0.002s\r\n```","created_at":"2015-09-22T02:53:16Z","updated_at":"2015-10-01T21:36:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5068828a9ae2978d6b1bd80522a8a40c25d19379","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/letsencrypt/boulder/pulls/825/commits","review_comments_url":"https://api.github.com/repos/letsencrypt/boulder/pulls/825/comments","review_comment_url":"https://api.github.com/repos/letsencrypt/boulder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/letsencrypt/boulder/issues/825/comments","statuses_url":"https://api.github.com/repos/letsencrypt/boulder/statuses/1075d16d2787c1270901fe7a0f3ccdf10d7ce4ce","head":{"label":"letsencrypt:ocsp-collapse","ref":"ocsp-collapse","sha":"1075d16d2787c1270901fe7a0f3ccdf10d7ce4ce","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}","created_at":"2014-12-21T00:29:54Z","updated_at":"2015-10-01T09:07:03Z","pushed_at":"2015-10-01T21:19:15Z","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":27250,"stargazers_count":714,"watchers_count":714,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":155,"forks":66,"open_issues":155,"watchers":714,"default_branch":"master"}},"base":{"label":"letsencrypt:master","ref":"master","sha":"b2ea6325731cc2a1922fb345a69346fe0bdb8f4b","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}","created_at":"2014-12-21T00:29:54Z","updated_at":"2015-10-01T09:07:03Z","pushed_at":"2015-10-01T21:19:15Z","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":27250,"stargazers_count":714,"watchers_count":714,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":155,"forks":66,"open_issues":155,"watchers":714,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/letsencrypt/boulder/pulls/825"},"html":{"href":"https://github.com/letsencrypt/boulder/pull/825"},"issue":{"href":"https://api.github.com/repos/letsencrypt/boulder/issues/825"},"comments":{"href":"https://api.github.com/repos/letsencrypt/boulder/issues/825/comments"},"review_comments":{"href":"https://api.github.com/repos/letsencrypt/boulder/pulls/825/comments"},"review_comment":{"href":"https://api.github.com/repos/letsencrypt/boulder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/letsencrypt/boulder/pulls/825/commits"},"statuses":{"href":"https://api.github.com/repos/letsencrypt/boulder/statuses/1075d16d2787c1270901fe7a0f3ccdf10d7ce4ce"}}}}