{"action":"created","comment":{"url":"https://api.github.com/repos/LoopKit/Loop/pulls/comments/89682051","pull_request_review_id":10223918,"id":89682051,"diff_hunk":"@@ -0,0 +1,31 @@\n+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n+<plist version=\"1.0\">\n+<dict>\n+\t<key>CFBundleDevelopmentRegion</key>\n+\t<string>en</string>\n+\t<key>CFBundleDisplayName</key>\n+\t<string>Loop</string>\n+\t<key>CFBundleExecutable</key>\n+\t<string>$(EXECUTABLE_NAME)</string>\n+\t<key>CFBundleIdentifier</key>\n+\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n+\t<key>CFBundleInfoDictionaryVersion</key>\n+\t<string>6.0</string>\n+\t<key>CFBundleName</key>\n+\t<string>$(PRODUCT_NAME)</string>\n+\t<key>CFBundlePackageType</key>\n+\t<string>XPC!</string>\n+\t<key>CFBundleShortVersionString</key>\n+\t<string>1.0</string>","path":"Loop TodayExtension/Info.plist","position":20,"original_position":20,"commit_id":"499f37b86a6a5c7c359890ed89f54c70fb4c1d43","original_commit_id":"499f37b86a6a5c7c359890ed89f54c70fb4c1d43","user":{"login":"loudnate","id":212876,"avatar_url":"https://avatars.githubusercontent.com/u/212876?v=3","gravatar_id":"","url":"https://api.github.com/users/loudnate","html_url":"https://github.com/loudnate","followers_url":"https://api.github.com/users/loudnate/followers","following_url":"https://api.github.com/users/loudnate/following{/other_user}","gists_url":"https://api.github.com/users/loudnate/gists{/gist_id}","starred_url":"https://api.github.com/users/loudnate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loudnate/subscriptions","organizations_url":"https://api.github.com/users/loudnate/orgs","repos_url":"https://api.github.com/users/loudnate/repos","events_url":"https://api.github.com/users/loudnate/events{/privacy}","received_events_url":"https://api.github.com/users/loudnate/received_events","type":"User","site_admin":false},"body":"This should match the container version. Version strings are set in concert using `agvtool` ","created_at":"2016-11-27T02:42:13Z","updated_at":"2016-11-27T02:54:41Z","html_url":"https://github.com/LoopKit/Loop/pull/281#discussion_r89682051","pull_request_url":"https://api.github.com/repos/LoopKit/Loop/pulls/281","_links":{"self":{"href":"https://api.github.com/repos/LoopKit/Loop/pulls/comments/89682051"},"html":{"href":"https://github.com/LoopKit/Loop/pull/281#discussion_r89682051"},"pull_request":{"href":"https://api.github.com/repos/LoopKit/Loop/pulls/281"}}},"pull_request":{"url":"https://api.github.com/repos/LoopKit/Loop/pulls/281","id":95389331,"html_url":"https://github.com/LoopKit/Loop/pull/281","diff_url":"https://github.com/LoopKit/Loop/pull/281.diff","patch_url":"https://github.com/LoopKit/Loop/pull/281.patch","issue_url":"https://api.github.com/repos/LoopKit/Loop/issues/281","number":281,"state":"open","locked":false,"title":"Create a lock screen widget (aka Today Extension)","user":{"login":"bharat","id":54570,"avatar_url":"https://avatars.githubusercontent.com/u/54570?v=3","gravatar_id":"","url":"https://api.github.com/users/bharat","html_url":"https://github.com/bharat","followers_url":"https://api.github.com/users/bharat/followers","following_url":"https://api.github.com/users/bharat/following{/other_user}","gists_url":"https://api.github.com/users/bharat/gists{/gist_id}","starred_url":"https://api.github.com/users/bharat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bharat/subscriptions","organizations_url":"https://api.github.com/users/bharat/orgs","repos_url":"https://api.github.com/users/bharat/repos","events_url":"https://api.github.com/users/bharat/events{/privacy}","received_events_url":"https://api.github.com/users/bharat/received_events","type":"User","site_admin":false},"body":"Show the standard heads up display, in a widget, available on the lock screen.\r\n\r\nThe majority of the work is in a new \"Today Extension\" target. It's relatively straightforward, but some notes to assist in reading/reviewing:\r\n\r\n1. Loop and the extension are now in the same app group so that they can share context\r\n2. There's a new TodayExtensionContext class that stores a relatively minimal set of data to power the HUD\r\n3. There's a new TodayExtensionDataManager that watches for changes and populates the context class\r\n4. The HUD views are shared between the main app and the extension\r\n5. Some small areas of Loop required refactoring (eg, I moved the net basal calculations out of the StatusTableViewController\r\n6. It's so simple that I didn't bother making subdirectories \r\n\r\nref: #276 ","created_at":"2016-11-27T02:01:36Z","updated_at":"2016-11-27T02:54:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f6a8455af530967640e8ca5304ebbeb52fddf24e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/LoopKit/Loop/pulls/281/commits","review_comments_url":"https://api.github.com/repos/LoopKit/Loop/pulls/281/comments","review_comment_url":"https://api.github.com/repos/LoopKit/Loop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LoopKit/Loop/issues/281/comments","statuses_url":"https://api.github.com/repos/LoopKit/Loop/statuses/499f37b86a6a5c7c359890ed89f54c70fb4c1d43","head":{"label":"bharat:lock-screen-widget","ref":"lock-screen-widget","sha":"499f37b86a6a5c7c359890ed89f54c70fb4c1d43","user":{"login":"bharat","id":54570,"avatar_url":"https://avatars.githubusercontent.com/u/54570?v=3","gravatar_id":"","url":"https://api.github.com/users/bharat","html_url":"https://github.com/bharat","followers_url":"https://api.github.com/users/bharat/followers","following_url":"https://api.github.com/users/bharat/following{/other_user}","gists_url":"https://api.github.com/users/bharat/gists{/gist_id}","starred_url":"https://api.github.com/users/bharat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bharat/subscriptions","organizations_url":"https://api.github.com/users/bharat/orgs","repos_url":"https://api.github.com/users/bharat/repos","events_url":"https://api.github.com/users/bharat/events{/privacy}","received_events_url":"https://api.github.com/users/bharat/received_events","type":"User","site_admin":false},"repo":{"id":74414240,"name":"Loop","full_name":"bharat/Loop","owner":{"login":"bharat","id":54570,"avatar_url":"https://avatars.githubusercontent.com/u/54570?v=3","gravatar_id":"","url":"https://api.github.com/users/bharat","html_url":"https://github.com/bharat","followers_url":"https://api.github.com/users/bharat/followers","following_url":"https://api.github.com/users/bharat/following{/other_user}","gists_url":"https://api.github.com/users/bharat/gists{/gist_id}","starred_url":"https://api.github.com/users/bharat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bharat/subscriptions","organizations_url":"https://api.github.com/users/bharat/orgs","repos_url":"https://api.github.com/users/bharat/repos","events_url":"https://api.github.com/users/bharat/events{/privacy}","received_events_url":"https://api.github.com/users/bharat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bharat/Loop","description":"An automated insulin delivery app template for iOS, built on LoopKit","fork":true,"url":"https://api.github.com/repos/bharat/Loop","forks_url":"https://api.github.com/repos/bharat/Loop/forks","keys_url":"https://api.github.com/repos/bharat/Loop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bharat/Loop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bharat/Loop/teams","hooks_url":"https://api.github.com/repos/bharat/Loop/hooks","issue_events_url":"https://api.github.com/repos/bharat/Loop/issues/events{/number}","events_url":"https://api.github.com/repos/bharat/Loop/events","assignees_url":"https://api.github.com/repos/bharat/Loop/assignees{/user}","branches_url":"https://api.github.com/repos/bharat/Loop/branches{/branch}","tags_url":"https://api.github.com/repos/bharat/Loop/tags","blobs_url":"https://api.github.com/repos/bharat/Loop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bharat/Loop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bharat/Loop/git/refs{/sha}","trees_url":"https://api.github.com/repos/bharat/Loop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bharat/Loop/statuses/{sha}","languages_url":"https://api.github.com/repos/bharat/Loop/languages","stargazers_url":"https://api.github.com/repos/bharat/Loop/stargazers","contributors_url":"https://api.github.com/repos/bharat/Loop/contributors","subscribers_url":"https://api.github.com/repos/bharat/Loop/subscribers","subscription_url":"https://api.github.com/repos/bharat/Loop/subscription","commits_url":"https://api.github.com/repos/bharat/Loop/commits{/sha}","git_commits_url":"https://api.github.com/repos/bharat/Loop/git/commits{/sha}","comments_url":"https://api.github.com/repos/bharat/Loop/comments{/number}","issue_comment_url":"https://api.github.com/repos/bharat/Loop/issues/comments{/number}","contents_url":"https://api.github.com/repos/bharat/Loop/contents/{+path}","compare_url":"https://api.github.com/repos/bharat/Loop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bharat/Loop/merges","archive_url":"https://api.github.com/repos/bharat/Loop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bharat/Loop/downloads","issues_url":"https://api.github.com/repos/bharat/Loop/issues{/number}","pulls_url":"https://api.github.com/repos/bharat/Loop/pulls{/number}","milestones_url":"https://api.github.com/repos/bharat/Loop/milestones{/number}","notifications_url":"https://api.github.com/repos/bharat/Loop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bharat/Loop/labels{/name}","releases_url":"https://api.github.com/repos/bharat/Loop/releases{/id}","deployments_url":"https://api.github.com/repos/bharat/Loop/deployments","created_at":"2016-11-21T23:14:20Z","updated_at":"2016-11-21T23:14:21Z","pushed_at":"2016-11-27T02:53:41Z","git_url":"git://github.com/bharat/Loop.git","ssh_url":"git@github.com:bharat/Loop.git","clone_url":"https://github.com/bharat/Loop.git","svn_url":"https://github.com/bharat/Loop","homepage":"","size":195395,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"LoopKit:master","ref":"master","sha":"00ce83da068ecc566bb8bec171ff8c5c3a1cc7d5","user":{"login":"LoopKit","id":21267095,"avatar_url":"https://avatars.githubusercontent.com/u/21267095?v=3","gravatar_id":"","url":"https://api.github.com/users/LoopKit","html_url":"https://github.com/LoopKit","followers_url":"https://api.github.com/users/LoopKit/followers","following_url":"https://api.github.com/users/LoopKit/following{/other_user}","gists_url":"https://api.github.com/users/LoopKit/gists{/gist_id}","starred_url":"https://api.github.com/users/LoopKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoopKit/subscriptions","organizations_url":"https://api.github.com/users/LoopKit/orgs","repos_url":"https://api.github.com/users/LoopKit/repos","events_url":"https://api.github.com/users/LoopKit/events{/privacy}","received_events_url":"https://api.github.com/users/LoopKit/received_events","type":"Organization","site_admin":false},"repo":{"id":59537417,"name":"Loop","full_name":"LoopKit/Loop","owner":{"login":"LoopKit","id":21267095,"avatar_url":"https://avatars.githubusercontent.com/u/21267095?v=3","gravatar_id":"","url":"https://api.github.com/users/LoopKit","html_url":"https://github.com/LoopKit","followers_url":"https://api.github.com/users/LoopKit/followers","following_url":"https://api.github.com/users/LoopKit/following{/other_user}","gists_url":"https://api.github.com/users/LoopKit/gists{/gist_id}","starred_url":"https://api.github.com/users/LoopKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoopKit/subscriptions","organizations_url":"https://api.github.com/users/LoopKit/orgs","repos_url":"https://api.github.com/users/LoopKit/repos","events_url":"https://api.github.com/users/LoopKit/events{/privacy}","received_events_url":"https://api.github.com/users/LoopKit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LoopKit/Loop","description":"An automated insulin delivery app template for iOS, built on LoopKit","fork":false,"url":"https://api.github.com/repos/LoopKit/Loop","forks_url":"https://api.github.com/repos/LoopKit/Loop/forks","keys_url":"https://api.github.com/repos/LoopKit/Loop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LoopKit/Loop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LoopKit/Loop/teams","hooks_url":"https://api.github.com/repos/LoopKit/Loop/hooks","issue_events_url":"https://api.github.com/repos/LoopKit/Loop/issues/events{/number}","events_url":"https://api.github.com/repos/LoopKit/Loop/events","assignees_url":"https://api.github.com/repos/LoopKit/Loop/assignees{/user}","branches_url":"https://api.github.com/repos/LoopKit/Loop/branches{/branch}","tags_url":"https://api.github.com/repos/LoopKit/Loop/tags","blobs_url":"https://api.github.com/repos/LoopKit/Loop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LoopKit/Loop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LoopKit/Loop/git/refs{/sha}","trees_url":"https://api.github.com/repos/LoopKit/Loop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LoopKit/Loop/statuses/{sha}","languages_url":"https://api.github.com/repos/LoopKit/Loop/languages","stargazers_url":"https://api.github.com/repos/LoopKit/Loop/stargazers","contributors_url":"https://api.github.com/repos/LoopKit/Loop/contributors","subscribers_url":"https://api.github.com/repos/LoopKit/Loop/subscribers","subscription_url":"https://api.github.com/repos/LoopKit/Loop/subscription","commits_url":"https://api.github.com/repos/LoopKit/Loop/commits{/sha}","git_commits_url":"https://api.github.com/repos/LoopKit/Loop/git/commits{/sha}","comments_url":"https://api.github.com/repos/LoopKit/Loop/comments{/number}","issue_comment_url":"https://api.github.com/repos/LoopKit/Loop/issues/comments{/number}","contents_url":"https://api.github.com/repos/LoopKit/Loop/contents/{+path}","compare_url":"https://api.github.com/repos/LoopKit/Loop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LoopKit/Loop/merges","archive_url":"https://api.github.com/repos/LoopKit/Loop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LoopKit/Loop/downloads","issues_url":"https://api.github.com/repos/LoopKit/Loop/issues{/number}","pulls_url":"https://api.github.com/repos/LoopKit/Loop/pulls{/number}","milestones_url":"https://api.github.com/repos/LoopKit/Loop/milestones{/number}","notifications_url":"https://api.github.com/repos/LoopKit/Loop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LoopKit/Loop/labels{/name}","releases_url":"https://api.github.com/repos/LoopKit/Loop/releases{/id}","deployments_url":"https://api.github.com/repos/LoopKit/Loop/deployments","created_at":"2016-05-24T03:26:56Z","updated_at":"2016-11-23T21:30:38Z","pushed_at":"2016-11-27T02:54:33Z","git_url":"git://github.com/LoopKit/Loop.git","ssh_url":"git@github.com:LoopKit/Loop.git","clone_url":"https://github.com/LoopKit/Loop.git","svn_url":"https://github.com/LoopKit/Loop","homepage":"","size":257246,"stargazers_count":46,"watchers_count":46,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":130,"mirror_url":null,"open_issues_count":36,"forks":130,"open_issues":36,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LoopKit/Loop/pulls/281"},"html":{"href":"https://github.com/LoopKit/Loop/pull/281"},"issue":{"href":"https://api.github.com/repos/LoopKit/Loop/issues/281"},"comments":{"href":"https://api.github.com/repos/LoopKit/Loop/issues/281/comments"},"review_comments":{"href":"https://api.github.com/repos/LoopKit/Loop/pulls/281/comments"},"review_comment":{"href":"https://api.github.com/repos/LoopKit/Loop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LoopKit/Loop/pulls/281/commits"},"statuses":{"href":"https://api.github.com/repos/LoopKit/Loop/statuses/499f37b86a6a5c7c359890ed89f54c70fb4c1d43"}}}}
{"actor":{"display_login":"loudnate"}}