{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/PartsUnlimited/pulls/comments/65307159","id":65307159,"diff_hunk":"@@ -18,13 +18,82 @@ pushed to Visual Studio Team Services.\n \n ### Tasks Overview: ###\n \n-**1. Setup your Visual Studio Team Services Account using Visual Studio:** In this step, you will connect your own Visual Studio Team Services account, download the PartsUnlimited source code, and then push it to your own Visual Studio Team Services account. \n+**1. Import Source Code into your VSTS Account:** In this step, you will connect your own Visual Studio Team Services account, download the PartsUnlimited source code, and then push it to your own Visual Studio Team Services account. There are two approaches to doing this: a) Use the Git command line, or b) Use Visual Studio. The Git command line is the cleanest and easiest approach, but it does require some familiarity with the Git command line. \n \n **2. Create Continuous Integration Build:** In this step, you will create a build definition that will be triggered every time a commit is pushed to your repository in Visual Studio Team Services. \n \n **3. Test the CI Trigger in Visual Studio Team Services:** In this step, test the Continuous Integration build (CI) build we created by changing code in the Parts Unlimited project with Visual Studio Team Services. \n \n-### 1: Setup your Visual Studio Team Services Account using Visual Studio\n+### 1a: Import Source Code into your VSTS Account with Git\n+\n+> Note: Use this to approach to use the Git command line to migrate code from GitHub to VSTS. If you use this approach, skip section 1b.\n+\n+We want to push the application code to your Visual Studio Team Services account in\n+order to use Build.\n+\n+> **Talking Point:** For this lab we are using the VSTS Git project. The next couple of steps will allow you to add the PartUnlimited source to the Git master repository.\n+\n+**1.** (Optional) Navigate to [hhttps://github.com/Microsoft/PartsUnlimited](https://github.com/Microsoft/PartsUnlimited) and copy the URL to the repo. (These steps all use the HTTPS protocol.)  This step will save you from having to type the full URL later.\n+\n+![](<media/clone.png>)\n+\n+**2.** Clone the repository to a local directory.\n+\n+Create a parent **Working Directory** on your local file system. For instance, on a Windows OS you can create the following directory:\n+\n+`C:\\Source\\Repos`\n+\n+Open a command line (one that supports Git) and change to the directory you created above.\n+\n+Clone the repository with the following command. You can paste in the URL if you copied it in Step 1.  In the example below, the clone will be copied into a directory named HOL. Feel free to use whatever directory name you like, or leave it blank to use the default directory name:\n+\n+\tgit clone https://github.com/Microsoft/PartsUnlimited.git HOL\n+\n+After a few seconds of downloading, all of the code should now be on your local machine.\n+\n+Move into the directory that was just created.  In a Windows OS (and assuming you used HOL as the directory name), you can use this command:\n+\n+\tcd HOL\n+\n+**3.** Remove the link to GitHub. \n+\n+The Git repo you just downloaded currently has a remote called _origin_ that points to the GitHub repo.  Since we won't be using it any longer, we can rename it or delete it altogether. You can either delete or rename the remote.  (You can theoretically leave it called _origin_ and use a different name for the VSTS remote. However, in later labs we're going to assume that your remote pointing to VSTS is called _origin_, so I recommend you either delete or rename the repo.)","path":"docs/HOL_Continuous_Integration/README.md","position":45,"original_position":45,"commit_id":"7cf271f2797763333b0f1372d21adbe71312bb8e","original_commit_id":"7cf271f2797763333b0f1372d21adbe71312bb8e","user":{"login":"dtzar","id":3578906,"avatar_url":"https://avatars.githubusercontent.com/u/3578906?v=3","gravatar_id":"","url":"https://api.github.com/users/dtzar","html_url":"https://github.com/dtzar","followers_url":"https://api.github.com/users/dtzar/followers","following_url":"https://api.github.com/users/dtzar/following{/other_user}","gists_url":"https://api.github.com/users/dtzar/gists{/gist_id}","starred_url":"https://api.github.com/users/dtzar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtzar/subscriptions","organizations_url":"https://api.github.com/users/dtzar/orgs","repos_url":"https://api.github.com/users/dtzar/repos","events_url":"https://api.github.com/users/dtzar/events{/privacy}","received_events_url":"https://api.github.com/users/dtzar/received_events","type":"User","site_admin":false},"body":"Let's change the text inside the ( ) to be a > Note: instead.  Also you have redundant verbiage here - the Since we won't ... sentence & \"You can either ..\"","created_at":"2016-06-01T06:16:23Z","updated_at":"2016-06-01T06:16:23Z","html_url":"https://github.com/Microsoft/PartsUnlimited/pull/76#discussion_r65307159","pull_request_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/PartsUnlimited/pulls/comments/65307159"},"html":{"href":"https://github.com/Microsoft/PartsUnlimited/pull/76#discussion_r65307159"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/PartsUnlimited/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/PartsUnlimited/pulls/76","id":72126360,"html_url":"https://github.com/Microsoft/PartsUnlimited/pull/76","diff_url":"https://github.com/Microsoft/PartsUnlimited/pull/76.diff","patch_url":"https://github.com/Microsoft/PartsUnlimited/pull/76.patch","issue_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/issues/76","number":76,"state":"open","locked":false,"title":"Add instructions to migrate from GitHub to VSTS using git command line","user":{"login":"StevenBorg","id":1395294,"avatar_url":"https://avatars.githubusercontent.com/u/1395294?v=3","gravatar_id":"","url":"https://api.github.com/users/StevenBorg","html_url":"https://github.com/StevenBorg","followers_url":"https://api.github.com/users/StevenBorg/followers","following_url":"https://api.github.com/users/StevenBorg/following{/other_user}","gists_url":"https://api.github.com/users/StevenBorg/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenBorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenBorg/subscriptions","organizations_url":"https://api.github.com/users/StevenBorg/orgs","repos_url":"https://api.github.com/users/StevenBorg/repos","events_url":"https://api.github.com/users/StevenBorg/events{/privacy}","received_events_url":"https://api.github.com/users/StevenBorg/received_events","type":"User","site_admin":false},"body":"This is far easier than using Visual Studio, and ensures that history and all branches are also migrated.","created_at":"2016-06-01T05:54:53Z","updated_at":"2016-06-01T06:16:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eb5cc7f731a18182b9dcf7906ed481ae56a344d9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/pulls/76/commits","review_comments_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/pulls/76/comments","review_comment_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/issues/76/comments","statuses_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/statuses/7cf271f2797763333b0f1372d21adbe71312bb8e","head":{"label":"StevenBorg:aspnet45","ref":"aspnet45","sha":"7cf271f2797763333b0f1372d21adbe71312bb8e","user":{"login":"StevenBorg","id":1395294,"avatar_url":"https://avatars.githubusercontent.com/u/1395294?v=3","gravatar_id":"","url":"https://api.github.com/users/StevenBorg","html_url":"https://github.com/StevenBorg","followers_url":"https://api.github.com/users/StevenBorg/followers","following_url":"https://api.github.com/users/StevenBorg/following{/other_user}","gists_url":"https://api.github.com/users/StevenBorg/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenBorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenBorg/subscriptions","organizations_url":"https://api.github.com/users/StevenBorg/orgs","repos_url":"https://api.github.com/users/StevenBorg/repos","events_url":"https://api.github.com/users/StevenBorg/events{/privacy}","received_events_url":"https://api.github.com/users/StevenBorg/received_events","type":"User","site_admin":false},"repo":{"id":60148535,"name":"PartsUnlimited","full_name":"StevenBorg/PartsUnlimited","owner":{"login":"StevenBorg","id":1395294,"avatar_url":"https://avatars.githubusercontent.com/u/1395294?v=3","gravatar_id":"","url":"https://api.github.com/users/StevenBorg","html_url":"https://github.com/StevenBorg","followers_url":"https://api.github.com/users/StevenBorg/followers","following_url":"https://api.github.com/users/StevenBorg/following{/other_user}","gists_url":"https://api.github.com/users/StevenBorg/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenBorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenBorg/subscriptions","organizations_url":"https://api.github.com/users/StevenBorg/orgs","repos_url":"https://api.github.com/users/StevenBorg/repos","events_url":"https://api.github.com/users/StevenBorg/events{/privacy}","received_events_url":"https://api.github.com/users/StevenBorg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/StevenBorg/PartsUnlimited","description":"Parts Unlimited is a fictional ecommerce website based on the The Phoenix Project by Gene Kim, Kevin Behr and George Spafford.  The website, built on ASP.NET  5 MVC 6 includes product listings by category, product details, shopping cart, order history, product recommendations, search, and more.","fork":true,"url":"https://api.github.com/repos/StevenBorg/PartsUnlimited","forks_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/forks","keys_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/teams","hooks_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/hooks","issue_events_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/issues/events{/number}","events_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/events","assignees_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/assignees{/user}","branches_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/branches{/branch}","tags_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/tags","blobs_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/git/refs{/sha}","trees_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/statuses/{sha}","languages_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/languages","stargazers_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/stargazers","contributors_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/contributors","subscribers_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/subscribers","subscription_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/subscription","commits_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/commits{/sha}","git_commits_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/git/commits{/sha}","comments_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/comments{/number}","issue_comment_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/issues/comments{/number}","contents_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/contents/{+path}","compare_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/merges","archive_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/downloads","issues_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/issues{/number}","pulls_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/pulls{/number}","milestones_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/milestones{/number}","notifications_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/labels{/name}","releases_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/releases{/id}","deployments_url":"https://api.github.com/repos/StevenBorg/PartsUnlimited/deployments","created_at":"2016-06-01T05:40:48Z","updated_at":"2016-06-01T05:40:49Z","pushed_at":"2016-06-01T05:51:54Z","git_url":"git://github.com/StevenBorg/PartsUnlimited.git","ssh_url":"git@github.com:StevenBorg/PartsUnlimited.git","clone_url":"https://github.com/StevenBorg/PartsUnlimited.git","svn_url":"https://github.com/StevenBorg/PartsUnlimited","homepage":"","size":17237,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"Microsoft:aspnet45","ref":"aspnet45","sha":"52c7a590dfb024c9f4845907113de26809ce55b0","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":34681009,"name":"PartsUnlimited","full_name":"Microsoft/PartsUnlimited","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/PartsUnlimited","description":"Parts Unlimited is a fictional ecommerce website based on the The Phoenix Project by Gene Kim, Kevin Behr and George Spafford.  The website, built on ASP.NET  5 MVC 6 includes product listings by category, product details, shopping cart, order history, product recommendations, search, and more.","fork":false,"url":"https://api.github.com/repos/Microsoft/PartsUnlimited","forks_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/forks","keys_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/teams","hooks_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/events","assignees_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/tags","blobs_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/languages","stargazers_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/subscription","commits_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/merges","archive_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/downloads","issues_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/PartsUnlimited/deployments","created_at":"2015-04-27T17:34:03Z","updated_at":"2016-05-31T10:40:15Z","pushed_at":"2016-06-01T05:54:53Z","git_url":"git://github.com/Microsoft/PartsUnlimited.git","ssh_url":"git@github.com:Microsoft/PartsUnlimited.git","clone_url":"https://github.com/Microsoft/PartsUnlimited.git","svn_url":"https://github.com/Microsoft/PartsUnlimited","homepage":"","size":25890,"stargazers_count":226,"watchers_count":226,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":140,"mirror_url":null,"open_issues_count":5,"forks":140,"open_issues":5,"watchers":226,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/PartsUnlimited/pulls/76"},"html":{"href":"https://github.com/Microsoft/PartsUnlimited/pull/76"},"issue":{"href":"https://api.github.com/repos/Microsoft/PartsUnlimited/issues/76"},"comments":{"href":"https://api.github.com/repos/Microsoft/PartsUnlimited/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/PartsUnlimited/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/PartsUnlimited/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/PartsUnlimited/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/PartsUnlimited/statuses/7cf271f2797763333b0f1372d21adbe71312bb8e"}}}}
{"actor":{"display_login":"dtzar"}}