{"action":"created","comment":{"url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/pulls/comments/74916561","id":74916561,"diff_hunk":"@@ -1,66 +1,100 @@\n 'use strict';\n \n const app = require('express')();\n+const hof = require('hof');\n const churchill = require('churchill');\n const path = require('path');\n-const hofMiddleware = require('hof').middleware;\n+const http = require('http');\n+const https = require('https');\n const router = require('./lib/router');\n const serveStatic = require('./lib/serve-static');\n const sessionStore = require('./lib/sessions');\n const settings = require('./lib/settings');\n const defaults = require('./lib/defaults');\n+const logger = require('./lib/logger');\n \n const getConfig = function getConfig() {\n   const args = [].slice.call(arguments);\n   return Object.assign.apply(null, [{}, defaults].concat(args));\n };\n \n-module.exports = options => {\n+const loadRoutes = config => {\n+  config.routes.forEach(route => {\n+    const routeConfig = Object.assign({}, {route}, config);\n+    app.use(router(routeConfig));\n+  });\n+};\n \n-  const load = (config) => {\n-    config.routes.forEach((route) => {\n-      const routeConfig = Object.assign({}, {route}, config);\n-      app.use(router(routeConfig));\n-    });\n-  };\n+const applyErrorMiddlewares = (config, i18n) => {\n+  app.use(hof.middleware.notFound({\n+    logger: config.logger,\n+    translate: i18n.translate.bind(i18n),\n+  }));\n+\n+  app.use(hof.middleware.errors({\n+    translate: i18n.translate.bind(i18n),\n+    debug: config.env === 'development'\n+  }));\n+};\n+\n+const getI18n = (config) =>\n+  hof.i18n({\n+    path: path.resolve(config.caller, config.translations) + '/__lng__/__ns__.json'\n+  });\n+\n+module.exports = options => {\n \n   const bootstrap = {\n \n+    server: null,\n+\n     use: middleware => {\n       app.use(middleware);\n+      return bootstrap;\n     },\n \n     start: config => {\n-      // eslint-disable-next-line consistent-return\n-      return new Promise((resolve, reject) => {\n-        if (config.start !== false) {\n-          if (!config.protocol) {\n-            config = getConfig(options, config);\n-          }\n-          bootstrap.server = require(config.protocol).createServer(app);\n-          try {\n-            bootstrap.server.listen(config.port, config.host, () => {\n-              return resolve(bootstrap);\n-            });\n-          } catch (err) {\n-            return reject(err);\n-          }\n-        } else {\n-          return resolve(bootstrap);\n-        }\n-      });\n+      if (!config) {\n+        config = getConfig(options, config);\n+      }\n+\n+      const protocol = config.protocol === 'http' ? http : https;\n+\n+      bootstrap.server = protocol.createServer(app);\n+\n+      applyErrorMiddlewares(config, getI18n(config));\n+\n+      bootstrap.server.listen(config.port, config.port);\n+      return bootstrap;\n     },\n \n-    stop: () => {\n-      bootstrap.server.close();\n+    stop: (callback) => {\n+      const interval = setInterval(() => {\n+        bootstrap.server.close(() => {\n+          clearInterval(interval);\n+        });\n+      }, 0);\n+\n+      if (callback) {\n+        callback(bootstrap.server);\n+      }\n+      return bootstrap;\n     }\n \n   };\n \n   const config = getConfig(options);\n+  const i18n = getI18n(config);","path":"index.js","position":115,"original_position":115,"commit_id":"bb18f5ea63e0cfeed4a46d9036b7344e3dfac1e8","original_commit_id":"bb18f5ea63e0cfeed4a46d9036b7344e3dfac1e8","user":{"login":"joefitter","id":3604142,"avatar_url":"https://avatars.githubusercontent.com/u/3604142?v=3","gravatar_id":"","url":"https://api.github.com/users/joefitter","html_url":"https://github.com/joefitter","followers_url":"https://api.github.com/users/joefitter/followers","following_url":"https://api.github.com/users/joefitter/following{/other_user}","gists_url":"https://api.github.com/users/joefitter/gists{/gist_id}","starred_url":"https://api.github.com/users/joefitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joefitter/subscriptions","organizations_url":"https://api.github.com/users/joefitter/orgs","repos_url":"https://api.github.com/users/joefitter/repos","events_url":"https://api.github.com/users/joefitter/events{/privacy}","received_events_url":"https://api.github.com/users/joefitter/received_events","type":"User","site_admin":false},"body":"Sorry, I just meant the same as above - can't we init inline?","created_at":"2016-08-16T11:21:32Z","updated_at":"2016-08-16T11:21:32Z","html_url":"https://github.com/UKHomeOffice/hof-bootstrap/pull/46#discussion_r74916561","pull_request_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/pulls/comments/74916561"},"html":{"href":"https://github.com/UKHomeOffice/hof-bootstrap/pull/46#discussion_r74916561"},"pull_request":{"href":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/pulls/46","id":81152234,"html_url":"https://github.com/UKHomeOffice/hof-bootstrap/pull/46","diff_url":"https://github.com/UKHomeOffice/hof-bootstrap/pull/46.diff","patch_url":"https://github.com/UKHomeOffice/hof-bootstrap/pull/46.patch","issue_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/issues/46","number":46,"state":"open","locked":false,"title":"Return bootstrap interface object, not a promise","user":{"login":"JoeChapman","id":1274835,"avatar_url":"https://avatars.githubusercontent.com/u/1274835?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeChapman","html_url":"https://github.com/JoeChapman","followers_url":"https://api.github.com/users/JoeChapman/followers","following_url":"https://api.github.com/users/JoeChapman/following{/other_user}","gists_url":"https://api.github.com/users/JoeChapman/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeChapman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeChapman/subscriptions","organizations_url":"https://api.github.com/users/JoeChapman/orgs","repos_url":"https://api.github.com/users/JoeChapman/repos","events_url":"https://api.github.com/users/JoeChapman/events{/privacy}","received_events_url":"https://api.github.com/users/JoeChapman/received_events","type":"User","site_admin":false},"body":"### This will be a breaking change\r\n\r\n- make interface chaninable by returning bootstrap from interface methods\r\n- remove promise so no more `then`\r\n- apply error middleware in the start method so middleware applied with `bootstrap.use` will be applied before error md.\r\n- move some set up to functions outside of module definition\r\n- update readme documentation\r\n- also, fixed lint error in lib/router","created_at":"2016-08-12T17:11:05Z","updated_at":"2016-08-16T11:21:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b6f911e80808f5cd6823ef71dc5a73563b227c0","assignee":{"login":"easternbloc","id":92585,"avatar_url":"https://avatars.githubusercontent.com/u/92585?v=3","gravatar_id":"","url":"https://api.github.com/users/easternbloc","html_url":"https://github.com/easternbloc","followers_url":"https://api.github.com/users/easternbloc/followers","following_url":"https://api.github.com/users/easternbloc/following{/other_user}","gists_url":"https://api.github.com/users/easternbloc/gists{/gist_id}","starred_url":"https://api.github.com/users/easternbloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easternbloc/subscriptions","organizations_url":"https://api.github.com/users/easternbloc/orgs","repos_url":"https://api.github.com/users/easternbloc/repos","events_url":"https://api.github.com/users/easternbloc/events{/privacy}","received_events_url":"https://api.github.com/users/easternbloc/received_events","type":"User","site_admin":false},"assignees":[{"login":"easternbloc","id":92585,"avatar_url":"https://avatars.githubusercontent.com/u/92585?v=3","gravatar_id":"","url":"https://api.github.com/users/easternbloc","html_url":"https://github.com/easternbloc","followers_url":"https://api.github.com/users/easternbloc/followers","following_url":"https://api.github.com/users/easternbloc/following{/other_user}","gists_url":"https://api.github.com/users/easternbloc/gists{/gist_id}","starred_url":"https://api.github.com/users/easternbloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easternbloc/subscriptions","organizations_url":"https://api.github.com/users/easternbloc/orgs","repos_url":"https://api.github.com/users/easternbloc/repos","events_url":"https://api.github.com/users/easternbloc/events{/privacy}","received_events_url":"https://api.github.com/users/easternbloc/received_events","type":"User","site_admin":false},{"login":"danielepolencic","id":1130499,"avatar_url":"https://avatars.githubusercontent.com/u/1130499?v=3","gravatar_id":"","url":"https://api.github.com/users/danielepolencic","html_url":"https://github.com/danielepolencic","followers_url":"https://api.github.com/users/danielepolencic/followers","following_url":"https://api.github.com/users/danielepolencic/following{/other_user}","gists_url":"https://api.github.com/users/danielepolencic/gists{/gist_id}","starred_url":"https://api.github.com/users/danielepolencic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielepolencic/subscriptions","organizations_url":"https://api.github.com/users/danielepolencic/orgs","repos_url":"https://api.github.com/users/danielepolencic/repos","events_url":"https://api.github.com/users/danielepolencic/events{/privacy}","received_events_url":"https://api.github.com/users/danielepolencic/received_events","type":"User","site_admin":false},{"login":"JoeChapman","id":1274835,"avatar_url":"https://avatars.githubusercontent.com/u/1274835?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeChapman","html_url":"https://github.com/JoeChapman","followers_url":"https://api.github.com/users/JoeChapman/followers","following_url":"https://api.github.com/users/JoeChapman/following{/other_user}","gists_url":"https://api.github.com/users/JoeChapman/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeChapman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeChapman/subscriptions","organizations_url":"https://api.github.com/users/JoeChapman/orgs","repos_url":"https://api.github.com/users/JoeChapman/repos","events_url":"https://api.github.com/users/JoeChapman/events{/privacy}","received_events_url":"https://api.github.com/users/JoeChapman/received_events","type":"User","site_admin":false},{"login":"joefitter","id":3604142,"avatar_url":"https://avatars.githubusercontent.com/u/3604142?v=3","gravatar_id":"","url":"https://api.github.com/users/joefitter","html_url":"https://github.com/joefitter","followers_url":"https://api.github.com/users/joefitter/followers","following_url":"https://api.github.com/users/joefitter/following{/other_user}","gists_url":"https://api.github.com/users/joefitter/gists{/gist_id}","starred_url":"https://api.github.com/users/joefitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joefitter/subscriptions","organizations_url":"https://api.github.com/users/joefitter/orgs","repos_url":"https://api.github.com/users/joefitter/repos","events_url":"https://api.github.com/users/joefitter/events{/privacy}","received_events_url":"https://api.github.com/users/joefitter/received_events","type":"User","site_admin":false},{"login":"daniel-ac-martin","id":10604229,"avatar_url":"https://avatars.githubusercontent.com/u/10604229?v=3","gravatar_id":"","url":"https://api.github.com/users/daniel-ac-martin","html_url":"https://github.com/daniel-ac-martin","followers_url":"https://api.github.com/users/daniel-ac-martin/followers","following_url":"https://api.github.com/users/daniel-ac-martin/following{/other_user}","gists_url":"https://api.github.com/users/daniel-ac-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-ac-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-ac-martin/subscriptions","organizations_url":"https://api.github.com/users/daniel-ac-martin/orgs","repos_url":"https://api.github.com/users/daniel-ac-martin/repos","events_url":"https://api.github.com/users/daniel-ac-martin/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-ac-martin/received_events","type":"User","site_admin":false},{"login":"bendiggle","id":11047071,"avatar_url":"https://avatars.githubusercontent.com/u/11047071?v=3","gravatar_id":"","url":"https://api.github.com/users/bendiggle","html_url":"https://github.com/bendiggle","followers_url":"https://api.github.com/users/bendiggle/followers","following_url":"https://api.github.com/users/bendiggle/following{/other_user}","gists_url":"https://api.github.com/users/bendiggle/gists{/gist_id}","starred_url":"https://api.github.com/users/bendiggle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendiggle/subscriptions","organizations_url":"https://api.github.com/users/bendiggle/orgs","repos_url":"https://api.github.com/users/bendiggle/repos","events_url":"https://api.github.com/users/bendiggle/events{/privacy}","received_events_url":"https://api.github.com/users/bendiggle/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/pulls/46/commits","review_comments_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/pulls/46/comments","review_comment_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/issues/46/comments","statuses_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/statuses/bb18f5ea63e0cfeed4a46d9036b7344e3dfac1e8","head":{"label":"UKHomeOffice:faeture/return-bootstrap","ref":"faeture/return-bootstrap","sha":"bb18f5ea63e0cfeed4a46d9036b7344e3dfac1e8","user":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars.githubusercontent.com/u/3778081?v=3","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"repo":{"id":58056833,"name":"hof-bootstrap","full_name":"UKHomeOffice/hof-bootstrap","owner":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars.githubusercontent.com/u/3778081?v=3","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UKHomeOffice/hof-bootstrap","description":"Bootstrap a HOF project","fork":false,"url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap","forks_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/forks","keys_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/teams","hooks_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/hooks","issue_events_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/events","assignees_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/tags","blobs_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/languages","stargazers_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/stargazers","contributors_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/contributors","subscribers_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/subscribers","subscription_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/subscription","commits_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/merges","archive_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/downloads","issues_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/releases{/id}","deployments_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/deployments","created_at":"2016-05-04T14:05:07Z","updated_at":"2016-06-27T08:02:15Z","pushed_at":"2016-08-12T17:11:05Z","git_url":"git://github.com/UKHomeOffice/hof-bootstrap.git","ssh_url":"git@github.com:UKHomeOffice/hof-bootstrap.git","clone_url":"https://github.com/UKHomeOffice/hof-bootstrap.git","svn_url":"https://github.com/UKHomeOffice/hof-bootstrap","homepage":null,"size":92,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":1,"default_branch":"master"}},"base":{"label":"UKHomeOffice:master","ref":"master","sha":"82b30bfeab044719e1f6bfd7956295b5c326e4db","user":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars.githubusercontent.com/u/3778081?v=3","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"repo":{"id":58056833,"name":"hof-bootstrap","full_name":"UKHomeOffice/hof-bootstrap","owner":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars.githubusercontent.com/u/3778081?v=3","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UKHomeOffice/hof-bootstrap","description":"Bootstrap a HOF project","fork":false,"url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap","forks_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/forks","keys_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/teams","hooks_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/hooks","issue_events_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/events","assignees_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/tags","blobs_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/languages","stargazers_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/stargazers","contributors_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/contributors","subscribers_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/subscribers","subscription_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/subscription","commits_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/merges","archive_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/downloads","issues_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/releases{/id}","deployments_url":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/deployments","created_at":"2016-05-04T14:05:07Z","updated_at":"2016-06-27T08:02:15Z","pushed_at":"2016-08-12T17:11:05Z","git_url":"git://github.com/UKHomeOffice/hof-bootstrap.git","ssh_url":"git@github.com:UKHomeOffice/hof-bootstrap.git","clone_url":"https://github.com/UKHomeOffice/hof-bootstrap.git","svn_url":"https://github.com/UKHomeOffice/hof-bootstrap","homepage":null,"size":92,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/pulls/46"},"html":{"href":"https://github.com/UKHomeOffice/hof-bootstrap/pull/46"},"issue":{"href":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/issues/46"},"comments":{"href":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/UKHomeOffice/hof-bootstrap/statuses/bb18f5ea63e0cfeed4a46d9036b7344e3dfac1e8"}}}}
{"actor":{"display_login":"joefitter"}}