{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/9990","labels_url":"https://api.github.com/repos/atom/atom/issues/9990/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/9990/comments","events_url":"https://api.github.com/repos/atom/atom/issues/9990/events","html_url":"https://github.com/atom/atom/pull/9990","id":121349179,"number":9990,"title":"Add a core config `core.enableAutoupdate` to disable Atom autoupdate.","user":{"login":"scv119","id":837180,"avatar_url":"https://avatars.githubusercontent.com/u/837180?v=3","gravatar_id":"","url":"https://api.github.com/users/scv119","html_url":"https://github.com/scv119","followers_url":"https://api.github.com/users/scv119/followers","following_url":"https://api.github.com/users/scv119/following{/other_user}","gists_url":"https://api.github.com/users/scv119/gists{/gist_id}","starred_url":"https://api.github.com/users/scv119/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scv119/subscriptions","organizations_url":"https://api.github.com/users/scv119/orgs","repos_url":"https://api.github.com/users/scv119/repos","events_url":"https://api.github.com/users/scv119/events{/privacy}","received_events_url":"https://api.github.com/users/scv119/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/atom","name":"atom","color":"f7c6c7"},{"url":"https://api.github.com/repos/atom/atom/labels/needs-review","name":"needs-review","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-12-09T22:00:21Z","updated_at":"2015-12-15T00:04:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/atom/atom/pulls/9990","html_url":"https://github.com/atom/atom/pull/9990","diff_url":"https://github.com/atom/atom/pull/9990.diff","patch_url":"https://github.com/atom/atom/pull/9990.patch"},"body":"This PR does following:\r\n* Added a config `core.enableAutoupdate`. This config is enabled by default, but if user disable it, the new Atom window won't check update/schedule update on startup.\r\n* I didn't observer the config changes after initialization, which means if user change the enableAutoupdate config, it won't change the autoupdate behavior until user quit and start Atom again, but we could observer this changes if we think it's necessary.\r\n* Remove the build option `--no-auto-update` and revert all related code introduced in https://github.com/atom/atom/pull/8721\r\n\r\nWhat I have tested:\r\n\r\n* run the `scrip/build` to build a new Atom.app.\r\n* noticed the `enableAutoupdate` is selected by default, and the checkUpdate button showed up in Atom menu.\r\n* disable `enableAutoupdate` option, open a new Atom window, the checkUpdate button disappeared from Atom menu.\r\n* Note that since the build of Atom don't have certs, so I can't tell if the download is happening or not."},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/164599651","html_url":"https://github.com/atom/atom/pull/9990#issuecomment-164599651","issue_url":"https://api.github.com/repos/atom/atom/issues/9990","id":164599651,"user":{"login":"maxbrunsfeld","id":326587,"avatar_url":"https://avatars.githubusercontent.com/u/326587?v=3","gravatar_id":"","url":"https://api.github.com/users/maxbrunsfeld","html_url":"https://github.com/maxbrunsfeld","followers_url":"https://api.github.com/users/maxbrunsfeld/followers","following_url":"https://api.github.com/users/maxbrunsfeld/following{/other_user}","gists_url":"https://api.github.com/users/maxbrunsfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/maxbrunsfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxbrunsfeld/subscriptions","organizations_url":"https://api.github.com/users/maxbrunsfeld/orgs","repos_url":"https://api.github.com/users/maxbrunsfeld/repos","events_url":"https://api.github.com/users/maxbrunsfeld/events{/privacy}","received_events_url":"https://api.github.com/users/maxbrunsfeld/received_events","type":"User","site_admin":true},"created_at":"2015-12-15T00:04:23Z","updated_at":"2015-12-15T00:04:23Z","body":"Note to self (:tophat: @kevinsawicki): Update [this text](https://github.com/atom/notifications/blob/4716ca24f74c685f6db85447e432e8a173d86a67/lib/notification-element.coffee#L215-L219) to remind people to update Atom before reporting issues."}}