{"action":"created","issue":{"url":"https://api.github.com/repos/tes/bosco/issues/220","repository_url":"https://api.github.com/repos/tes/bosco","labels_url":"https://api.github.com/repos/tes/bosco/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/tes/bosco/issues/220/comments","events_url":"https://api.github.com/repos/tes/bosco/issues/220/events","html_url":"https://github.com/tes/bosco/pull/220","id":222748570,"number":220,"title":"Ensure latest version","user":{"login":"rouanw","id":2362668,"avatar_url":"https://avatars3.githubusercontent.com/u/2362668?v=3","gravatar_id":"","url":"https://api.github.com/users/rouanw","html_url":"https://github.com/rouanw","followers_url":"https://api.github.com/users/rouanw/followers","following_url":"https://api.github.com/users/rouanw/following{/other_user}","gists_url":"https://api.github.com/users/rouanw/gists{/gist_id}","starred_url":"https://api.github.com/users/rouanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rouanw/subscriptions","organizations_url":"https://api.github.com/users/rouanw/orgs","repos_url":"https://api.github.com/users/rouanw/repos","events_url":"https://api.github.com/users/rouanw/events{/privacy}","received_events_url":"https://api.github.com/users/rouanw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-04-19T14:01:20Z","updated_at":"2017-04-19T16:08:47Z","closed_at":"2017-04-19T16:06:53Z","pull_request":{"url":"https://api.github.com/repos/tes/bosco/pulls/220","html_url":"https://github.com/tes/bosco/pull/220","diff_url":"https://github.com/tes/bosco/pull/220.diff","patch_url":"https://github.com/tes/bosco/pull/220.patch"},"body":"I was recently caught out because my local `nginx` was misbehaving and I didn't notice that `bosco` was out of date (on the node version used for the project I was running). Noticing would have saved me a heap of time, so from now on I want Bosco to be stricter with me.\r\n\r\n`bosco` already checks to see whether you are running the latest version. This PR introduces a 'strict mode', which will kill the current process if you're not.\r\n\r\n```js\r\n// bosco config\r\n{\r\n  // ...\r\n  \"strict\": true\r\n}\r\n```\r\n\r\nNote that the version check is asynchronous, so there will be times when `bosco` doesn't find out in time that it's out of date.\r\n\r\nFeel free to suggest better names for the setting 🐶\r\n\r\n/cc @cliftonc @andy-duncan \r\n"},"comment":{"url":"https://api.github.com/repos/tes/bosco/issues/comments/295326113","html_url":"https://github.com/tes/bosco/pull/220#issuecomment-295326113","issue_url":"https://api.github.com/repos/tes/bosco/issues/220","id":295326113,"user":{"login":"cliftonc","id":239305,"avatar_url":"https://avatars2.githubusercontent.com/u/239305?v=3","gravatar_id":"","url":"https://api.github.com/users/cliftonc","html_url":"https://github.com/cliftonc","followers_url":"https://api.github.com/users/cliftonc/followers","following_url":"https://api.github.com/users/cliftonc/following{/other_user}","gists_url":"https://api.github.com/users/cliftonc/gists{/gist_id}","starred_url":"https://api.github.com/users/cliftonc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cliftonc/subscriptions","organizations_url":"https://api.github.com/users/cliftonc/orgs","repos_url":"https://api.github.com/users/cliftonc/repos","events_url":"https://api.github.com/users/cliftonc/events{/privacy}","received_events_url":"https://api.github.com/users/cliftonc/received_events","type":"User","site_admin":false},"created_at":"2017-04-19T16:08:47Z","updated_at":"2017-04-19T16:08:47Z","body":"Published with 0.5.87.\r\n\r\nNote that you can set this config after upgrading with:\r\n\r\n```\r\nbosco config set ensureLatestVersion true\r\n```"}}
{"actor":{"display_login":"cliftonc"}}