{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/testdaybot/issues/80","labels_url":"https://api.github.com/repos/mozilla/testdaybot/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/testdaybot/issues/80/comments","events_url":"https://api.github.com/repos/mozilla/testdaybot/issues/80/events","html_url":"https://github.com/mozilla/testdaybot/issues/80","id":61019624,"number":80,"title":"Configuration is not always saved","user":{"login":"whimboo","id":129603,"avatar_url":"https://avatars.githubusercontent.com/u/129603?v=3","gravatar_id":"","url":"https://api.github.com/users/whimboo","html_url":"https://github.com/whimboo","followers_url":"https://api.github.com/users/whimboo/followers","following_url":"https://api.github.com/users/whimboo/following{/other_user}","gists_url":"https://api.github.com/users/whimboo/gists{/gist_id}","starred_url":"https://api.github.com/users/whimboo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whimboo/subscriptions","organizations_url":"https://api.github.com/users/whimboo/orgs","repos_url":"https://api.github.com/users/whimboo/repos","events_url":"https://api.github.com/users/whimboo/events{/privacy}","received_events_url":"https://api.github.com/users/whimboo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/testdaybot/labels/bugs","name":"bugs","color":"e10c02"},{"url":"https://api.github.com/repos/mozilla/testdaybot/labels/Mentored","name":"Mentored","color":"DDDDDD"}],"state":"open","locked":false,"assignee":{"login":"xabolcs","id":568751,"avatar_url":"https://avatars.githubusercontent.com/u/568751?v=3","gravatar_id":"","url":"https://api.github.com/users/xabolcs","html_url":"https://github.com/xabolcs","followers_url":"https://api.github.com/users/xabolcs/followers","following_url":"https://api.github.com/users/xabolcs/following{/other_user}","gists_url":"https://api.github.com/users/xabolcs/gists{/gist_id}","starred_url":"https://api.github.com/users/xabolcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xabolcs/subscriptions","organizations_url":"https://api.github.com/users/xabolcs/orgs","repos_url":"https://api.github.com/users/xabolcs/repos","events_url":"https://api.github.com/users/xabolcs/events{/privacy}","received_events_url":"https://api.github.com/users/xabolcs/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2015-03-13T09:15:55Z","updated_at":"2015-06-03T13:43:12Z","closed_at":null,"body":"I get a ping from @FlorinMezei this morning regarding his admin privileges. Those were gone again since we restarted the bot yesterday. I have had a look into the code and have seen that the configuration for at least admins is not saved when the list is changing. So if the bot is restarted by the system daemon due to updates the configuration is gone.\r\n\r\nSo for all the data stored in the config file and we are able to change inside the bot, a saveData() call has to happen."},"comment":{"url":"https://api.github.com/repos/mozilla/testdaybot/issues/comments/108420902","html_url":"https://github.com/mozilla/testdaybot/issues/80#issuecomment-108420902","issue_url":"https://api.github.com/repos/mozilla/testdaybot/issues/80","id":108420902,"user":{"login":"whimboo","id":129603,"avatar_url":"https://avatars.githubusercontent.com/u/129603?v=3","gravatar_id":"","url":"https://api.github.com/users/whimboo","html_url":"https://github.com/whimboo","followers_url":"https://api.github.com/users/whimboo/followers","following_url":"https://api.github.com/users/whimboo/following{/other_user}","gists_url":"https://api.github.com/users/whimboo/gists{/gist_id}","starred_url":"https://api.github.com/users/whimboo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whimboo/subscriptions","organizations_url":"https://api.github.com/users/whimboo/orgs","repos_url":"https://api.github.com/users/whimboo/repos","events_url":"https://api.github.com/users/whimboo/events{/privacy}","received_events_url":"https://api.github.com/users/whimboo/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T13:43:12Z","updated_at":"2015-06-03T13:43:12Z","body":"Yes, that looks wonderful!"}}