{"action":"created","issue":{"url":"https://api.github.com/repos/racket/racket/issues/1472","repository_url":"https://api.github.com/repos/racket/racket","labels_url":"https://api.github.com/repos/racket/racket/issues/1472/labels{/name}","comments_url":"https://api.github.com/repos/racket/racket/issues/1472/comments","events_url":"https://api.github.com/repos/racket/racket/issues/1472/events","html_url":"https://github.com/racket/racket/pull/1472","id":180165812,"number":1472,"title":"Add support for git-backed packages that require authentication","user":{"login":"lexi-lambda","id":759911,"avatar_url":"https://avatars.githubusercontent.com/u/759911?v=3","gravatar_id":"","url":"https://api.github.com/users/lexi-lambda","html_url":"https://github.com/lexi-lambda","followers_url":"https://api.github.com/users/lexi-lambda/followers","following_url":"https://api.github.com/users/lexi-lambda/following{/other_user}","gists_url":"https://api.github.com/users/lexi-lambda/gists{/gist_id}","starred_url":"https://api.github.com/users/lexi-lambda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexi-lambda/subscriptions","organizations_url":"https://api.github.com/users/lexi-lambda/orgs","repos_url":"https://api.github.com/users/lexi-lambda/repos","events_url":"https://api.github.com/users/lexi-lambda/events{/privacy}","received_events_url":"https://api.github.com/users/lexi-lambda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-29T21:18:47Z","updated_at":"2016-10-05T19:49:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/racket/racket/pulls/1472","html_url":"https://github.com/racket/racket/pull/1472","diff_url":"https://github.com/racket/racket/pull/1472.diff","patch_url":"https://github.com/racket/racket/pull/1472.patch"},"body":"This set of changes implements support for packages backed by private git repositories that support authentication via HTTP Basic Authentication (which GitHub supports, for example). It is divided into three parts:\r\n\r\n  1. It adjusts `net/git-checkout` to support `#:username` and `#:password` options when cloning a package.\r\n\r\n  2. A new configuration option, `git-checkout-credentials`, is added to `raco pkg config`. This is a set of credentials that the package system will attempt to supply when installing a package.\r\n\r\n  3. The package system itself is adjusted to supply the aforementioned credentials. It will always attempt to download a package without any authentication first, but if that fails, it will retry with credentials. If none of the sets of credentials are successful, then the package will fail to install as normal.\r\n\r\nThis permits consuming packages backed by private GitHub repositories, which is a feature my team would need to have available if we want to use Racket for some of our internal tooling."},"comment":{"url":"https://api.github.com/repos/racket/racket/issues/comments/251779531","html_url":"https://github.com/racket/racket/pull/1472#issuecomment-251779531","issue_url":"https://api.github.com/repos/racket/racket/issues/1472","id":251779531,"user":{"login":"jeapostrophe","id":232698,"avatar_url":"https://avatars.githubusercontent.com/u/232698?v=3","gravatar_id":"","url":"https://api.github.com/users/jeapostrophe","html_url":"https://github.com/jeapostrophe","followers_url":"https://api.github.com/users/jeapostrophe/followers","following_url":"https://api.github.com/users/jeapostrophe/following{/other_user}","gists_url":"https://api.github.com/users/jeapostrophe/gists{/gist_id}","starred_url":"https://api.github.com/users/jeapostrophe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeapostrophe/subscriptions","organizations_url":"https://api.github.com/users/jeapostrophe/orgs","repos_url":"https://api.github.com/users/jeapostrophe/repos","events_url":"https://api.github.com/users/jeapostrophe/events{/privacy}","received_events_url":"https://api.github.com/users/jeapostrophe/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T19:49:06Z","updated_at":"2016-10-05T19:49:06Z","body":"I think the problem is that our pltgit only supports SSH keys :/\r\n\r\nCan you make a little fake shim server that looks for a correctly formatted request appear?"}}
{"actor":{"display_login":"jeapostrophe"}}