{"action":"opened","number":1178,"pull_request":{"url":"https://api.github.com/repos/libgit2/libgit2sharp/pulls/1178","id":43027461,"html_url":"https://github.com/libgit2/libgit2sharp/pull/1178","diff_url":"https://github.com/libgit2/libgit2sharp/pull/1178.diff","patch_url":"https://github.com/libgit2/libgit2sharp/pull/1178.patch","issue_url":"https://api.github.com/repos/libgit2/libgit2sharp/issues/1178","number":1178,"state":"open","locked":false,"title":"[WIP] Certs and Creds from a managed smart subtransport","user":{"login":"carlosmn","id":335443,"avatar_url":"https://avatars.githubusercontent.com/u/335443?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosmn","html_url":"https://github.com/carlosmn","followers_url":"https://api.github.com/users/carlosmn/followers","following_url":"https://api.github.com/users/carlosmn/following{/other_user}","gists_url":"https://api.github.com/users/carlosmn/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosmn/subscriptions","organizations_url":"https://api.github.com/users/carlosmn/orgs","repos_url":"https://api.github.com/users/carlosmn/repos","events_url":"https://api.github.com/users/carlosmn/events{/privacy}","received_events_url":"https://api.github.com/users/carlosmn/received_events","type":"User","site_admin":false},"body":"The current implementation does not ask for credentials or confirm server certs via the libgit2 channel; the implementation we know of wants to bypass libgit2 for these things. Which is fine, but if we want a managed implementation to behave like the built-in ones, we also need to let the subtransport ask for them.\r\n\r\nThis is an attempt at such an implementation. Basically nothing is final, but I'd like to know what we consider best to deal with return codes coming from the callbacks. We might be able to punt and say that we only support whatever libgit2sharp itself would return, so maybe we don't have to deal with `PASSTHROUGH` if we never generate it.\r\n\r\nThis depends on updated libgit2 binaries.","created_at":"2015-08-21T11:16:01Z","updated_at":"2015-08-21T11:16:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/libgit2/libgit2sharp/pulls/1178/commits","review_comments_url":"https://api.github.com/repos/libgit2/libgit2sharp/pulls/1178/comments","review_comment_url":"https://api.github.com/repos/libgit2/libgit2sharp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libgit2/libgit2sharp/issues/1178/comments","statuses_url":"https://api.github.com/repos/libgit2/libgit2sharp/statuses/bebede8c07315ad9f693d43db7d14339216e55ff","head":{"label":"carlosmn:cmn/subtransport-owner","ref":"cmn/subtransport-owner","sha":"bebede8c07315ad9f693d43db7d14339216e55ff","user":{"login":"carlosmn","id":335443,"avatar_url":"https://avatars.githubusercontent.com/u/335443?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosmn","html_url":"https://github.com/carlosmn","followers_url":"https://api.github.com/users/carlosmn/followers","following_url":"https://api.github.com/users/carlosmn/following{/other_user}","gists_url":"https://api.github.com/users/carlosmn/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosmn/subscriptions","organizations_url":"https://api.github.com/users/carlosmn/orgs","repos_url":"https://api.github.com/users/carlosmn/repos","events_url":"https://api.github.com/users/carlosmn/events{/privacy}","received_events_url":"https://api.github.com/users/carlosmn/received_events","type":"User","site_admin":false},"repo":{"id":3324624,"name":"libgit2sharp","full_name":"carlosmn/libgit2sharp","owner":{"login":"carlosmn","id":335443,"avatar_url":"https://avatars.githubusercontent.com/u/335443?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosmn","html_url":"https://github.com/carlosmn","followers_url":"https://api.github.com/users/carlosmn/followers","following_url":"https://api.github.com/users/carlosmn/following{/other_user}","gists_url":"https://api.github.com/users/carlosmn/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosmn/subscriptions","organizations_url":"https://api.github.com/users/carlosmn/orgs","repos_url":"https://api.github.com/users/carlosmn/repos","events_url":"https://api.github.com/users/carlosmn/events{/privacy}","received_events_url":"https://api.github.com/users/carlosmn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carlosmn/libgit2sharp","description":".NET bindings for libgit2","fork":true,"url":"https://api.github.com/repos/carlosmn/libgit2sharp","forks_url":"https://api.github.com/repos/carlosmn/libgit2sharp/forks","keys_url":"https://api.github.com/repos/carlosmn/libgit2sharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carlosmn/libgit2sharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carlosmn/libgit2sharp/teams","hooks_url":"https://api.github.com/repos/carlosmn/libgit2sharp/hooks","issue_events_url":"https://api.github.com/repos/carlosmn/libgit2sharp/issues/events{/number}","events_url":"https://api.github.com/repos/carlosmn/libgit2sharp/events","assignees_url":"https://api.github.com/repos/carlosmn/libgit2sharp/assignees{/user}","branches_url":"https://api.github.com/repos/carlosmn/libgit2sharp/branches{/branch}","tags_url":"https://api.github.com/repos/carlosmn/libgit2sharp/tags","blobs_url":"https://api.github.com/repos/carlosmn/libgit2sharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carlosmn/libgit2sharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carlosmn/libgit2sharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/carlosmn/libgit2sharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carlosmn/libgit2sharp/statuses/{sha}","languages_url":"https://api.github.com/repos/carlosmn/libgit2sharp/languages","stargazers_url":"https://api.github.com/repos/carlosmn/libgit2sharp/stargazers","contributors_url":"https://api.github.com/repos/carlosmn/libgit2sharp/contributors","subscribers_url":"https://api.github.com/repos/carlosmn/libgit2sharp/subscribers","subscription_url":"https://api.github.com/repos/carlosmn/libgit2sharp/subscription","commits_url":"https://api.github.com/repos/carlosmn/libgit2sharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/carlosmn/libgit2sharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/carlosmn/libgit2sharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/carlosmn/libgit2sharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/carlosmn/libgit2sharp/contents/{+path}","compare_url":"https://api.github.com/repos/carlosmn/libgit2sharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carlosmn/libgit2sharp/merges","archive_url":"https://api.github.com/repos/carlosmn/libgit2sharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carlosmn/libgit2sharp/downloads","issues_url":"https://api.github.com/repos/carlosmn/libgit2sharp/issues{/number}","pulls_url":"https://api.github.com/repos/carlosmn/libgit2sharp/pulls{/number}","milestones_url":"https://api.github.com/repos/carlosmn/libgit2sharp/milestones{/number}","notifications_url":"https://api.github.com/repos/carlosmn/libgit2sharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carlosmn/libgit2sharp/labels{/name}","releases_url":"https://api.github.com/repos/carlosmn/libgit2sharp/releases{/id}","created_at":"2012-02-01T12:31:02Z","updated_at":"2014-05-29T09:33:03Z","pushed_at":"2015-08-21T11:13:14Z","git_url":"git://github.com/carlosmn/libgit2sharp.git","ssh_url":"git@github.com:carlosmn/libgit2sharp.git","clone_url":"https://github.com/carlosmn/libgit2sharp.git","svn_url":"https://github.com/carlosmn/libgit2sharp","homepage":"http://libgit2.github.com","size":143958,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"libgit2:vNext","ref":"vNext","sha":"d11436877eeb5d632edf71a8b4ec0e45a5e7d4a0","user":{"login":"libgit2","id":394745,"avatar_url":"https://avatars.githubusercontent.com/u/394745?v=3","gravatar_id":"","url":"https://api.github.com/users/libgit2","html_url":"https://github.com/libgit2","followers_url":"https://api.github.com/users/libgit2/followers","following_url":"https://api.github.com/users/libgit2/following{/other_user}","gists_url":"https://api.github.com/users/libgit2/gists{/gist_id}","starred_url":"https://api.github.com/users/libgit2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgit2/subscriptions","organizations_url":"https://api.github.com/users/libgit2/orgs","repos_url":"https://api.github.com/users/libgit2/repos","events_url":"https://api.github.com/users/libgit2/events{/privacy}","received_events_url":"https://api.github.com/users/libgit2/received_events","type":"Organization","site_admin":false},"repo":{"id":1415168,"name":"libgit2sharp","full_name":"libgit2/libgit2sharp","owner":{"login":"libgit2","id":394745,"avatar_url":"https://avatars.githubusercontent.com/u/394745?v=3","gravatar_id":"","url":"https://api.github.com/users/libgit2","html_url":"https://github.com/libgit2","followers_url":"https://api.github.com/users/libgit2/followers","following_url":"https://api.github.com/users/libgit2/following{/other_user}","gists_url":"https://api.github.com/users/libgit2/gists{/gist_id}","starred_url":"https://api.github.com/users/libgit2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgit2/subscriptions","organizations_url":"https://api.github.com/users/libgit2/orgs","repos_url":"https://api.github.com/users/libgit2/repos","events_url":"https://api.github.com/users/libgit2/events{/privacy}","received_events_url":"https://api.github.com/users/libgit2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libgit2/libgit2sharp","description":"Git + .NET/Mono = ❤","fork":false,"url":"https://api.github.com/repos/libgit2/libgit2sharp","forks_url":"https://api.github.com/repos/libgit2/libgit2sharp/forks","keys_url":"https://api.github.com/repos/libgit2/libgit2sharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libgit2/libgit2sharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libgit2/libgit2sharp/teams","hooks_url":"https://api.github.com/repos/libgit2/libgit2sharp/hooks","issue_events_url":"https://api.github.com/repos/libgit2/libgit2sharp/issues/events{/number}","events_url":"https://api.github.com/repos/libgit2/libgit2sharp/events","assignees_url":"https://api.github.com/repos/libgit2/libgit2sharp/assignees{/user}","branches_url":"https://api.github.com/repos/libgit2/libgit2sharp/branches{/branch}","tags_url":"https://api.github.com/repos/libgit2/libgit2sharp/tags","blobs_url":"https://api.github.com/repos/libgit2/libgit2sharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libgit2/libgit2sharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libgit2/libgit2sharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/libgit2/libgit2sharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libgit2/libgit2sharp/statuses/{sha}","languages_url":"https://api.github.com/repos/libgit2/libgit2sharp/languages","stargazers_url":"https://api.github.com/repos/libgit2/libgit2sharp/stargazers","contributors_url":"https://api.github.com/repos/libgit2/libgit2sharp/contributors","subscribers_url":"https://api.github.com/repos/libgit2/libgit2sharp/subscribers","subscription_url":"https://api.github.com/repos/libgit2/libgit2sharp/subscription","commits_url":"https://api.github.com/repos/libgit2/libgit2sharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/libgit2/libgit2sharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/libgit2/libgit2sharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/libgit2/libgit2sharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/libgit2/libgit2sharp/contents/{+path}","compare_url":"https://api.github.com/repos/libgit2/libgit2sharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libgit2/libgit2sharp/merges","archive_url":"https://api.github.com/repos/libgit2/libgit2sharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libgit2/libgit2sharp/downloads","issues_url":"https://api.github.com/repos/libgit2/libgit2sharp/issues{/number}","pulls_url":"https://api.github.com/repos/libgit2/libgit2sharp/pulls{/number}","milestones_url":"https://api.github.com/repos/libgit2/libgit2sharp/milestones{/number}","notifications_url":"https://api.github.com/repos/libgit2/libgit2sharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libgit2/libgit2sharp/labels{/name}","releases_url":"https://api.github.com/repos/libgit2/libgit2sharp/releases{/id}","created_at":"2011-02-26T16:44:49Z","updated_at":"2015-08-20T12:11:23Z","pushed_at":"2015-08-18T09:25:57Z","git_url":"git://github.com/libgit2/libgit2sharp.git","ssh_url":"git@github.com:libgit2/libgit2sharp.git","clone_url":"https://github.com/libgit2/libgit2sharp.git","svn_url":"https://github.com/libgit2/libgit2sharp","homepage":"http://libgit2.github.com","size":238208,"stargazers_count":833,"watchers_count":833,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":345,"mirror_url":null,"open_issues_count":154,"forks":345,"open_issues":154,"watchers":833,"default_branch":"vNext"}},"_links":{"self":{"href":"https://api.github.com/repos/libgit2/libgit2sharp/pulls/1178"},"html":{"href":"https://github.com/libgit2/libgit2sharp/pull/1178"},"issue":{"href":"https://api.github.com/repos/libgit2/libgit2sharp/issues/1178"},"comments":{"href":"https://api.github.com/repos/libgit2/libgit2sharp/issues/1178/comments"},"review_comments":{"href":"https://api.github.com/repos/libgit2/libgit2sharp/pulls/1178/comments"},"review_comment":{"href":"https://api.github.com/repos/libgit2/libgit2sharp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libgit2/libgit2sharp/pulls/1178/commits"},"statuses":{"href":"https://api.github.com/repos/libgit2/libgit2sharp/statuses/bebede8c07315ad9f693d43db7d14339216e55ff"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":233,"deletions":4,"changed_files":11}}