{"action":"created","issue":{"url":"https://api.github.com/repos/github/VisualStudio/issues/1607","repository_url":"https://api.github.com/repos/github/VisualStudio","labels_url":"https://api.github.com/repos/github/VisualStudio/issues/1607/labels{/name}","comments_url":"https://api.github.com/repos/github/VisualStudio/issues/1607/comments","events_url":"https://api.github.com/repos/github/VisualStudio/issues/1607/events","html_url":"https://github.com/github/VisualStudio/pull/1607","id":314754589,"number":1607,"title":"GitHub fork beta functionality","user":{"login":"StanleyGoldman","id":417571,"avatar_url":"https://avatars0.githubusercontent.com/u/417571?v=4","gravatar_id":"","url":"https://api.github.com/users/StanleyGoldman","html_url":"https://github.com/StanleyGoldman","followers_url":"https://api.github.com/users/StanleyGoldman/followers","following_url":"https://api.github.com/users/StanleyGoldman/following{/other_user}","gists_url":"https://api.github.com/users/StanleyGoldman/gists{/gist_id}","starred_url":"https://api.github.com/users/StanleyGoldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StanleyGoldman/subscriptions","organizations_url":"https://api.github.com/users/StanleyGoldman/orgs","repos_url":"https://api.github.com/users/StanleyGoldman/repos","events_url":"https://api.github.com/users/StanleyGoldman/events{/privacy}","received_events_url":"https://api.github.com/users/StanleyGoldman/received_events","type":"User","site_admin":true},"labels":[{"id":379344578,"url":"https://api.github.com/repos/github/VisualStudio/labels/Ready%20for%20Review","name":"Ready for Review","color":"bf4080","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-04-16T17:46:32Z","updated_at":"2018-05-03T13:07:43Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/github/VisualStudio/pulls/1607","html_url":"https://github.com/github/VisualStudio/pull/1607","diff_url":"https://github.com/github/VisualStudio/pull/1607.diff","patch_url":"https://github.com/github/VisualStudio/pull/1607.patch"},"body":"- Building upon @grokys initial implementaion in #1507 \r\n- This adds functionality to call github.com to create a fork\r\n  - Update the local repository to use the fork as the `origin`\r\n  - Update the local repository to retain the original remote as `upstream`\r\n  - Update the tracking of the `master` branch to be `upstream/master`\r\n\r\n- This functionality is behind a beta option in settings\r\n- Added the following metrics to track usage\r\n  - `NumberOfShowRepoForkDialogClicks`\r\n  - `NumberOfReposForked`\r\n  - `NumberOfOriginsUpdatedWhenForkingRepo`\r\n  - `NumberOfUpstreamsAddedWhenForkingRepo`\r\n  - `NumberOfTrackMasterUpstreamWhenForkingRepo`\r\n\r\nCurrent Issues:\r\n- [x] ~Attempts to change the branch tracking to `upstream/master` fail~\r\n- [x] ~Team explorer display needs to be refreshing depends on fork choices~\r\n\r\n![img](https://i.imgur.com/nnHnX9Y.gif)"},"comment":{"url":"https://api.github.com/repos/github/VisualStudio/issues/comments/386289220","html_url":"https://github.com/github/VisualStudio/pull/1607#issuecomment-386289220","issue_url":"https://api.github.com/repos/github/VisualStudio/issues/1607","id":386289220,"user":{"login":"StanleyGoldman","id":417571,"avatar_url":"https://avatars0.githubusercontent.com/u/417571?v=4","gravatar_id":"","url":"https://api.github.com/users/StanleyGoldman","html_url":"https://github.com/StanleyGoldman","followers_url":"https://api.github.com/users/StanleyGoldman/followers","following_url":"https://api.github.com/users/StanleyGoldman/following{/other_user}","gists_url":"https://api.github.com/users/StanleyGoldman/gists{/gist_id}","starred_url":"https://api.github.com/users/StanleyGoldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StanleyGoldman/subscriptions","organizations_url":"https://api.github.com/users/StanleyGoldman/orgs","repos_url":"https://api.github.com/users/StanleyGoldman/repos","events_url":"https://api.github.com/users/StanleyGoldman/events{/privacy}","received_events_url":"https://api.github.com/users/StanleyGoldman/received_events","type":"User","site_admin":true},"created_at":"2018-05-03T13:07:43Z","updated_at":"2018-05-03T13:07:43Z","author_association":"CONTRIBUTOR","body":"@jcansdale I did have a regression here. I also realized that it wasn't quite right to begin with.\r\n\r\n```\r\n                      +---------+\r\n                      |         | Users and Orgs\r\n                      |         | where a Repo\r\n               +---------+      | exists\r\n               |XXXXXX|  |      |\r\n               |XXXXXX|  |      |\r\nPlaces where a |XXXXXX+---------+\r\nUser can put a |XXXXXXXXX|\r\nRepo           |XXXXXXXXX|\r\n               +---------+\r\n```\r\n\r\nWe need the shaded area above, but I'm not a fan of how I got it accomplished.\r\nI have to go find out how to use GraphQL inside of Visual Studio, then I should be able to improve this lookup."}}
{"actor":{"display_login":"StanleyGoldman"}}