{"action":"closed","number":82,"pull_request":{"url":"https://api.github.com/repos/flywheel-io/sdk/pulls/82","id":172019093,"html_url":"https://github.com/flywheel-io/sdk/pull/82","diff_url":"https://github.com/flywheel-io/sdk/pull/82.diff","patch_url":"https://github.com/flywheel-io/sdk/pull/82.patch","issue_url":"https://api.github.com/repos/flywheel-io/sdk/issues/82","number":82,"state":"closed","locked":false,"title":"Add basic mgo interop and tests","user":{"login":"kofalt","id":265071,"avatar_url":"https://avatars0.githubusercontent.com/u/265071?v=4","gravatar_id":"","url":"https://api.github.com/users/kofalt","html_url":"https://github.com/kofalt","followers_url":"https://api.github.com/users/kofalt/followers","following_url":"https://api.github.com/users/kofalt/following{/other_user}","gists_url":"https://api.github.com/users/kofalt/gists{/gist_id}","starred_url":"https://api.github.com/users/kofalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kofalt/subscriptions","organizations_url":"https://api.github.com/users/kofalt/orgs","repos_url":"https://api.github.com/users/kofalt/repos","events_url":"https://api.github.com/users/kofalt/events{/privacy}","received_events_url":"https://api.github.com/users/kofalt/received_events","type":"User","site_admin":false},"body":"This adds the basic capability to interact with the database using the SDK structs, which is convenient for some backend scripts. Along the way it looks like there is a newer fork of the mgo library, which I switched to.\r\n\r\nThe tests are not exhaustive, but all the structs are updated and the main hierarchy + jobs are covered.","created_at":"2018-02-28T17:23:54Z","updated_at":"2018-02-28T19:26:00Z","closed_at":"2018-02-28T19:26:00Z","merged_at":"2018-02-28T19:26:00Z","merge_commit_sha":"ce71efff0d60df6a59fdadc82720d7b448075d75","assignee":{"login":"ehlertjd","id":1509690,"avatar_url":"https://avatars2.githubusercontent.com/u/1509690?v=4","gravatar_id":"","url":"https://api.github.com/users/ehlertjd","html_url":"https://github.com/ehlertjd","followers_url":"https://api.github.com/users/ehlertjd/followers","following_url":"https://api.github.com/users/ehlertjd/following{/other_user}","gists_url":"https://api.github.com/users/ehlertjd/gists{/gist_id}","starred_url":"https://api.github.com/users/ehlertjd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehlertjd/subscriptions","organizations_url":"https://api.github.com/users/ehlertjd/orgs","repos_url":"https://api.github.com/users/ehlertjd/repos","events_url":"https://api.github.com/users/ehlertjd/events{/privacy}","received_events_url":"https://api.github.com/users/ehlertjd/received_events","type":"User","site_admin":false},"assignees":[{"login":"ehlertjd","id":1509690,"avatar_url":"https://avatars2.githubusercontent.com/u/1509690?v=4","gravatar_id":"","url":"https://api.github.com/users/ehlertjd","html_url":"https://github.com/ehlertjd","followers_url":"https://api.github.com/users/ehlertjd/followers","following_url":"https://api.github.com/users/ehlertjd/following{/other_user}","gists_url":"https://api.github.com/users/ehlertjd/gists{/gist_id}","starred_url":"https://api.github.com/users/ehlertjd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehlertjd/subscriptions","organizations_url":"https://api.github.com/users/ehlertjd/orgs","repos_url":"https://api.github.com/users/ehlertjd/repos","events_url":"https://api.github.com/users/ehlertjd/events{/privacy}","received_events_url":"https://api.github.com/users/ehlertjd/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/flywheel-io/sdk/pulls/82/commits","review_comments_url":"https://api.github.com/repos/flywheel-io/sdk/pulls/82/comments","review_comment_url":"https://api.github.com/repos/flywheel-io/sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flywheel-io/sdk/issues/82/comments","statuses_url":"https://api.github.com/repos/flywheel-io/sdk/statuses/2e56cee9f7b3fc6698995a2ef85296c560995811","head":{"label":"flywheel-io:db-access","ref":"db-access","sha":"2e56cee9f7b3fc6698995a2ef85296c560995811","user":{"login":"flywheel-io","id":10966633,"avatar_url":"https://avatars0.githubusercontent.com/u/10966633?v=4","gravatar_id":"","url":"https://api.github.com/users/flywheel-io","html_url":"https://github.com/flywheel-io","followers_url":"https://api.github.com/users/flywheel-io/followers","following_url":"https://api.github.com/users/flywheel-io/following{/other_user}","gists_url":"https://api.github.com/users/flywheel-io/gists{/gist_id}","starred_url":"https://api.github.com/users/flywheel-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flywheel-io/subscriptions","organizations_url":"https://api.github.com/users/flywheel-io/orgs","repos_url":"https://api.github.com/users/flywheel-io/repos","events_url":"https://api.github.com/users/flywheel-io/events{/privacy}","received_events_url":"https://api.github.com/users/flywheel-io/received_events","type":"Organization","site_admin":false},"repo":{"id":65499703,"name":"sdk","full_name":"flywheel-io/sdk","owner":{"login":"flywheel-io","id":10966633,"avatar_url":"https://avatars0.githubusercontent.com/u/10966633?v=4","gravatar_id":"","url":"https://api.github.com/users/flywheel-io","html_url":"https://github.com/flywheel-io","followers_url":"https://api.github.com/users/flywheel-io/followers","following_url":"https://api.github.com/users/flywheel-io/following{/other_user}","gists_url":"https://api.github.com/users/flywheel-io/gists{/gist_id}","starred_url":"https://api.github.com/users/flywheel-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flywheel-io/subscriptions","organizations_url":"https://api.github.com/users/flywheel-io/orgs","repos_url":"https://api.github.com/users/flywheel-io/repos","events_url":"https://api.github.com/users/flywheel-io/events{/privacy}","received_events_url":"https://api.github.com/users/flywheel-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flywheel-io/sdk","description":"Flywheel SDK","fork":false,"url":"https://api.github.com/repos/flywheel-io/sdk","forks_url":"https://api.github.com/repos/flywheel-io/sdk/forks","keys_url":"https://api.github.com/repos/flywheel-io/sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flywheel-io/sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flywheel-io/sdk/teams","hooks_url":"https://api.github.com/repos/flywheel-io/sdk/hooks","issue_events_url":"https://api.github.com/repos/flywheel-io/sdk/issues/events{/number}","events_url":"https://api.github.com/repos/flywheel-io/sdk/events","assignees_url":"https://api.github.com/repos/flywheel-io/sdk/assignees{/user}","branches_url":"https://api.github.com/repos/flywheel-io/sdk/branches{/branch}","tags_url":"https://api.github.com/repos/flywheel-io/sdk/tags","blobs_url":"https://api.github.com/repos/flywheel-io/sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flywheel-io/sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flywheel-io/sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/flywheel-io/sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flywheel-io/sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/flywheel-io/sdk/languages","stargazers_url":"https://api.github.com/repos/flywheel-io/sdk/stargazers","contributors_url":"https://api.github.com/repos/flywheel-io/sdk/contributors","subscribers_url":"https://api.github.com/repos/flywheel-io/sdk/subscribers","subscription_url":"https://api.github.com/repos/flywheel-io/sdk/subscription","commits_url":"https://api.github.com/repos/flywheel-io/sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/flywheel-io/sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/flywheel-io/sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/flywheel-io/sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/flywheel-io/sdk/contents/{+path}","compare_url":"https://api.github.com/repos/flywheel-io/sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flywheel-io/sdk/merges","archive_url":"https://api.github.com/repos/flywheel-io/sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flywheel-io/sdk/downloads","issues_url":"https://api.github.com/repos/flywheel-io/sdk/issues{/number}","pulls_url":"https://api.github.com/repos/flywheel-io/sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/flywheel-io/sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/flywheel-io/sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flywheel-io/sdk/labels{/name}","releases_url":"https://api.github.com/repos/flywheel-io/sdk/releases{/id}","deployments_url":"https://api.github.com/repos/flywheel-io/sdk/deployments","created_at":"2016-08-11T20:32:23Z","updated_at":"2018-01-18T08:12:26Z","pushed_at":"2018-02-28T19:26:00Z","git_url":"git://github.com/flywheel-io/sdk.git","ssh_url":"git@github.com:flywheel-io/sdk.git","clone_url":"https://github.com/flywheel-io/sdk.git","svn_url":"https://github.com/flywheel-io/sdk","homepage":"","size":276,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":21,"watchers":3,"default_branch":"master"}},"base":{"label":"flywheel-io:master","ref":"master","sha":"0e3f0b93659ac1b4b39b6624abe72ea10d7cdedb","user":{"login":"flywheel-io","id":10966633,"avatar_url":"https://avatars0.githubusercontent.com/u/10966633?v=4","gravatar_id":"","url":"https://api.github.com/users/flywheel-io","html_url":"https://github.com/flywheel-io","followers_url":"https://api.github.com/users/flywheel-io/followers","following_url":"https://api.github.com/users/flywheel-io/following{/other_user}","gists_url":"https://api.github.com/users/flywheel-io/gists{/gist_id}","starred_url":"https://api.github.com/users/flywheel-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flywheel-io/subscriptions","organizations_url":"https://api.github.com/users/flywheel-io/orgs","repos_url":"https://api.github.com/users/flywheel-io/repos","events_url":"https://api.github.com/users/flywheel-io/events{/privacy}","received_events_url":"https://api.github.com/users/flywheel-io/received_events","type":"Organization","site_admin":false},"repo":{"id":65499703,"name":"sdk","full_name":"flywheel-io/sdk","owner":{"login":"flywheel-io","id":10966633,"avatar_url":"https://avatars0.githubusercontent.com/u/10966633?v=4","gravatar_id":"","url":"https://api.github.com/users/flywheel-io","html_url":"https://github.com/flywheel-io","followers_url":"https://api.github.com/users/flywheel-io/followers","following_url":"https://api.github.com/users/flywheel-io/following{/other_user}","gists_url":"https://api.github.com/users/flywheel-io/gists{/gist_id}","starred_url":"https://api.github.com/users/flywheel-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flywheel-io/subscriptions","organizations_url":"https://api.github.com/users/flywheel-io/orgs","repos_url":"https://api.github.com/users/flywheel-io/repos","events_url":"https://api.github.com/users/flywheel-io/events{/privacy}","received_events_url":"https://api.github.com/users/flywheel-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flywheel-io/sdk","description":"Flywheel SDK","fork":false,"url":"https://api.github.com/repos/flywheel-io/sdk","forks_url":"https://api.github.com/repos/flywheel-io/sdk/forks","keys_url":"https://api.github.com/repos/flywheel-io/sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flywheel-io/sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flywheel-io/sdk/teams","hooks_url":"https://api.github.com/repos/flywheel-io/sdk/hooks","issue_events_url":"https://api.github.com/repos/flywheel-io/sdk/issues/events{/number}","events_url":"https://api.github.com/repos/flywheel-io/sdk/events","assignees_url":"https://api.github.com/repos/flywheel-io/sdk/assignees{/user}","branches_url":"https://api.github.com/repos/flywheel-io/sdk/branches{/branch}","tags_url":"https://api.github.com/repos/flywheel-io/sdk/tags","blobs_url":"https://api.github.com/repos/flywheel-io/sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flywheel-io/sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flywheel-io/sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/flywheel-io/sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flywheel-io/sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/flywheel-io/sdk/languages","stargazers_url":"https://api.github.com/repos/flywheel-io/sdk/stargazers","contributors_url":"https://api.github.com/repos/flywheel-io/sdk/contributors","subscribers_url":"https://api.github.com/repos/flywheel-io/sdk/subscribers","subscription_url":"https://api.github.com/repos/flywheel-io/sdk/subscription","commits_url":"https://api.github.com/repos/flywheel-io/sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/flywheel-io/sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/flywheel-io/sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/flywheel-io/sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/flywheel-io/sdk/contents/{+path}","compare_url":"https://api.github.com/repos/flywheel-io/sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flywheel-io/sdk/merges","archive_url":"https://api.github.com/repos/flywheel-io/sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flywheel-io/sdk/downloads","issues_url":"https://api.github.com/repos/flywheel-io/sdk/issues{/number}","pulls_url":"https://api.github.com/repos/flywheel-io/sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/flywheel-io/sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/flywheel-io/sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flywheel-io/sdk/labels{/name}","releases_url":"https://api.github.com/repos/flywheel-io/sdk/releases{/id}","deployments_url":"https://api.github.com/repos/flywheel-io/sdk/deployments","created_at":"2016-08-11T20:32:23Z","updated_at":"2018-01-18T08:12:26Z","pushed_at":"2018-02-28T19:26:00Z","git_url":"git://github.com/flywheel-io/sdk.git","ssh_url":"git@github.com:flywheel-io/sdk.git","clone_url":"https://github.com/flywheel-io/sdk.git","svn_url":"https://github.com/flywheel-io/sdk","homepage":"","size":276,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":21,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flywheel-io/sdk/pulls/82"},"html":{"href":"https://github.com/flywheel-io/sdk/pull/82"},"issue":{"href":"https://api.github.com/repos/flywheel-io/sdk/issues/82"},"comments":{"href":"https://api.github.com/repos/flywheel-io/sdk/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/flywheel-io/sdk/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/flywheel-io/sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flywheel-io/sdk/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/flywheel-io/sdk/statuses/2e56cee9f7b3fc6698995a2ef85296c560995811"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"kofalt","id":265071,"avatar_url":"https://avatars0.githubusercontent.com/u/265071?v=4","gravatar_id":"","url":"https://api.github.com/users/kofalt","html_url":"https://github.com/kofalt","followers_url":"https://api.github.com/users/kofalt/followers","following_url":"https://api.github.com/users/kofalt/following{/other_user}","gists_url":"https://api.github.com/users/kofalt/gists{/gist_id}","starred_url":"https://api.github.com/users/kofalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kofalt/subscriptions","organizations_url":"https://api.github.com/users/kofalt/orgs","repos_url":"https://api.github.com/users/kofalt/repos","events_url":"https://api.github.com/users/kofalt/events{/privacy}","received_events_url":"https://api.github.com/users/kofalt/received_events","type":"User","site_admin":false},"comments":4,"review_comments":3,"maintainer_can_modify":false,"commits":4,"additions":316,"deletions":76,"changed_files":21}}
{"actor":{"display_login":"kofalt"}}