{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/source-build/pulls/comments/173956022","pull_request_review_id":103230488,"id":173956022,"diff_hunk":"@@ -0,0 +1,62 @@\n+# Process for Updating source-build for 2.1\n+\n+## Source Build Repo Structure\n+\n+The source-build repo pulls together all of the repos used to build the dotnet core product and builds them in succession to establish a baseline of packages needed.  It then packages all source into a tarball that can be used by partner teams to build from source.\n+\n+The following are the key source-build sub-directories:\n+\n+* patches - Contains a directory for each repo that requires patches to its source to build correctly.\n+* repos - Contains projects, props and targets to orchestrate the build, including one project for each repo.  \\<RepositoryReference> tags are used to identify dependencies between repositories.  The cli project is the top-level project, which rolls up all others.\n+* src - Contains a submodule for each repo.\n+\n+## Build Stages\n+\n+The source-build process consists of 3 main stages:\n+\n+1. **Build source-build repo**\n+\n+    * Install tools (CLI and BuildTools)\n+    * Apply temporary patches to repos as applicable\n+    * Build each repo\n+\n+1. **Generate tarball**\n+    * Copy Tools to tarball\n+    * Copy sources to tarball\n+    * Create prebuilt packages directory\n+        * Copy each restored package to the prebuilt directory\n+        * Remove any packages generated as part of the source-build build\n+\n+1. **Build tarball in an offline environment**\n+\n+## Auto-depency flow API","path":"Documentation/2.1-update-process.md","position":32,"original_position":32,"commit_id":"137ef6daed5d7c4e31f44298468abe0d43de23ce","original_commit_id":"137ef6daed5d7c4e31f44298468abe0d43de23ce","user":{"login":"crummel","id":8184470,"avatar_url":"https://avatars1.githubusercontent.com/u/8184470?v=4","gravatar_id":"","url":"https://api.github.com/users/crummel","html_url":"https://github.com/crummel","followers_url":"https://api.github.com/users/crummel/followers","following_url":"https://api.github.com/users/crummel/following{/other_user}","gists_url":"https://api.github.com/users/crummel/gists{/gist_id}","starred_url":"https://api.github.com/users/crummel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crummel/subscriptions","organizations_url":"https://api.github.com/users/crummel/orgs","repos_url":"https://api.github.com/users/crummel/repos","events_url":"https://api.github.com/users/crummel/events{/privacy}","received_events_url":"https://api.github.com/users/crummel/received_events","type":"User","site_admin":false},"body":"\"dependency\"","created_at":"2018-03-12T21:41:39Z","updated_at":"2018-03-12T21:43:31Z","html_url":"https://github.com/dotnet/source-build/pull/350#discussion_r173956022","pull_request_url":"https://api.github.com/repos/dotnet/source-build/pulls/350","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/dotnet/source-build/pulls/comments/173956022"},"html":{"href":"https://github.com/dotnet/source-build/pull/350#discussion_r173956022"},"pull_request":{"href":"https://api.github.com/repos/dotnet/source-build/pulls/350"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/source-build/pulls/350","id":174466845,"html_url":"https://github.com/dotnet/source-build/pull/350","diff_url":"https://github.com/dotnet/source-build/pull/350.diff","patch_url":"https://github.com/dotnet/source-build/pull/350.patch","issue_url":"https://api.github.com/repos/dotnet/source-build/issues/350","number":350,"state":"open","locked":false,"title":"Add document with process for updating source-build for 2.1","user":{"login":"dseefeld","id":6424755,"avatar_url":"https://avatars3.githubusercontent.com/u/6424755?v=4","gravatar_id":"","url":"https://api.github.com/users/dseefeld","html_url":"https://github.com/dseefeld","followers_url":"https://api.github.com/users/dseefeld/followers","following_url":"https://api.github.com/users/dseefeld/following{/other_user}","gists_url":"https://api.github.com/users/dseefeld/gists{/gist_id}","starred_url":"https://api.github.com/users/dseefeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dseefeld/subscriptions","organizations_url":"https://api.github.com/users/dseefeld/orgs","repos_url":"https://api.github.com/users/dseefeld/repos","events_url":"https://api.github.com/users/dseefeld/events{/privacy}","received_events_url":"https://api.github.com/users/dseefeld/received_events","type":"User","site_admin":false},"body":"Fixes #346 ","created_at":"2018-03-12T19:10:32Z","updated_at":"2018-03-12T21:43:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07f5addf26358681c8591e63c5762c7aae9eaa93","assignee":null,"assignees":[],"requested_reviewers":[{"login":"dleeapho","id":8313170,"avatar_url":"https://avatars1.githubusercontent.com/u/8313170?v=4","gravatar_id":"","url":"https://api.github.com/users/dleeapho","html_url":"https://github.com/dleeapho","followers_url":"https://api.github.com/users/dleeapho/followers","following_url":"https://api.github.com/users/dleeapho/following{/other_user}","gists_url":"https://api.github.com/users/dleeapho/gists{/gist_id}","starred_url":"https://api.github.com/users/dleeapho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dleeapho/subscriptions","organizations_url":"https://api.github.com/users/dleeapho/orgs","repos_url":"https://api.github.com/users/dleeapho/repos","events_url":"https://api.github.com/users/dleeapho/events{/privacy}","received_events_url":"https://api.github.com/users/dleeapho/received_events","type":"User","site_admin":false},{"login":"weshaggard","id":9010698,"avatar_url":"https://avatars2.githubusercontent.com/u/9010698?v=4","gravatar_id":"","url":"https://api.github.com/users/weshaggard","html_url":"https://github.com/weshaggard","followers_url":"https://api.github.com/users/weshaggard/followers","following_url":"https://api.github.com/users/weshaggard/following{/other_user}","gists_url":"https://api.github.com/users/weshaggard/gists{/gist_id}","starred_url":"https://api.github.com/users/weshaggard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weshaggard/subscriptions","organizations_url":"https://api.github.com/users/weshaggard/orgs","repos_url":"https://api.github.com/users/weshaggard/repos","events_url":"https://api.github.com/users/weshaggard/events{/privacy}","received_events_url":"https://api.github.com/users/weshaggard/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/source-build/pulls/350/commits","review_comments_url":"https://api.github.com/repos/dotnet/source-build/pulls/350/comments","review_comment_url":"https://api.github.com/repos/dotnet/source-build/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/source-build/issues/350/comments","statuses_url":"https://api.github.com/repos/dotnet/source-build/statuses/137ef6daed5d7c4e31f44298468abe0d43de23ce","head":{"label":"dseefeld:Add2.1UpdateDocument","ref":"Add2.1UpdateDocument","sha":"137ef6daed5d7c4e31f44298468abe0d43de23ce","user":{"login":"dseefeld","id":6424755,"avatar_url":"https://avatars3.githubusercontent.com/u/6424755?v=4","gravatar_id":"","url":"https://api.github.com/users/dseefeld","html_url":"https://github.com/dseefeld","followers_url":"https://api.github.com/users/dseefeld/followers","following_url":"https://api.github.com/users/dseefeld/following{/other_user}","gists_url":"https://api.github.com/users/dseefeld/gists{/gist_id}","starred_url":"https://api.github.com/users/dseefeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dseefeld/subscriptions","organizations_url":"https://api.github.com/users/dseefeld/orgs","repos_url":"https://api.github.com/users/dseefeld/repos","events_url":"https://api.github.com/users/dseefeld/events{/privacy}","received_events_url":"https://api.github.com/users/dseefeld/received_events","type":"User","site_admin":false},"repo":{"id":105165682,"name":"source-build","full_name":"dseefeld/source-build","owner":{"login":"dseefeld","id":6424755,"avatar_url":"https://avatars3.githubusercontent.com/u/6424755?v=4","gravatar_id":"","url":"https://api.github.com/users/dseefeld","html_url":"https://github.com/dseefeld","followers_url":"https://api.github.com/users/dseefeld/followers","following_url":"https://api.github.com/users/dseefeld/following{/other_user}","gists_url":"https://api.github.com/users/dseefeld/gists{/gist_id}","starred_url":"https://api.github.com/users/dseefeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dseefeld/subscriptions","organizations_url":"https://api.github.com/users/dseefeld/orgs","repos_url":"https://api.github.com/users/dseefeld/repos","events_url":"https://api.github.com/users/dseefeld/events{/privacy}","received_events_url":"https://api.github.com/users/dseefeld/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dseefeld/source-build","description":"A repository to track efforts to produce a source tarball of the .NET Core SDK and all its components","fork":true,"url":"https://api.github.com/repos/dseefeld/source-build","forks_url":"https://api.github.com/repos/dseefeld/source-build/forks","keys_url":"https://api.github.com/repos/dseefeld/source-build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dseefeld/source-build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dseefeld/source-build/teams","hooks_url":"https://api.github.com/repos/dseefeld/source-build/hooks","issue_events_url":"https://api.github.com/repos/dseefeld/source-build/issues/events{/number}","events_url":"https://api.github.com/repos/dseefeld/source-build/events","assignees_url":"https://api.github.com/repos/dseefeld/source-build/assignees{/user}","branches_url":"https://api.github.com/repos/dseefeld/source-build/branches{/branch}","tags_url":"https://api.github.com/repos/dseefeld/source-build/tags","blobs_url":"https://api.github.com/repos/dseefeld/source-build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dseefeld/source-build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dseefeld/source-build/git/refs{/sha}","trees_url":"https://api.github.com/repos/dseefeld/source-build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dseefeld/source-build/statuses/{sha}","languages_url":"https://api.github.com/repos/dseefeld/source-build/languages","stargazers_url":"https://api.github.com/repos/dseefeld/source-build/stargazers","contributors_url":"https://api.github.com/repos/dseefeld/source-build/contributors","subscribers_url":"https://api.github.com/repos/dseefeld/source-build/subscribers","subscription_url":"https://api.github.com/repos/dseefeld/source-build/subscription","commits_url":"https://api.github.com/repos/dseefeld/source-build/commits{/sha}","git_commits_url":"https://api.github.com/repos/dseefeld/source-build/git/commits{/sha}","comments_url":"https://api.github.com/repos/dseefeld/source-build/comments{/number}","issue_comment_url":"https://api.github.com/repos/dseefeld/source-build/issues/comments{/number}","contents_url":"https://api.github.com/repos/dseefeld/source-build/contents/{+path}","compare_url":"https://api.github.com/repos/dseefeld/source-build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dseefeld/source-build/merges","archive_url":"https://api.github.com/repos/dseefeld/source-build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dseefeld/source-build/downloads","issues_url":"https://api.github.com/repos/dseefeld/source-build/issues{/number}","pulls_url":"https://api.github.com/repos/dseefeld/source-build/pulls{/number}","milestones_url":"https://api.github.com/repos/dseefeld/source-build/milestones{/number}","notifications_url":"https://api.github.com/repos/dseefeld/source-build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dseefeld/source-build/labels{/name}","releases_url":"https://api.github.com/repos/dseefeld/source-build/releases{/id}","deployments_url":"https://api.github.com/repos/dseefeld/source-build/deployments","created_at":"2017-09-28T15:28:35Z","updated_at":"2017-09-28T15:28:39Z","pushed_at":"2018-03-12T19:08:50Z","git_url":"git://github.com/dseefeld/source-build.git","ssh_url":"git@github.com:dseefeld/source-build.git","clone_url":"https://github.com/dseefeld/source-build.git","svn_url":"https://github.com/dseefeld/source-build","homepage":"","size":1755,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev/release/2.0"}},"base":{"label":"dotnet:dev/release/2.1","ref":"dev/release/2.1","sha":"a1e063e4ccde88ed1574aff086cbc7acb9567768","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":65490742,"name":"source-build","full_name":"dotnet/source-build","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/source-build","description":"A repository to track efforts to produce a source tarball of the .NET Core SDK and all its components","fork":false,"url":"https://api.github.com/repos/dotnet/source-build","forks_url":"https://api.github.com/repos/dotnet/source-build/forks","keys_url":"https://api.github.com/repos/dotnet/source-build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/source-build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/source-build/teams","hooks_url":"https://api.github.com/repos/dotnet/source-build/hooks","issue_events_url":"https://api.github.com/repos/dotnet/source-build/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/source-build/events","assignees_url":"https://api.github.com/repos/dotnet/source-build/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/source-build/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/source-build/tags","blobs_url":"https://api.github.com/repos/dotnet/source-build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/source-build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/source-build/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/source-build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/source-build/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/source-build/languages","stargazers_url":"https://api.github.com/repos/dotnet/source-build/stargazers","contributors_url":"https://api.github.com/repos/dotnet/source-build/contributors","subscribers_url":"https://api.github.com/repos/dotnet/source-build/subscribers","subscription_url":"https://api.github.com/repos/dotnet/source-build/subscription","commits_url":"https://api.github.com/repos/dotnet/source-build/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/source-build/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/source-build/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/source-build/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/source-build/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/source-build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/source-build/merges","archive_url":"https://api.github.com/repos/dotnet/source-build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/source-build/downloads","issues_url":"https://api.github.com/repos/dotnet/source-build/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/source-build/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/source-build/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/source-build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/source-build/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/source-build/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/source-build/deployments","created_at":"2016-08-11T18:03:56Z","updated_at":"2018-03-12T21:41:40Z","pushed_at":"2018-03-12T19:10:33Z","git_url":"git://github.com/dotnet/source-build.git","ssh_url":"git@github.com:dotnet/source-build.git","clone_url":"https://github.com/dotnet/source-build.git","svn_url":"https://github.com/dotnet/source-build","homepage":"","size":1777,"stargazers_count":20,"watchers_count":20,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"archived":false,"open_issues_count":71,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":35,"open_issues":71,"watchers":20,"default_branch":"dev/release/2.1"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/source-build/pulls/350"},"html":{"href":"https://github.com/dotnet/source-build/pull/350"},"issue":{"href":"https://api.github.com/repos/dotnet/source-build/issues/350"},"comments":{"href":"https://api.github.com/repos/dotnet/source-build/issues/350/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/source-build/pulls/350/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/source-build/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/source-build/pulls/350/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/source-build/statuses/137ef6daed5d7c4e31f44298468abe0d43de23ce"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"crummel"}}