{"action":"opened","number":55,"pull_request":{"url":"https://api.github.com/repos/swalladge/rpi-temperature-server/pulls/55","id":87675698,"html_url":"https://github.com/swalladge/rpi-temperature-server/pull/55","diff_url":"https://github.com/swalladge/rpi-temperature-server/pull/55.diff","patch_url":"https://github.com/swalladge/rpi-temperature-server/pull/55.patch","issue_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/issues/55","number":55,"state":"open","locked":false,"title":"Config refactor","user":{"login":"swalladge","id":9714796,"avatar_url":"https://avatars.githubusercontent.com/u/9714796?v=3","gravatar_id":"","url":"https://api.github.com/users/swalladge","html_url":"https://github.com/swalladge","followers_url":"https://api.github.com/users/swalladge/followers","following_url":"https://api.github.com/users/swalladge/following{/other_user}","gists_url":"https://api.github.com/users/swalladge/gists{/gist_id}","starred_url":"https://api.github.com/users/swalladge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swalladge/subscriptions","organizations_url":"https://api.github.com/users/swalladge/orgs","repos_url":"https://api.github.com/users/swalladge/repos","events_url":"https://api.github.com/users/swalladge/events{/privacy}","received_events_url":"https://api.github.com/users/swalladge/received_events","type":"User","site_admin":false},"body":"This brings some fairly major changes relating to how server configuration is\r\nmanaged.\r\n\r\nRefactored:\r\n\r\n- now uses a json file to store settings\r\n- separate module for managing configuration instead of just importing a python\r\n  config file\r\n- config module keeps the same api, so all current server code accessing config\r\n  values isn't modified\r\n\r\nNew Features:\r\n\r\n- all config has a default value configured, so if the user wishes to have a\r\n  configuration file with the minimum json `{}` in it, it will all still work.\r\n- able to pass a config file in the command line args to specify alternate\r\n  config files - great for quick testing/debugging (plus easy to add new command\r\n  line args if we want)","created_at":"2016-10-03T07:58:14Z","updated_at":"2016-10-03T07:58:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/pulls/55/commits","review_comments_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/pulls/55/comments","review_comment_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/issues/55/comments","statuses_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/statuses/b3ce67dc10decf8d7714e37a5f8b88e92000f928","head":{"label":"swalladge:config-refactor","ref":"config-refactor","sha":"b3ce67dc10decf8d7714e37a5f8b88e92000f928","user":{"login":"swalladge","id":9714796,"avatar_url":"https://avatars.githubusercontent.com/u/9714796?v=3","gravatar_id":"","url":"https://api.github.com/users/swalladge","html_url":"https://github.com/swalladge","followers_url":"https://api.github.com/users/swalladge/followers","following_url":"https://api.github.com/users/swalladge/following{/other_user}","gists_url":"https://api.github.com/users/swalladge/gists{/gist_id}","starred_url":"https://api.github.com/users/swalladge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swalladge/subscriptions","organizations_url":"https://api.github.com/users/swalladge/orgs","repos_url":"https://api.github.com/users/swalladge/repos","events_url":"https://api.github.com/users/swalladge/events{/privacy}","received_events_url":"https://api.github.com/users/swalladge/received_events","type":"User","site_admin":false},"repo":{"id":68095227,"name":"rpi-temperature-server","full_name":"swalladge/rpi-temperature-server","owner":{"login":"swalladge","id":9714796,"avatar_url":"https://avatars.githubusercontent.com/u/9714796?v=3","gravatar_id":"","url":"https://api.github.com/users/swalladge","html_url":"https://github.com/swalladge","followers_url":"https://api.github.com/users/swalladge/followers","following_url":"https://api.github.com/users/swalladge/following{/other_user}","gists_url":"https://api.github.com/users/swalladge/gists{/gist_id}","starred_url":"https://api.github.com/users/swalladge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swalladge/subscriptions","organizations_url":"https://api.github.com/users/swalladge/orgs","repos_url":"https://api.github.com/users/swalladge/repos","events_url":"https://api.github.com/users/swalladge/events{/privacy}","received_events_url":"https://api.github.com/users/swalladge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/swalladge/rpi-temperature-server","description":"Project for PRT452, 2016","fork":false,"url":"https://api.github.com/repos/swalladge/rpi-temperature-server","forks_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/forks","keys_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/teams","hooks_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/hooks","issue_events_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/issues/events{/number}","events_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/events","assignees_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/assignees{/user}","branches_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/branches{/branch}","tags_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/tags","blobs_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/statuses/{sha}","languages_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/languages","stargazers_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/stargazers","contributors_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/contributors","subscribers_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/subscribers","subscription_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/subscription","commits_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/contents/{+path}","compare_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/merges","archive_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/downloads","issues_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/issues{/number}","pulls_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/pulls{/number}","milestones_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/milestones{/number}","notifications_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/labels{/name}","releases_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/releases{/id}","deployments_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/deployments","created_at":"2016-09-13T09:40:36Z","updated_at":"2016-10-01T05:31:36Z","pushed_at":"2016-10-03T07:57:08Z","git_url":"git://github.com/swalladge/rpi-temperature-server.git","ssh_url":"git@github.com:swalladge/rpi-temperature-server.git","clone_url":"https://github.com/swalladge/rpi-temperature-server.git","svn_url":"https://github.com/swalladge/rpi-temperature-server","homepage":"","size":3517,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"swalladge:master","ref":"master","sha":"e6949bce48df57fca6e41524f72008d79265a5ac","user":{"login":"swalladge","id":9714796,"avatar_url":"https://avatars.githubusercontent.com/u/9714796?v=3","gravatar_id":"","url":"https://api.github.com/users/swalladge","html_url":"https://github.com/swalladge","followers_url":"https://api.github.com/users/swalladge/followers","following_url":"https://api.github.com/users/swalladge/following{/other_user}","gists_url":"https://api.github.com/users/swalladge/gists{/gist_id}","starred_url":"https://api.github.com/users/swalladge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swalladge/subscriptions","organizations_url":"https://api.github.com/users/swalladge/orgs","repos_url":"https://api.github.com/users/swalladge/repos","events_url":"https://api.github.com/users/swalladge/events{/privacy}","received_events_url":"https://api.github.com/users/swalladge/received_events","type":"User","site_admin":false},"repo":{"id":68095227,"name":"rpi-temperature-server","full_name":"swalladge/rpi-temperature-server","owner":{"login":"swalladge","id":9714796,"avatar_url":"https://avatars.githubusercontent.com/u/9714796?v=3","gravatar_id":"","url":"https://api.github.com/users/swalladge","html_url":"https://github.com/swalladge","followers_url":"https://api.github.com/users/swalladge/followers","following_url":"https://api.github.com/users/swalladge/following{/other_user}","gists_url":"https://api.github.com/users/swalladge/gists{/gist_id}","starred_url":"https://api.github.com/users/swalladge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swalladge/subscriptions","organizations_url":"https://api.github.com/users/swalladge/orgs","repos_url":"https://api.github.com/users/swalladge/repos","events_url":"https://api.github.com/users/swalladge/events{/privacy}","received_events_url":"https://api.github.com/users/swalladge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/swalladge/rpi-temperature-server","description":"Project for PRT452, 2016","fork":false,"url":"https://api.github.com/repos/swalladge/rpi-temperature-server","forks_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/forks","keys_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/teams","hooks_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/hooks","issue_events_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/issues/events{/number}","events_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/events","assignees_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/assignees{/user}","branches_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/branches{/branch}","tags_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/tags","blobs_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/statuses/{sha}","languages_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/languages","stargazers_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/stargazers","contributors_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/contributors","subscribers_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/subscribers","subscription_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/subscription","commits_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/contents/{+path}","compare_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/merges","archive_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/downloads","issues_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/issues{/number}","pulls_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/pulls{/number}","milestones_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/milestones{/number}","notifications_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/labels{/name}","releases_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/releases{/id}","deployments_url":"https://api.github.com/repos/swalladge/rpi-temperature-server/deployments","created_at":"2016-09-13T09:40:36Z","updated_at":"2016-10-01T05:31:36Z","pushed_at":"2016-10-03T07:57:08Z","git_url":"git://github.com/swalladge/rpi-temperature-server.git","ssh_url":"git@github.com:swalladge/rpi-temperature-server.git","clone_url":"https://github.com/swalladge/rpi-temperature-server.git","svn_url":"https://github.com/swalladge/rpi-temperature-server","homepage":"","size":3517,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swalladge/rpi-temperature-server/pulls/55"},"html":{"href":"https://github.com/swalladge/rpi-temperature-server/pull/55"},"issue":{"href":"https://api.github.com/repos/swalladge/rpi-temperature-server/issues/55"},"comments":{"href":"https://api.github.com/repos/swalladge/rpi-temperature-server/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/swalladge/rpi-temperature-server/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/swalladge/rpi-temperature-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swalladge/rpi-temperature-server/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/swalladge/rpi-temperature-server/statuses/b3ce67dc10decf8d7714e37a5f8b88e92000f928"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":7,"additions":3176,"deletions":2528,"changed_files":24}}
{"actor":{"display_login":"swalladge"}}