{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/paas-admin/pulls/comments/166898768","pull_request_review_id":95030557,"id":166898768,"diff_hunk":"@@ -0,0 +1,6 @@\n+language: node_js\n+install:\n+  - npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN -q\n+  - npm install --verbose\n+script:","path":".travis.yml","position":5,"original_position":5,"commit_id":"cd408425d6e42c47d9b2b5ddbf638352c1d2d031","original_commit_id":"cd408425d6e42c47d9b2b5ddbf638352c1d2d031","user":{"login":"chrisfarms","id":45921,"avatar_url":"https://avatars2.githubusercontent.com/u/45921?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisfarms","html_url":"https://github.com/chrisfarms","followers_url":"https://api.github.com/users/chrisfarms/followers","following_url":"https://api.github.com/users/chrisfarms/following{/other_user}","gists_url":"https://api.github.com/users/chrisfarms/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisfarms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisfarms/subscriptions","organizations_url":"https://api.github.com/users/chrisfarms/orgs","repos_url":"https://api.github.com/users/chrisfarms/repos","events_url":"https://api.github.com/users/chrisfarms/events{/privacy}","received_events_url":"https://api.github.com/users/chrisfarms/received_events","type":"User","site_admin":false},"body":"I still think it's clearer with the lines in the travis config.\r\n\r\nWhat do you think we are missing out on?","created_at":"2018-02-08T10:56:52Z","updated_at":"2018-02-08T10:56:52Z","html_url":"https://github.com/alphagov/paas-admin/pull/2#discussion_r166898768","pull_request_url":"https://api.github.com/repos/alphagov/paas-admin/pulls/2","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/alphagov/paas-admin/pulls/comments/166898768"},"html":{"href":"https://github.com/alphagov/paas-admin/pull/2#discussion_r166898768"},"pull_request":{"href":"https://api.github.com/repos/alphagov/paas-admin/pulls/2"}},"in_reply_to_id":166736253},"pull_request":{"url":"https://api.github.com/repos/alphagov/paas-admin/pulls/2","id":167746903,"html_url":"https://github.com/alphagov/paas-admin/pull/2","diff_url":"https://github.com/alphagov/paas-admin/pull/2.diff","patch_url":"https://github.com/alphagov/paas-admin/pull/2.patch","issue_url":"https://api.github.com/repos/alphagov/paas-admin/issues/2","number":2,"state":"open","locked":false,"title":"[#154526390] Node.js Boilerplate","user":{"login":"chrisfarms","id":45921,"avatar_url":"https://avatars2.githubusercontent.com/u/45921?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisfarms","html_url":"https://github.com/chrisfarms","followers_url":"https://api.github.com/users/chrisfarms/followers","following_url":"https://api.github.com/users/chrisfarms/following{/other_user}","gists_url":"https://api.github.com/users/chrisfarms/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisfarms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisfarms/subscriptions","organizations_url":"https://api.github.com/users/chrisfarms/orgs","repos_url":"https://api.github.com/users/chrisfarms/repos","events_url":"https://api.github.com/users/chrisfarms/events{/privacy}","received_events_url":"https://api.github.com/users/chrisfarms/received_events","type":"User","site_admin":false},"body":"# What\r\n\r\nWe have created a starter/boilerplate for building a well tested and well structured node.js application running on paas styled with the new [GOV.UK Design System](https://govuk-design-system-production.cloudapps.digital)\r\n\r\nKey points:\r\n\r\n* Opinionated javascript linting using `xo`.\r\n* Uses webpack to manage the dependencies of the application\r\n* Uses the GOV.UK template from govuk_template_jinja project\r\n* Configured to allow easily importing components from\r\n  govuk-fronend project\r\n  protection middleware\r\n* Structure is 'feature' focused\r\n* Webserver is an express app, each dir is a logical section ie\r\n  'space' which contains handler code, test code and templates.\r\n* Nunjucks templating to take advantage of the govuk-frontend macros\r\n* 100% test coverage is enforced by istambul/nyc\r\n* tests use node-tap for it's simplicity, good docs, async support and\r\n  integration with the other tools\r\n* helpful `npm run *` scripts for linting/testing/fixing\r\n* Ready to deploy to GOV.UK PaaS via `npm run production:push`\r\n* Travis runs tests targetting node 8\r\n* Hot code reloading when using `npm run dev:start`\r\n* Structured logging setup via pino (and prettified during dev mode)\r\n* Content Security Policy enforced by helmet middleware\r\n* .editorconfig to end whitespace wars\r\n\r\n# How to review\r\n\r\n* check out this branch\r\n* read the README ... or just run `npm install` then `npm start` and `npm test`\r\n* have a poke around ... maybe configure your editor to use [xo](https://github.com/sindresorhus/xo) linting\r\n* Imagine you are tasked to \"create a page at `/buttons` with a button on it\" ... and try and do it\r\n\r\n# Who can review\r\n\r\nNot @carolinegreen or @chrisfarms\r\n\r\n@paroxp would be a good candidate or anyone with a bit of nodejs knowledge.\r\n","created_at":"2018-02-07T16:45:47Z","updated_at":"2018-02-08T10:56:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d0e1baa6a8bb4f3a4f20f70f2c8b24f9fd360a75","assignee":{"login":"paroxp","id":2418945,"avatar_url":"https://avatars3.githubusercontent.com/u/2418945?v=4","gravatar_id":"","url":"https://api.github.com/users/paroxp","html_url":"https://github.com/paroxp","followers_url":"https://api.github.com/users/paroxp/followers","following_url":"https://api.github.com/users/paroxp/following{/other_user}","gists_url":"https://api.github.com/users/paroxp/gists{/gist_id}","starred_url":"https://api.github.com/users/paroxp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paroxp/subscriptions","organizations_url":"https://api.github.com/users/paroxp/orgs","repos_url":"https://api.github.com/users/paroxp/repos","events_url":"https://api.github.com/users/paroxp/events{/privacy}","received_events_url":"https://api.github.com/users/paroxp/received_events","type":"User","site_admin":false},"assignees":[{"login":"paroxp","id":2418945,"avatar_url":"https://avatars3.githubusercontent.com/u/2418945?v=4","gravatar_id":"","url":"https://api.github.com/users/paroxp","html_url":"https://github.com/paroxp","followers_url":"https://api.github.com/users/paroxp/followers","following_url":"https://api.github.com/users/paroxp/following{/other_user}","gists_url":"https://api.github.com/users/paroxp/gists{/gist_id}","starred_url":"https://api.github.com/users/paroxp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paroxp/subscriptions","organizations_url":"https://api.github.com/users/paroxp/orgs","repos_url":"https://api.github.com/users/paroxp/repos","events_url":"https://api.github.com/users/paroxp/events{/privacy}","received_events_url":"https://api.github.com/users/paroxp/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/paas-admin/pulls/2/commits","review_comments_url":"https://api.github.com/repos/alphagov/paas-admin/pulls/2/comments","review_comment_url":"https://api.github.com/repos/alphagov/paas-admin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/paas-admin/issues/2/comments","statuses_url":"https://api.github.com/repos/alphagov/paas-admin/statuses/cd408425d6e42c47d9b2b5ddbf638352c1d2d031","head":{"label":"alphagov:bootstrap-node-admin-154526390","ref":"bootstrap-node-admin-154526390","sha":"cd408425d6e42c47d9b2b5ddbf638352c1d2d031","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":113037599,"name":"paas-admin","full_name":"alphagov/paas-admin","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/paas-admin","description":null,"fork":false,"url":"https://api.github.com/repos/alphagov/paas-admin","forks_url":"https://api.github.com/repos/alphagov/paas-admin/forks","keys_url":"https://api.github.com/repos/alphagov/paas-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/paas-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/paas-admin/teams","hooks_url":"https://api.github.com/repos/alphagov/paas-admin/hooks","issue_events_url":"https://api.github.com/repos/alphagov/paas-admin/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/paas-admin/events","assignees_url":"https://api.github.com/repos/alphagov/paas-admin/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/paas-admin/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/paas-admin/tags","blobs_url":"https://api.github.com/repos/alphagov/paas-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/paas-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/paas-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/paas-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/paas-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/paas-admin/languages","stargazers_url":"https://api.github.com/repos/alphagov/paas-admin/stargazers","contributors_url":"https://api.github.com/repos/alphagov/paas-admin/contributors","subscribers_url":"https://api.github.com/repos/alphagov/paas-admin/subscribers","subscription_url":"https://api.github.com/repos/alphagov/paas-admin/subscription","commits_url":"https://api.github.com/repos/alphagov/paas-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/paas-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/paas-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/paas-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/paas-admin/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/paas-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/paas-admin/merges","archive_url":"https://api.github.com/repos/alphagov/paas-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/paas-admin/downloads","issues_url":"https://api.github.com/repos/alphagov/paas-admin/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/paas-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/paas-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/paas-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/paas-admin/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/paas-admin/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/paas-admin/deployments","created_at":"2017-12-04T12:07:40Z","updated_at":"2018-02-07T18:13:33Z","pushed_at":"2018-02-07T18:18:18Z","git_url":"git://github.com/alphagov/paas-admin.git","ssh_url":"git@github.com:alphagov/paas-admin.git","clone_url":"https://github.com/alphagov/paas-admin.git","svn_url":"https://github.com/alphagov/paas-admin","homepage":null,"size":323,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"uaa-auth-153072577"}},"base":{"label":"alphagov:node-master","ref":"node-master","sha":"a1e884b24b3a5c65a456525c4449149519ce8d8d","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":113037599,"name":"paas-admin","full_name":"alphagov/paas-admin","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/paas-admin","description":null,"fork":false,"url":"https://api.github.com/repos/alphagov/paas-admin","forks_url":"https://api.github.com/repos/alphagov/paas-admin/forks","keys_url":"https://api.github.com/repos/alphagov/paas-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/paas-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/paas-admin/teams","hooks_url":"https://api.github.com/repos/alphagov/paas-admin/hooks","issue_events_url":"https://api.github.com/repos/alphagov/paas-admin/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/paas-admin/events","assignees_url":"https://api.github.com/repos/alphagov/paas-admin/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/paas-admin/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/paas-admin/tags","blobs_url":"https://api.github.com/repos/alphagov/paas-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/paas-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/paas-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/paas-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/paas-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/paas-admin/languages","stargazers_url":"https://api.github.com/repos/alphagov/paas-admin/stargazers","contributors_url":"https://api.github.com/repos/alphagov/paas-admin/contributors","subscribers_url":"https://api.github.com/repos/alphagov/paas-admin/subscribers","subscription_url":"https://api.github.com/repos/alphagov/paas-admin/subscription","commits_url":"https://api.github.com/repos/alphagov/paas-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/paas-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/paas-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/paas-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/paas-admin/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/paas-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/paas-admin/merges","archive_url":"https://api.github.com/repos/alphagov/paas-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/paas-admin/downloads","issues_url":"https://api.github.com/repos/alphagov/paas-admin/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/paas-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/paas-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/paas-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/paas-admin/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/paas-admin/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/paas-admin/deployments","created_at":"2017-12-04T12:07:40Z","updated_at":"2018-02-07T18:13:33Z","pushed_at":"2018-02-07T18:18:18Z","git_url":"git://github.com/alphagov/paas-admin.git","ssh_url":"git@github.com:alphagov/paas-admin.git","clone_url":"https://github.com/alphagov/paas-admin.git","svn_url":"https://github.com/alphagov/paas-admin","homepage":null,"size":323,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"uaa-auth-153072577"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/paas-admin/pulls/2"},"html":{"href":"https://github.com/alphagov/paas-admin/pull/2"},"issue":{"href":"https://api.github.com/repos/alphagov/paas-admin/issues/2"},"comments":{"href":"https://api.github.com/repos/alphagov/paas-admin/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/paas-admin/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/paas-admin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/paas-admin/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/paas-admin/statuses/cd408425d6e42c47d9b2b5ddbf638352c1d2d031"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"chrisfarms"}}