{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/openaps/docs/pulls/2","id":39888358,"html_url":"https://github.com/openaps/docs/pull/2","diff_url":"https://github.com/openaps/docs/pull/2.diff","patch_url":"https://github.com/openaps/docs/pull/2.patch","issue_url":"https://api.github.com/repos/openaps/docs/issues/2","number":2,"state":"closed","locked":false,"title":"Update openaps docs with formatting and structure for GitBook","user":{"login":"channemann","id":5387400,"avatar_url":"https://avatars.githubusercontent.com/u/5387400?v=3","gravatar_id":"","url":"https://api.github.com/users/channemann","html_url":"https://github.com/channemann","followers_url":"https://api.github.com/users/channemann/followers","following_url":"https://api.github.com/users/channemann/following{/other_user}","gists_url":"https://api.github.com/users/channemann/gists{/gist_id}","starred_url":"https://api.github.com/users/channemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/channemann/subscriptions","organizations_url":"https://api.github.com/users/channemann/orgs","repos_url":"https://api.github.com/users/channemann/repos","events_url":"https://api.github.com/users/channemann/events{/privacy}","received_events_url":"https://api.github.com/users/channemann/received_events","type":"User","site_admin":false},"body":"I took the work @diabeticgonewild and broke it into a few sections, then surrounded it with additional explanation on the project/tools (kudos, btw, Monica). I then put the whole thing in a structure suitable for a GitBook. I'm not 100% certain what the GitBook link will end up being (if it will stay as http://openaps.gitbooks.io/building-an-open-artificial-pancreas-system/content/ or change to something else based on the book.json file I added), so I left the link out of the introduction section.\r\n\r\nThere are a number of pieces in here that may merit some debate (especially the phase structure for building an implementation) and a number of unfinished sections. I generally left the setup and tool usage sections alone for the time being, but I know they need some updating. I would also love some input from @bewest, @danamlewis, and @danamlewis on the history section—didn't want to plagiarize too much of openaps.org and I know there is even more of a backstory.\r\n\r\nI'd love for this document to be the place where I and others can point people who haven't heard of #OpenAPS but who might want to get involved (along with openaps.org).\r\n\r\nThe GitBook version from my fork can be viewed at http://channemann.gitbooks.io/openaps-docs/content/\r\n\r\nAlso, this is my first legit pull request, so there's a reasonable chance I've missed something.","created_at":"2015-07-14T07:21:55Z","updated_at":"2015-07-21T02:21:42Z","closed_at":"2015-07-21T02:21:41Z","merged_at":"2015-07-21T02:21:41Z","merge_commit_sha":"9cbf84686fc580f0be0b3da2a5c14942968861e1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openaps/docs/pulls/2/commits","review_comments_url":"https://api.github.com/repos/openaps/docs/pulls/2/comments","review_comment_url":"https://api.github.com/repos/openaps/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openaps/docs/issues/2/comments","statuses_url":"https://api.github.com/repos/openaps/docs/statuses/2aaad5b42223ade90dbe8c47f9b5e388e3a48077","head":{"label":"channemann:master","ref":"master","sha":"2aaad5b42223ade90dbe8c47f9b5e388e3a48077","user":{"login":"channemann","id":5387400,"avatar_url":"https://avatars.githubusercontent.com/u/5387400?v=3","gravatar_id":"","url":"https://api.github.com/users/channemann","html_url":"https://github.com/channemann","followers_url":"https://api.github.com/users/channemann/followers","following_url":"https://api.github.com/users/channemann/following{/other_user}","gists_url":"https://api.github.com/users/channemann/gists{/gist_id}","starred_url":"https://api.github.com/users/channemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/channemann/subscriptions","organizations_url":"https://api.github.com/users/channemann/orgs","repos_url":"https://api.github.com/users/channemann/repos","events_url":"https://api.github.com/users/channemann/events{/privacy}","received_events_url":"https://api.github.com/users/channemann/received_events","type":"User","site_admin":false},"repo":{"id":38949385,"name":"docs","full_name":"channemann/docs","owner":{"login":"channemann","id":5387400,"avatar_url":"https://avatars.githubusercontent.com/u/5387400?v=3","gravatar_id":"","url":"https://api.github.com/users/channemann","html_url":"https://github.com/channemann","followers_url":"https://api.github.com/users/channemann/followers","following_url":"https://api.github.com/users/channemann/following{/other_user}","gists_url":"https://api.github.com/users/channemann/gists{/gist_id}","starred_url":"https://api.github.com/users/channemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/channemann/subscriptions","organizations_url":"https://api.github.com/users/channemann/orgs","repos_url":"https://api.github.com/users/channemann/repos","events_url":"https://api.github.com/users/channemann/events{/privacy}","received_events_url":"https://api.github.com/users/channemann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/channemann/docs","description":"Book/docs","fork":true,"url":"https://api.github.com/repos/channemann/docs","forks_url":"https://api.github.com/repos/channemann/docs/forks","keys_url":"https://api.github.com/repos/channemann/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/channemann/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/channemann/docs/teams","hooks_url":"https://api.github.com/repos/channemann/docs/hooks","issue_events_url":"https://api.github.com/repos/channemann/docs/issues/events{/number}","events_url":"https://api.github.com/repos/channemann/docs/events","assignees_url":"https://api.github.com/repos/channemann/docs/assignees{/user}","branches_url":"https://api.github.com/repos/channemann/docs/branches{/branch}","tags_url":"https://api.github.com/repos/channemann/docs/tags","blobs_url":"https://api.github.com/repos/channemann/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/channemann/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/channemann/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/channemann/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/channemann/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/channemann/docs/languages","stargazers_url":"https://api.github.com/repos/channemann/docs/stargazers","contributors_url":"https://api.github.com/repos/channemann/docs/contributors","subscribers_url":"https://api.github.com/repos/channemann/docs/subscribers","subscription_url":"https://api.github.com/repos/channemann/docs/subscription","commits_url":"https://api.github.com/repos/channemann/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/channemann/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/channemann/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/channemann/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/channemann/docs/contents/{+path}","compare_url":"https://api.github.com/repos/channemann/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/channemann/docs/merges","archive_url":"https://api.github.com/repos/channemann/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/channemann/docs/downloads","issues_url":"https://api.github.com/repos/channemann/docs/issues{/number}","pulls_url":"https://api.github.com/repos/channemann/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/channemann/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/channemann/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/channemann/docs/labels{/name}","releases_url":"https://api.github.com/repos/channemann/docs/releases{/id}","created_at":"2015-07-12T04:00:00Z","updated_at":"2015-07-12T02:37:34Z","pushed_at":"2015-07-14T07:12:14Z","git_url":"git://github.com/channemann/docs.git","ssh_url":"git@github.com:channemann/docs.git","clone_url":"https://github.com/channemann/docs.git","svn_url":"https://github.com/channemann/docs","homepage":"http://openaps.gitbooks.io/building-an-open-artificial-pancreas-system/content/","size":1387,"stargazers_count":0,"watchers_count":0,"language":null,"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":"openaps:master","ref":"master","sha":"7340f8c6d189909044e99f90bae746660561b5bb","user":{"login":"openaps","id":11914497,"avatar_url":"https://avatars.githubusercontent.com/u/11914497?v=3","gravatar_id":"","url":"https://api.github.com/users/openaps","html_url":"https://github.com/openaps","followers_url":"https://api.github.com/users/openaps/followers","following_url":"https://api.github.com/users/openaps/following{/other_user}","gists_url":"https://api.github.com/users/openaps/gists{/gist_id}","starred_url":"https://api.github.com/users/openaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openaps/subscriptions","organizations_url":"https://api.github.com/users/openaps/orgs","repos_url":"https://api.github.com/users/openaps/repos","events_url":"https://api.github.com/users/openaps/events{/privacy}","received_events_url":"https://api.github.com/users/openaps/received_events","type":"Organization","site_admin":false},"repo":{"id":35516842,"name":"docs","full_name":"openaps/docs","owner":{"login":"openaps","id":11914497,"avatar_url":"https://avatars.githubusercontent.com/u/11914497?v=3","gravatar_id":"","url":"https://api.github.com/users/openaps","html_url":"https://github.com/openaps","followers_url":"https://api.github.com/users/openaps/followers","following_url":"https://api.github.com/users/openaps/following{/other_user}","gists_url":"https://api.github.com/users/openaps/gists{/gist_id}","starred_url":"https://api.github.com/users/openaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openaps/subscriptions","organizations_url":"https://api.github.com/users/openaps/orgs","repos_url":"https://api.github.com/users/openaps/repos","events_url":"https://api.github.com/users/openaps/events{/privacy}","received_events_url":"https://api.github.com/users/openaps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openaps/docs","description":"Book/docs","fork":false,"url":"https://api.github.com/repos/openaps/docs","forks_url":"https://api.github.com/repos/openaps/docs/forks","keys_url":"https://api.github.com/repos/openaps/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openaps/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openaps/docs/teams","hooks_url":"https://api.github.com/repos/openaps/docs/hooks","issue_events_url":"https://api.github.com/repos/openaps/docs/issues/events{/number}","events_url":"https://api.github.com/repos/openaps/docs/events","assignees_url":"https://api.github.com/repos/openaps/docs/assignees{/user}","branches_url":"https://api.github.com/repos/openaps/docs/branches{/branch}","tags_url":"https://api.github.com/repos/openaps/docs/tags","blobs_url":"https://api.github.com/repos/openaps/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openaps/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openaps/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/openaps/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openaps/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/openaps/docs/languages","stargazers_url":"https://api.github.com/repos/openaps/docs/stargazers","contributors_url":"https://api.github.com/repos/openaps/docs/contributors","subscribers_url":"https://api.github.com/repos/openaps/docs/subscribers","subscription_url":"https://api.github.com/repos/openaps/docs/subscription","commits_url":"https://api.github.com/repos/openaps/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/openaps/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/openaps/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/openaps/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/openaps/docs/contents/{+path}","compare_url":"https://api.github.com/repos/openaps/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openaps/docs/merges","archive_url":"https://api.github.com/repos/openaps/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openaps/docs/downloads","issues_url":"https://api.github.com/repos/openaps/docs/issues{/number}","pulls_url":"https://api.github.com/repos/openaps/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/openaps/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/openaps/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openaps/docs/labels{/name}","releases_url":"https://api.github.com/repos/openaps/docs/releases{/id}","created_at":"2015-05-12T23:01:59Z","updated_at":"2015-07-12T02:37:34Z","pushed_at":"2015-07-21T02:21:42Z","git_url":"git://github.com/openaps/docs.git","ssh_url":"git@github.com:openaps/docs.git","clone_url":"https://github.com/openaps/docs.git","svn_url":"https://github.com/openaps/docs","homepage":"http://openaps.gitbooks.io/building-an-open-artificial-pancreas-system/content/","size":140,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openaps/docs/pulls/2"},"html":{"href":"https://github.com/openaps/docs/pull/2"},"issue":{"href":"https://api.github.com/repos/openaps/docs/issues/2"},"comments":{"href":"https://api.github.com/repos/openaps/docs/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/openaps/docs/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/openaps/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openaps/docs/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/openaps/docs/statuses/2aaad5b42223ade90dbe8c47f9b5e388e3a48077"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"scottleibrand","id":6982790,"avatar_url":"https://avatars.githubusercontent.com/u/6982790?v=3","gravatar_id":"","url":"https://api.github.com/users/scottleibrand","html_url":"https://github.com/scottleibrand","followers_url":"https://api.github.com/users/scottleibrand/followers","following_url":"https://api.github.com/users/scottleibrand/following{/other_user}","gists_url":"https://api.github.com/users/scottleibrand/gists{/gist_id}","starred_url":"https://api.github.com/users/scottleibrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottleibrand/subscriptions","organizations_url":"https://api.github.com/users/scottleibrand/orgs","repos_url":"https://api.github.com/users/scottleibrand/repos","events_url":"https://api.github.com/users/scottleibrand/events{/privacy}","received_events_url":"https://api.github.com/users/scottleibrand/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":212,"additions":884,"deletions":292,"changed_files":26}}