{"action":"opened","number":122,"pull_request":{"url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/pulls/122","id":177867326,"html_url":"https://github.com/SwiftGit2/SwiftGit2/pull/122","diff_url":"https://github.com/SwiftGit2/SwiftGit2/pull/122.diff","patch_url":"https://github.com/SwiftGit2/SwiftGit2/pull/122.patch","issue_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/issues/122","number":122,"state":"open","locked":false,"title":"Swift Package Manager","user":{"login":"stonehouse","id":889858,"avatar_url":"https://avatars1.githubusercontent.com/u/889858?v=4","gravatar_id":"","url":"https://api.github.com/users/stonehouse","html_url":"https://github.com/stonehouse","followers_url":"https://api.github.com/users/stonehouse/followers","following_url":"https://api.github.com/users/stonehouse/following{/other_user}","gists_url":"https://api.github.com/users/stonehouse/gists{/gist_id}","starred_url":"https://api.github.com/users/stonehouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stonehouse/subscriptions","organizations_url":"https://api.github.com/users/stonehouse/orgs","repos_url":"https://api.github.com/users/stonehouse/repos","events_url":"https://api.github.com/users/stonehouse/events{/privacy}","received_events_url":"https://api.github.com/users/stonehouse/received_events","type":"User","site_admin":false},"body":"Forked this PR #105 and continued working on it. I've got it so that ```swift build``` actually works, though it's using the system libgit2. You could hypothetically link to a static binary but I haven't gotten that working. I still need to get tests working (via swift test) but I need to get some of the test dependencies using Swift PM as well. Just thought I'd create the PR now and get your feedback. \r\n\r\nI initially just had the init call in ```Repository.init``` but it turned out to be necessary in some of the class funcs.","created_at":"2018-03-27T21:14:16Z","updated_at":"2018-03-27T21:14:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/pulls/122/commits","review_comments_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/pulls/122/comments","review_comment_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/issues/122/comments","statuses_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/statuses/274c446cc2c427901a739e453f942bcf63141d60","head":{"label":"stonehouse:master","ref":"master","sha":"274c446cc2c427901a739e453f942bcf63141d60","user":{"login":"stonehouse","id":889858,"avatar_url":"https://avatars1.githubusercontent.com/u/889858?v=4","gravatar_id":"","url":"https://api.github.com/users/stonehouse","html_url":"https://github.com/stonehouse","followers_url":"https://api.github.com/users/stonehouse/followers","following_url":"https://api.github.com/users/stonehouse/following{/other_user}","gists_url":"https://api.github.com/users/stonehouse/gists{/gist_id}","starred_url":"https://api.github.com/users/stonehouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stonehouse/subscriptions","organizations_url":"https://api.github.com/users/stonehouse/orgs","repos_url":"https://api.github.com/users/stonehouse/repos","events_url":"https://api.github.com/users/stonehouse/events{/privacy}","received_events_url":"https://api.github.com/users/stonehouse/received_events","type":"User","site_admin":false},"repo":{"id":126926937,"name":"SwiftGit2","full_name":"stonehouse/SwiftGit2","owner":{"login":"stonehouse","id":889858,"avatar_url":"https://avatars1.githubusercontent.com/u/889858?v=4","gravatar_id":"","url":"https://api.github.com/users/stonehouse","html_url":"https://github.com/stonehouse","followers_url":"https://api.github.com/users/stonehouse/followers","following_url":"https://api.github.com/users/stonehouse/following{/other_user}","gists_url":"https://api.github.com/users/stonehouse/gists{/gist_id}","starred_url":"https://api.github.com/users/stonehouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stonehouse/subscriptions","organizations_url":"https://api.github.com/users/stonehouse/orgs","repos_url":"https://api.github.com/users/stonehouse/repos","events_url":"https://api.github.com/users/stonehouse/events{/privacy}","received_events_url":"https://api.github.com/users/stonehouse/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stonehouse/SwiftGit2","description":"Swift bindings to libgit2","fork":true,"url":"https://api.github.com/repos/stonehouse/SwiftGit2","forks_url":"https://api.github.com/repos/stonehouse/SwiftGit2/forks","keys_url":"https://api.github.com/repos/stonehouse/SwiftGit2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stonehouse/SwiftGit2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stonehouse/SwiftGit2/teams","hooks_url":"https://api.github.com/repos/stonehouse/SwiftGit2/hooks","issue_events_url":"https://api.github.com/repos/stonehouse/SwiftGit2/issues/events{/number}","events_url":"https://api.github.com/repos/stonehouse/SwiftGit2/events","assignees_url":"https://api.github.com/repos/stonehouse/SwiftGit2/assignees{/user}","branches_url":"https://api.github.com/repos/stonehouse/SwiftGit2/branches{/branch}","tags_url":"https://api.github.com/repos/stonehouse/SwiftGit2/tags","blobs_url":"https://api.github.com/repos/stonehouse/SwiftGit2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stonehouse/SwiftGit2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stonehouse/SwiftGit2/git/refs{/sha}","trees_url":"https://api.github.com/repos/stonehouse/SwiftGit2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stonehouse/SwiftGit2/statuses/{sha}","languages_url":"https://api.github.com/repos/stonehouse/SwiftGit2/languages","stargazers_url":"https://api.github.com/repos/stonehouse/SwiftGit2/stargazers","contributors_url":"https://api.github.com/repos/stonehouse/SwiftGit2/contributors","subscribers_url":"https://api.github.com/repos/stonehouse/SwiftGit2/subscribers","subscription_url":"https://api.github.com/repos/stonehouse/SwiftGit2/subscription","commits_url":"https://api.github.com/repos/stonehouse/SwiftGit2/commits{/sha}","git_commits_url":"https://api.github.com/repos/stonehouse/SwiftGit2/git/commits{/sha}","comments_url":"https://api.github.com/repos/stonehouse/SwiftGit2/comments{/number}","issue_comment_url":"https://api.github.com/repos/stonehouse/SwiftGit2/issues/comments{/number}","contents_url":"https://api.github.com/repos/stonehouse/SwiftGit2/contents/{+path}","compare_url":"https://api.github.com/repos/stonehouse/SwiftGit2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stonehouse/SwiftGit2/merges","archive_url":"https://api.github.com/repos/stonehouse/SwiftGit2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stonehouse/SwiftGit2/downloads","issues_url":"https://api.github.com/repos/stonehouse/SwiftGit2/issues{/number}","pulls_url":"https://api.github.com/repos/stonehouse/SwiftGit2/pulls{/number}","milestones_url":"https://api.github.com/repos/stonehouse/SwiftGit2/milestones{/number}","notifications_url":"https://api.github.com/repos/stonehouse/SwiftGit2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stonehouse/SwiftGit2/labels{/name}","releases_url":"https://api.github.com/repos/stonehouse/SwiftGit2/releases{/id}","deployments_url":"https://api.github.com/repos/stonehouse/SwiftGit2/deployments","created_at":"2018-03-27T04:04:18Z","updated_at":"2018-03-27T21:02:45Z","pushed_at":"2018-03-27T21:02:44Z","git_url":"git://github.com/stonehouse/SwiftGit2.git","ssh_url":"git@github.com:stonehouse/SwiftGit2.git","clone_url":"https://github.com/stonehouse/SwiftGit2.git","svn_url":"https://github.com/stonehouse/SwiftGit2","homepage":null,"size":2446,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SwiftGit2:master","ref":"master","sha":"d35dac654c6b2856362670c1681e7334a66f934e","user":{"login":"SwiftGit2","id":11022021,"avatar_url":"https://avatars3.githubusercontent.com/u/11022021?v=4","gravatar_id":"","url":"https://api.github.com/users/SwiftGit2","html_url":"https://github.com/SwiftGit2","followers_url":"https://api.github.com/users/SwiftGit2/followers","following_url":"https://api.github.com/users/SwiftGit2/following{/other_user}","gists_url":"https://api.github.com/users/SwiftGit2/gists{/gist_id}","starred_url":"https://api.github.com/users/SwiftGit2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwiftGit2/subscriptions","organizations_url":"https://api.github.com/users/SwiftGit2/orgs","repos_url":"https://api.github.com/users/SwiftGit2/repos","events_url":"https://api.github.com/users/SwiftGit2/events{/privacy}","received_events_url":"https://api.github.com/users/SwiftGit2/received_events","type":"Organization","site_admin":false},"repo":{"id":26741607,"name":"SwiftGit2","full_name":"SwiftGit2/SwiftGit2","owner":{"login":"SwiftGit2","id":11022021,"avatar_url":"https://avatars3.githubusercontent.com/u/11022021?v=4","gravatar_id":"","url":"https://api.github.com/users/SwiftGit2","html_url":"https://github.com/SwiftGit2","followers_url":"https://api.github.com/users/SwiftGit2/followers","following_url":"https://api.github.com/users/SwiftGit2/following{/other_user}","gists_url":"https://api.github.com/users/SwiftGit2/gists{/gist_id}","starred_url":"https://api.github.com/users/SwiftGit2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwiftGit2/subscriptions","organizations_url":"https://api.github.com/users/SwiftGit2/orgs","repos_url":"https://api.github.com/users/SwiftGit2/repos","events_url":"https://api.github.com/users/SwiftGit2/events{/privacy}","received_events_url":"https://api.github.com/users/SwiftGit2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SwiftGit2/SwiftGit2","description":"Swift bindings to libgit2","fork":false,"url":"https://api.github.com/repos/SwiftGit2/SwiftGit2","forks_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/forks","keys_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/teams","hooks_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/hooks","issue_events_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/issues/events{/number}","events_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/events","assignees_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/assignees{/user}","branches_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/branches{/branch}","tags_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/tags","blobs_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/git/refs{/sha}","trees_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/statuses/{sha}","languages_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/languages","stargazers_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/stargazers","contributors_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/contributors","subscribers_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/subscribers","subscription_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/subscription","commits_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/commits{/sha}","git_commits_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/git/commits{/sha}","comments_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/comments{/number}","issue_comment_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/issues/comments{/number}","contents_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/contents/{+path}","compare_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/merges","archive_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/downloads","issues_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/issues{/number}","pulls_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/pulls{/number}","milestones_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/milestones{/number}","notifications_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/labels{/name}","releases_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/releases{/id}","deployments_url":"https://api.github.com/repos/SwiftGit2/SwiftGit2/deployments","created_at":"2014-11-17T05:32:00Z","updated_at":"2018-03-26T17:21:44Z","pushed_at":"2018-03-26T20:01:35Z","git_url":"git://github.com/SwiftGit2/SwiftGit2.git","ssh_url":"git@github.com:SwiftGit2/SwiftGit2.git","clone_url":"https://github.com/SwiftGit2/SwiftGit2.git","svn_url":"https://github.com/SwiftGit2/SwiftGit2","homepage":null,"size":2511,"stargazers_count":258,"watchers_count":258,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":35,"mirror_url":null,"archived":false,"open_issues_count":32,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":35,"open_issues":32,"watchers":258,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SwiftGit2/SwiftGit2/pulls/122"},"html":{"href":"https://github.com/SwiftGit2/SwiftGit2/pull/122"},"issue":{"href":"https://api.github.com/repos/SwiftGit2/SwiftGit2/issues/122"},"comments":{"href":"https://api.github.com/repos/SwiftGit2/SwiftGit2/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/SwiftGit2/SwiftGit2/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/SwiftGit2/SwiftGit2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SwiftGit2/SwiftGit2/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/SwiftGit2/SwiftGit2/statuses/274c446cc2c427901a739e453f942bcf63141d60"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":140,"deletions":58,"changed_files":18}}
{"actor":{"display_login":"stonehouse"}}