{"action":"closed","number":102,"pull_request":{"url":"https://api.github.com/repos/ResearchKit/AppCore/pulls/102","id":40087104,"html_url":"https://github.com/ResearchKit/AppCore/pull/102","diff_url":"https://github.com/ResearchKit/AppCore/pull/102.diff","patch_url":"https://github.com/ResearchKit/AppCore/pull/102.patch","issue_url":"https://api.github.com/repos/ResearchKit/AppCore/issues/102","number":102,"state":"closed","locked":false,"title":"Better schedule-importing and task-completion handling.","user":{"login":"RonConescu","id":5509706,"avatar_url":"https://avatars.githubusercontent.com/u/5509706?v=3","gravatar_id":"","url":"https://api.github.com/users/RonConescu","html_url":"https://github.com/RonConescu","followers_url":"https://api.github.com/users/RonConescu/followers","following_url":"https://api.github.com/users/RonConescu/following{/other_user}","gists_url":"https://api.github.com/users/RonConescu/gists{/gist_id}","starred_url":"https://api.github.com/users/RonConescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RonConescu/subscriptions","organizations_url":"https://api.github.com/users/RonConescu/orgs","repos_url":"https://api.github.com/users/RonConescu/repos","events_url":"https://api.github.com/users/RonConescu/events{/privacy}","received_events_url":"https://api.github.com/users/RonConescu/received_events","type":"User","site_admin":false},"body":"Features:\r\n\r\n1)  Only show a task in the \"incomplete stuff\" list on the first day it becomes \"incomplete\"\r\n\r\n2)  If we get a new schedule for a task, and that task is a completed, one-time-only task, we ignore the new schedule\r\n\r\n3)  Decomposed the import process into smaller, more maintainable components, moving it out of APCScheduler.m.  Now, we have:\r\n    a)  ScheduleImporter:  top-level logic for importing schedules and tasks\r\n    b)  ScheduleFilter and its subclasses:  analyze schedules during the import process\r\n    c)  ScheduleTaskMap:  stores the results of CoreData queries needed by many of those Filters","created_at":"2015-07-16T01:37:24Z","updated_at":"2015-07-17T17:28:15Z","closed_at":"2015-07-17T17:28:15Z","merged_at":"2015-07-17T17:28:15Z","merge_commit_sha":"63df139e2c47f44b58bafce51ce14691f3f92ba5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ResearchKit/AppCore/pulls/102/commits","review_comments_url":"https://api.github.com/repos/ResearchKit/AppCore/pulls/102/comments","review_comment_url":"https://api.github.com/repos/ResearchKit/AppCore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ResearchKit/AppCore/issues/102/comments","statuses_url":"https://api.github.com/repos/ResearchKit/AppCore/statuses/337f62bd4e2ea797bc95648565f91279c4d506fc","head":{"label":"RonConescu:jira-3185-betterCompletionHandling","ref":"jira-3185-betterCompletionHandling","sha":"337f62bd4e2ea797bc95648565f91279c4d506fc","user":{"login":"RonConescu","id":5509706,"avatar_url":"https://avatars.githubusercontent.com/u/5509706?v=3","gravatar_id":"","url":"https://api.github.com/users/RonConescu","html_url":"https://github.com/RonConescu","followers_url":"https://api.github.com/users/RonConescu/followers","following_url":"https://api.github.com/users/RonConescu/following{/other_user}","gists_url":"https://api.github.com/users/RonConescu/gists{/gist_id}","starred_url":"https://api.github.com/users/RonConescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RonConescu/subscriptions","organizations_url":"https://api.github.com/users/RonConescu/orgs","repos_url":"https://api.github.com/users/RonConescu/repos","events_url":"https://api.github.com/users/RonConescu/events{/privacy}","received_events_url":"https://api.github.com/users/RonConescu/received_events","type":"User","site_admin":false},"repo":{"id":36780954,"name":"AppCore","full_name":"RonConescu/AppCore","owner":{"login":"RonConescu","id":5509706,"avatar_url":"https://avatars.githubusercontent.com/u/5509706?v=3","gravatar_id":"","url":"https://api.github.com/users/RonConescu","html_url":"https://github.com/RonConescu","followers_url":"https://api.github.com/users/RonConescu/followers","following_url":"https://api.github.com/users/RonConescu/following{/other_user}","gists_url":"https://api.github.com/users/RonConescu/gists{/gist_id}","starred_url":"https://api.github.com/users/RonConescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RonConescu/subscriptions","organizations_url":"https://api.github.com/users/RonConescu/orgs","repos_url":"https://api.github.com/users/RonConescu/repos","events_url":"https://api.github.com/users/RonConescu/events{/privacy}","received_events_url":"https://api.github.com/users/RonConescu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RonConescu/AppCore","description":"Core code shared by the initial ResearchKit apps.","fork":true,"url":"https://api.github.com/repos/RonConescu/AppCore","forks_url":"https://api.github.com/repos/RonConescu/AppCore/forks","keys_url":"https://api.github.com/repos/RonConescu/AppCore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RonConescu/AppCore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RonConescu/AppCore/teams","hooks_url":"https://api.github.com/repos/RonConescu/AppCore/hooks","issue_events_url":"https://api.github.com/repos/RonConescu/AppCore/issues/events{/number}","events_url":"https://api.github.com/repos/RonConescu/AppCore/events","assignees_url":"https://api.github.com/repos/RonConescu/AppCore/assignees{/user}","branches_url":"https://api.github.com/repos/RonConescu/AppCore/branches{/branch}","tags_url":"https://api.github.com/repos/RonConescu/AppCore/tags","blobs_url":"https://api.github.com/repos/RonConescu/AppCore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RonConescu/AppCore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RonConescu/AppCore/git/refs{/sha}","trees_url":"https://api.github.com/repos/RonConescu/AppCore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RonConescu/AppCore/statuses/{sha}","languages_url":"https://api.github.com/repos/RonConescu/AppCore/languages","stargazers_url":"https://api.github.com/repos/RonConescu/AppCore/stargazers","contributors_url":"https://api.github.com/repos/RonConescu/AppCore/contributors","subscribers_url":"https://api.github.com/repos/RonConescu/AppCore/subscribers","subscription_url":"https://api.github.com/repos/RonConescu/AppCore/subscription","commits_url":"https://api.github.com/repos/RonConescu/AppCore/commits{/sha}","git_commits_url":"https://api.github.com/repos/RonConescu/AppCore/git/commits{/sha}","comments_url":"https://api.github.com/repos/RonConescu/AppCore/comments{/number}","issue_comment_url":"https://api.github.com/repos/RonConescu/AppCore/issues/comments{/number}","contents_url":"https://api.github.com/repos/RonConescu/AppCore/contents/{+path}","compare_url":"https://api.github.com/repos/RonConescu/AppCore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RonConescu/AppCore/merges","archive_url":"https://api.github.com/repos/RonConescu/AppCore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RonConescu/AppCore/downloads","issues_url":"https://api.github.com/repos/RonConescu/AppCore/issues{/number}","pulls_url":"https://api.github.com/repos/RonConescu/AppCore/pulls{/number}","milestones_url":"https://api.github.com/repos/RonConescu/AppCore/milestones{/number}","notifications_url":"https://api.github.com/repos/RonConescu/AppCore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RonConescu/AppCore/labels{/name}","releases_url":"https://api.github.com/repos/RonConescu/AppCore/releases{/id}","created_at":"2015-06-03T04:59:22Z","updated_at":"2015-06-03T04:59:24Z","pushed_at":"2015-07-17T17:21:40Z","git_url":"git://github.com/RonConescu/AppCore.git","ssh_url":"git@github.com:RonConescu/AppCore.git","clone_url":"https://github.com/RonConescu/AppCore.git","svn_url":"https://github.com/RonConescu/AppCore","homepage":"","size":9720,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"ResearchKit:master","ref":"master","sha":"c88c584940888abb4c404f736cd82b8e79a6fdce","user":{"login":"ResearchKit","id":11183179,"avatar_url":"https://avatars.githubusercontent.com/u/11183179?v=3","gravatar_id":"","url":"https://api.github.com/users/ResearchKit","html_url":"https://github.com/ResearchKit","followers_url":"https://api.github.com/users/ResearchKit/followers","following_url":"https://api.github.com/users/ResearchKit/following{/other_user}","gists_url":"https://api.github.com/users/ResearchKit/gists{/gist_id}","starred_url":"https://api.github.com/users/ResearchKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ResearchKit/subscriptions","organizations_url":"https://api.github.com/users/ResearchKit/orgs","repos_url":"https://api.github.com/users/ResearchKit/repos","events_url":"https://api.github.com/users/ResearchKit/events{/privacy}","received_events_url":"https://api.github.com/users/ResearchKit/received_events","type":"Organization","site_admin":false},"repo":{"id":32882828,"name":"AppCore","full_name":"ResearchKit/AppCore","owner":{"login":"ResearchKit","id":11183179,"avatar_url":"https://avatars.githubusercontent.com/u/11183179?v=3","gravatar_id":"","url":"https://api.github.com/users/ResearchKit","html_url":"https://github.com/ResearchKit","followers_url":"https://api.github.com/users/ResearchKit/followers","following_url":"https://api.github.com/users/ResearchKit/following{/other_user}","gists_url":"https://api.github.com/users/ResearchKit/gists{/gist_id}","starred_url":"https://api.github.com/users/ResearchKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ResearchKit/subscriptions","organizations_url":"https://api.github.com/users/ResearchKit/orgs","repos_url":"https://api.github.com/users/ResearchKit/repos","events_url":"https://api.github.com/users/ResearchKit/events{/privacy}","received_events_url":"https://api.github.com/users/ResearchKit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ResearchKit/AppCore","description":"Core code shared by the initial ResearchKit apps.","fork":false,"url":"https://api.github.com/repos/ResearchKit/AppCore","forks_url":"https://api.github.com/repos/ResearchKit/AppCore/forks","keys_url":"https://api.github.com/repos/ResearchKit/AppCore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ResearchKit/AppCore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ResearchKit/AppCore/teams","hooks_url":"https://api.github.com/repos/ResearchKit/AppCore/hooks","issue_events_url":"https://api.github.com/repos/ResearchKit/AppCore/issues/events{/number}","events_url":"https://api.github.com/repos/ResearchKit/AppCore/events","assignees_url":"https://api.github.com/repos/ResearchKit/AppCore/assignees{/user}","branches_url":"https://api.github.com/repos/ResearchKit/AppCore/branches{/branch}","tags_url":"https://api.github.com/repos/ResearchKit/AppCore/tags","blobs_url":"https://api.github.com/repos/ResearchKit/AppCore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ResearchKit/AppCore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ResearchKit/AppCore/git/refs{/sha}","trees_url":"https://api.github.com/repos/ResearchKit/AppCore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ResearchKit/AppCore/statuses/{sha}","languages_url":"https://api.github.com/repos/ResearchKit/AppCore/languages","stargazers_url":"https://api.github.com/repos/ResearchKit/AppCore/stargazers","contributors_url":"https://api.github.com/repos/ResearchKit/AppCore/contributors","subscribers_url":"https://api.github.com/repos/ResearchKit/AppCore/subscribers","subscription_url":"https://api.github.com/repos/ResearchKit/AppCore/subscription","commits_url":"https://api.github.com/repos/ResearchKit/AppCore/commits{/sha}","git_commits_url":"https://api.github.com/repos/ResearchKit/AppCore/git/commits{/sha}","comments_url":"https://api.github.com/repos/ResearchKit/AppCore/comments{/number}","issue_comment_url":"https://api.github.com/repos/ResearchKit/AppCore/issues/comments{/number}","contents_url":"https://api.github.com/repos/ResearchKit/AppCore/contents/{+path}","compare_url":"https://api.github.com/repos/ResearchKit/AppCore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ResearchKit/AppCore/merges","archive_url":"https://api.github.com/repos/ResearchKit/AppCore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ResearchKit/AppCore/downloads","issues_url":"https://api.github.com/repos/ResearchKit/AppCore/issues{/number}","pulls_url":"https://api.github.com/repos/ResearchKit/AppCore/pulls{/number}","milestones_url":"https://api.github.com/repos/ResearchKit/AppCore/milestones{/number}","notifications_url":"https://api.github.com/repos/ResearchKit/AppCore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ResearchKit/AppCore/labels{/name}","releases_url":"https://api.github.com/repos/ResearchKit/AppCore/releases{/id}","created_at":"2015-03-25T18:22:27Z","updated_at":"2015-07-14T21:57:55Z","pushed_at":"2015-07-17T17:28:15Z","git_url":"git://github.com/ResearchKit/AppCore.git","ssh_url":"git@github.com:ResearchKit/AppCore.git","clone_url":"https://github.com/ResearchKit/AppCore.git","svn_url":"https://github.com/ResearchKit/AppCore","homepage":"","size":146230,"stargazers_count":206,"watchers_count":206,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":19,"forks":60,"open_issues":19,"watchers":206,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ResearchKit/AppCore/pulls/102"},"html":{"href":"https://github.com/ResearchKit/AppCore/pull/102"},"issue":{"href":"https://api.github.com/repos/ResearchKit/AppCore/issues/102"},"comments":{"href":"https://api.github.com/repos/ResearchKit/AppCore/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/ResearchKit/AppCore/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/ResearchKit/AppCore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ResearchKit/AppCore/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/ResearchKit/AppCore/statuses/337f62bd4e2ea797bc95648565f91279c4d506fc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"YuanZhu-apple","id":11466704,"avatar_url":"https://avatars.githubusercontent.com/u/11466704?v=3","gravatar_id":"","url":"https://api.github.com/users/YuanZhu-apple","html_url":"https://github.com/YuanZhu-apple","followers_url":"https://api.github.com/users/YuanZhu-apple/followers","following_url":"https://api.github.com/users/YuanZhu-apple/following{/other_user}","gists_url":"https://api.github.com/users/YuanZhu-apple/gists{/gist_id}","starred_url":"https://api.github.com/users/YuanZhu-apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuanZhu-apple/subscriptions","organizations_url":"https://api.github.com/users/YuanZhu-apple/orgs","repos_url":"https://api.github.com/users/YuanZhu-apple/repos","events_url":"https://api.github.com/users/YuanZhu-apple/events{/privacy}","received_events_url":"https://api.github.com/users/YuanZhu-apple/received_events","type":"User","site_admin":false},"comments":7,"review_comments":4,"commits":2,"additions":4518,"deletions":1635,"changed_files":42}}