{"action":"closed","number":101,"pull_request":{"url":"https://api.github.com/repos/apache/mynewt-newt/pulls/101","id":146567343,"html_url":"https://github.com/apache/mynewt-newt/pull/101","diff_url":"https://github.com/apache/mynewt-newt/pull/101.diff","patch_url":"https://github.com/apache/mynewt-newt/pull/101.patch","issue_url":"https://api.github.com/repos/apache/mynewt-newt/issues/101","number":101,"state":"closed","locked":false,"title":"MYNEWT-851  newt - Private repo password displayed by `git remote -v`","user":{"login":"ccollins476ad","id":13006531,"avatar_url":"https://avatars0.githubusercontent.com/u/13006531?v=4","gravatar_id":"","url":"https://api.github.com/users/ccollins476ad","html_url":"https://github.com/ccollins476ad","followers_url":"https://api.github.com/users/ccollins476ad/followers","following_url":"https://api.github.com/users/ccollins476ad/following{/other_user}","gists_url":"https://api.github.com/users/ccollins476ad/gists{/gist_id}","starred_url":"https://api.github.com/users/ccollins476ad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccollins476ad/subscriptions","organizations_url":"https://api.github.com/users/ccollins476ad/orgs","repos_url":"https://api.github.com/users/ccollins476ad/repos","events_url":"https://api.github.com/users/ccollins476ad/events{/privacy}","received_events_url":"https://api.github.com/users/ccollins476ad/received_events","type":"User","site_admin":false},"body":"(Jira: https://issues.apache.org/jira/browse/MYNEWT-851)\r\n\r\n#### Prior to commit\r\n\r\nFor private repos, the user's login and password are part of the repo URL. E.g.,\r\n\r\n```\r\n    wes@~/dev/work/repos/private-repo$ git remote -v\r\n    origin    https://wes3:[password-redacted]@github.com/PrivateRepo/private-repo.git (fetch)\r\n    origin    https://wes3:[password-redacted]@github.com/PrivateRepo/private-repo.git (push)\r\n```\r\n\r\n#### After commit\r\n\r\nNewt wraps all git commands that require remote access as follows:\r\n\r\n1. Replace remote URL with the authentication-decorated version.\r\n2. Perform git operation.\r\n3. Replace remote URL with unauthenticated version.","created_at":"2017-10-13T22:33:46Z","updated_at":"2017-10-17T23:05:58Z","closed_at":"2017-10-17T23:05:58Z","merged_at":"2017-10-17T23:05:58Z","merge_commit_sha":"dfd2799b63cb4f52cfb5df9f0008e9afc27a6a7c","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/mynewt-newt/pulls/101/commits","review_comments_url":"https://api.github.com/repos/apache/mynewt-newt/pulls/101/comments","review_comment_url":"https://api.github.com/repos/apache/mynewt-newt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/mynewt-newt/issues/101/comments","statuses_url":"https://api.github.com/repos/apache/mynewt-newt/statuses/ea2a9acd2c4aad0a3b79ff8f952e32c2e9df213e","head":{"label":"ccollins476ad:hide-pw","ref":"hide-pw","sha":"ea2a9acd2c4aad0a3b79ff8f952e32c2e9df213e","user":{"login":"ccollins476ad","id":13006531,"avatar_url":"https://avatars0.githubusercontent.com/u/13006531?v=4","gravatar_id":"","url":"https://api.github.com/users/ccollins476ad","html_url":"https://github.com/ccollins476ad","followers_url":"https://api.github.com/users/ccollins476ad/followers","following_url":"https://api.github.com/users/ccollins476ad/following{/other_user}","gists_url":"https://api.github.com/users/ccollins476ad/gists{/gist_id}","starred_url":"https://api.github.com/users/ccollins476ad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccollins476ad/subscriptions","organizations_url":"https://api.github.com/users/ccollins476ad/orgs","repos_url":"https://api.github.com/users/ccollins476ad/repos","events_url":"https://api.github.com/users/ccollins476ad/events{/privacy}","received_events_url":"https://api.github.com/users/ccollins476ad/received_events","type":"User","site_admin":false},"repo":{"id":66736350,"name":"mynewt-newt","full_name":"ccollins476ad/mynewt-newt","owner":{"login":"ccollins476ad","id":13006531,"avatar_url":"https://avatars0.githubusercontent.com/u/13006531?v=4","gravatar_id":"","url":"https://api.github.com/users/ccollins476ad","html_url":"https://github.com/ccollins476ad","followers_url":"https://api.github.com/users/ccollins476ad/followers","following_url":"https://api.github.com/users/ccollins476ad/following{/other_user}","gists_url":"https://api.github.com/users/ccollins476ad/gists{/gist_id}","starred_url":"https://api.github.com/users/ccollins476ad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccollins476ad/subscriptions","organizations_url":"https://api.github.com/users/ccollins476ad/orgs","repos_url":"https://api.github.com/users/ccollins476ad/repos","events_url":"https://api.github.com/users/ccollins476ad/events{/privacy}","received_events_url":"https://api.github.com/users/ccollins476ad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ccollins476ad/mynewt-newt","description":"Mirror of Apache MyNewt Newt (Incubating)","fork":true,"url":"https://api.github.com/repos/ccollins476ad/mynewt-newt","forks_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/forks","keys_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/teams","hooks_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/hooks","issue_events_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/issues/events{/number}","events_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/events","assignees_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/assignees{/user}","branches_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/branches{/branch}","tags_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/tags","blobs_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/git/refs{/sha}","trees_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/statuses/{sha}","languages_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/languages","stargazers_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/stargazers","contributors_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/contributors","subscribers_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/subscribers","subscription_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/subscription","commits_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/commits{/sha}","git_commits_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/git/commits{/sha}","comments_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/comments{/number}","issue_comment_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/issues/comments{/number}","contents_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/contents/{+path}","compare_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/merges","archive_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/downloads","issues_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/issues{/number}","pulls_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/pulls{/number}","milestones_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/milestones{/number}","notifications_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/labels{/name}","releases_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/releases{/id}","deployments_url":"https://api.github.com/repos/ccollins476ad/mynewt-newt/deployments","created_at":"2016-08-27T21:29:51Z","updated_at":"2017-08-10T19:39:01Z","pushed_at":"2017-10-17T23:05:45Z","git_url":"git://github.com/ccollins476ad/mynewt-newt.git","ssh_url":"git@github.com:ccollins476ad/mynewt-newt.git","clone_url":"https://github.com/ccollins476ad/mynewt-newt.git","svn_url":"https://github.com/ccollins476ad/mynewt-newt","homepage":null,"size":9237,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"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":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"755a8c890b9ab90b224ad0826d70b40b17303175","user":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":45165994,"name":"mynewt-newt","full_name":"apache/mynewt-newt","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/mynewt-newt","description":null,"fork":false,"url":"https://api.github.com/repos/apache/mynewt-newt","forks_url":"https://api.github.com/repos/apache/mynewt-newt/forks","keys_url":"https://api.github.com/repos/apache/mynewt-newt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/mynewt-newt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/mynewt-newt/teams","hooks_url":"https://api.github.com/repos/apache/mynewt-newt/hooks","issue_events_url":"https://api.github.com/repos/apache/mynewt-newt/issues/events{/number}","events_url":"https://api.github.com/repos/apache/mynewt-newt/events","assignees_url":"https://api.github.com/repos/apache/mynewt-newt/assignees{/user}","branches_url":"https://api.github.com/repos/apache/mynewt-newt/branches{/branch}","tags_url":"https://api.github.com/repos/apache/mynewt-newt/tags","blobs_url":"https://api.github.com/repos/apache/mynewt-newt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/mynewt-newt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/mynewt-newt/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/mynewt-newt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/mynewt-newt/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/mynewt-newt/languages","stargazers_url":"https://api.github.com/repos/apache/mynewt-newt/stargazers","contributors_url":"https://api.github.com/repos/apache/mynewt-newt/contributors","subscribers_url":"https://api.github.com/repos/apache/mynewt-newt/subscribers","subscription_url":"https://api.github.com/repos/apache/mynewt-newt/subscription","commits_url":"https://api.github.com/repos/apache/mynewt-newt/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/mynewt-newt/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/mynewt-newt/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/mynewt-newt/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/mynewt-newt/contents/{+path}","compare_url":"https://api.github.com/repos/apache/mynewt-newt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/mynewt-newt/merges","archive_url":"https://api.github.com/repos/apache/mynewt-newt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/mynewt-newt/downloads","issues_url":"https://api.github.com/repos/apache/mynewt-newt/issues{/number}","pulls_url":"https://api.github.com/repos/apache/mynewt-newt/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/mynewt-newt/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/mynewt-newt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/mynewt-newt/labels{/name}","releases_url":"https://api.github.com/repos/apache/mynewt-newt/releases{/id}","deployments_url":"https://api.github.com/repos/apache/mynewt-newt/deployments","created_at":"2015-10-29T07:00:07Z","updated_at":"2017-10-13T06:55:49Z","pushed_at":"2017-10-17T23:05:58Z","git_url":"git://github.com/apache/mynewt-newt.git","ssh_url":"git@github.com:apache/mynewt-newt.git","clone_url":"https://github.com/apache/mynewt-newt.git","svn_url":"https://github.com/apache/mynewt-newt","homepage":"","size":9206,"stargazers_count":54,"watchers_count":54,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":2,"forks":35,"open_issues":2,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/mynewt-newt/pulls/101"},"html":{"href":"https://github.com/apache/mynewt-newt/pull/101"},"issue":{"href":"https://api.github.com/repos/apache/mynewt-newt/issues/101"},"comments":{"href":"https://api.github.com/repos/apache/mynewt-newt/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/mynewt-newt/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/mynewt-newt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/mynewt-newt/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/apache/mynewt-newt/statuses/ea2a9acd2c4aad0a3b79ff8f952e32c2e9df213e"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"ccollins476ad","id":13006531,"avatar_url":"https://avatars0.githubusercontent.com/u/13006531?v=4","gravatar_id":"","url":"https://api.github.com/users/ccollins476ad","html_url":"https://github.com/ccollins476ad","followers_url":"https://api.github.com/users/ccollins476ad/followers","following_url":"https://api.github.com/users/ccollins476ad/following{/other_user}","gists_url":"https://api.github.com/users/ccollins476ad/gists{/gist_id}","starred_url":"https://api.github.com/users/ccollins476ad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccollins476ad/subscriptions","organizations_url":"https://api.github.com/users/ccollins476ad/orgs","repos_url":"https://api.github.com/users/ccollins476ad/repos","events_url":"https://api.github.com/users/ccollins476ad/events{/privacy}","received_events_url":"https://api.github.com/users/ccollins476ad/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":178,"deletions":88,"changed_files":4}}
{"actor":{"display_login":"ccollins476ad"}}