{"action":"created","comment":{"url":"https://api.github.com/repos/fsharp/FAKE/pulls/comments/26007085","id":26007085,"diff_hunk":"@@ -322,36 +324,114 @@ let listTargets() =\n // Instead of the target can be used the list dependencies graph parameter.\n let doesTargetMeansListTargets target = target = \"--listTargets\"  || target = \"-lt\"\n \n+/// Determines a parallel build order for the given set of targets\n+let determineBuildOrder (d : TargetTemplate<unit>) =","path":"src/app/FakeLib/TargetHelper.fs","position":26,"original_position":18,"commit_id":"a2c3cd11fa2f1713db2e9c79fd5f76817e7fe8ab","original_commit_id":"4359436b924d78185ff44405f0d97db941fe8f34","user":{"login":"vasily-kirichenko","id":873919,"avatar_url":"https://avatars.githubusercontent.com/u/873919?v=3","gravatar_id":"","url":"https://api.github.com/users/vasily-kirichenko","html_url":"https://github.com/vasily-kirichenko","followers_url":"https://api.github.com/users/vasily-kirichenko/followers","following_url":"https://api.github.com/users/vasily-kirichenko/following{/other_user}","gists_url":"https://api.github.com/users/vasily-kirichenko/gists{/gist_id}","starred_url":"https://api.github.com/users/vasily-kirichenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasily-kirichenko/subscriptions","organizations_url":"https://api.github.com/users/vasily-kirichenko/orgs","repos_url":"https://api.github.com/users/vasily-kirichenko/repos","events_url":"https://api.github.com/users/vasily-kirichenko/events{/privacy}","received_events_url":"https://api.github.com/users/vasily-kirichenko/received_events","type":"User","site_admin":false},"body":"This function is quite complex. I think it's a good idea to write some unit tests for it.","created_at":"2015-03-08T17:26:09Z","updated_at":"2015-03-08T17:26:09Z","html_url":"https://github.com/fsharp/FAKE/pull/676#discussion_r26007085","pull_request_url":"https://api.github.com/repos/fsharp/FAKE/pulls/676","_links":{"self":{"href":"https://api.github.com/repos/fsharp/FAKE/pulls/comments/26007085"},"html":{"href":"https://github.com/fsharp/FAKE/pull/676#discussion_r26007085"},"pull_request":{"href":"https://api.github.com/repos/fsharp/FAKE/pulls/676"}}},"pull_request":{"url":"https://api.github.com/repos/fsharp/FAKE/pulls/676","id":30672061,"html_url":"https://github.com/fsharp/FAKE/pull/676","diff_url":"https://github.com/fsharp/FAKE/pull/676.diff","patch_url":"https://github.com/fsharp/FAKE/pull/676.patch","issue_url":"https://api.github.com/repos/fsharp/FAKE/issues/676","number":676,"state":"open","locked":false,"title":"Parallel Builds","user":{"login":"krauthaufen","id":6370801,"avatar_url":"https://avatars.githubusercontent.com/u/6370801?v=3","gravatar_id":"","url":"https://api.github.com/users/krauthaufen","html_url":"https://github.com/krauthaufen","followers_url":"https://api.github.com/users/krauthaufen/followers","following_url":"https://api.github.com/users/krauthaufen/following{/other_user}","gists_url":"https://api.github.com/users/krauthaufen/gists{/gist_id}","starred_url":"https://api.github.com/users/krauthaufen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krauthaufen/subscriptions","organizations_url":"https://api.github.com/users/krauthaufen/orgs","repos_url":"https://api.github.com/users/krauthaufen/repos","events_url":"https://api.github.com/users/krauthaufen/events{/privacy}","received_events_url":"https://api.github.com/users/krauthaufen/received_events","type":"User","site_admin":false},"body":"Added support for parallel builds by using an environment-variable %fake-parallel-jobs%\r\n\r\nNote that this of course only works when target-functions can be executed concurrently.\r\nThe feature can be enabled by passing for example \"fake-parallel-jobs=4\" to FAKE.exe\r\n\r\nSince parallel build cause problems in TraceHelpers the current \"stack\" of opened tags is now thread-local.\r\n","created_at":"2015-03-06T19:26:36Z","updated_at":"2015-03-08T17:26:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d9073acf0476d3b6148ed98410129e27b6bfcbe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fsharp/FAKE/pulls/676/commits","review_comments_url":"https://api.github.com/repos/fsharp/FAKE/pulls/676/comments","review_comment_url":"https://api.github.com/repos/fsharp/FAKE/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fsharp/FAKE/issues/676/comments","statuses_url":"https://api.github.com/repos/fsharp/FAKE/statuses/a2c3cd11fa2f1713db2e9c79fd5f76817e7fe8ab","head":{"label":"krauthaufen:master","ref":"master","sha":"a2c3cd11fa2f1713db2e9c79fd5f76817e7fe8ab","user":{"login":"krauthaufen","id":6370801,"avatar_url":"https://avatars.githubusercontent.com/u/6370801?v=3","gravatar_id":"","url":"https://api.github.com/users/krauthaufen","html_url":"https://github.com/krauthaufen","followers_url":"https://api.github.com/users/krauthaufen/followers","following_url":"https://api.github.com/users/krauthaufen/following{/other_user}","gists_url":"https://api.github.com/users/krauthaufen/gists{/gist_id}","starred_url":"https://api.github.com/users/krauthaufen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krauthaufen/subscriptions","organizations_url":"https://api.github.com/users/krauthaufen/orgs","repos_url":"https://api.github.com/users/krauthaufen/repos","events_url":"https://api.github.com/users/krauthaufen/events{/privacy}","received_events_url":"https://api.github.com/users/krauthaufen/received_events","type":"User","site_admin":false},"repo":{"id":31772875,"name":"FAKE","full_name":"krauthaufen/FAKE","owner":{"login":"krauthaufen","id":6370801,"avatar_url":"https://avatars.githubusercontent.com/u/6370801?v=3","gravatar_id":"","url":"https://api.github.com/users/krauthaufen","html_url":"https://github.com/krauthaufen","followers_url":"https://api.github.com/users/krauthaufen/followers","following_url":"https://api.github.com/users/krauthaufen/following{/other_user}","gists_url":"https://api.github.com/users/krauthaufen/gists{/gist_id}","starred_url":"https://api.github.com/users/krauthaufen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krauthaufen/subscriptions","organizations_url":"https://api.github.com/users/krauthaufen/orgs","repos_url":"https://api.github.com/users/krauthaufen/repos","events_url":"https://api.github.com/users/krauthaufen/events{/privacy}","received_events_url":"https://api.github.com/users/krauthaufen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/krauthaufen/FAKE","description":"FAKE - F# Make","fork":true,"url":"https://api.github.com/repos/krauthaufen/FAKE","forks_url":"https://api.github.com/repos/krauthaufen/FAKE/forks","keys_url":"https://api.github.com/repos/krauthaufen/FAKE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/krauthaufen/FAKE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/krauthaufen/FAKE/teams","hooks_url":"https://api.github.com/repos/krauthaufen/FAKE/hooks","issue_events_url":"https://api.github.com/repos/krauthaufen/FAKE/issues/events{/number}","events_url":"https://api.github.com/repos/krauthaufen/FAKE/events","assignees_url":"https://api.github.com/repos/krauthaufen/FAKE/assignees{/user}","branches_url":"https://api.github.com/repos/krauthaufen/FAKE/branches{/branch}","tags_url":"https://api.github.com/repos/krauthaufen/FAKE/tags","blobs_url":"https://api.github.com/repos/krauthaufen/FAKE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/krauthaufen/FAKE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/krauthaufen/FAKE/git/refs{/sha}","trees_url":"https://api.github.com/repos/krauthaufen/FAKE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/krauthaufen/FAKE/statuses/{sha}","languages_url":"https://api.github.com/repos/krauthaufen/FAKE/languages","stargazers_url":"https://api.github.com/repos/krauthaufen/FAKE/stargazers","contributors_url":"https://api.github.com/repos/krauthaufen/FAKE/contributors","subscribers_url":"https://api.github.com/repos/krauthaufen/FAKE/subscribers","subscription_url":"https://api.github.com/repos/krauthaufen/FAKE/subscription","commits_url":"https://api.github.com/repos/krauthaufen/FAKE/commits{/sha}","git_commits_url":"https://api.github.com/repos/krauthaufen/FAKE/git/commits{/sha}","comments_url":"https://api.github.com/repos/krauthaufen/FAKE/comments{/number}","issue_comment_url":"https://api.github.com/repos/krauthaufen/FAKE/issues/comments{/number}","contents_url":"https://api.github.com/repos/krauthaufen/FAKE/contents/{+path}","compare_url":"https://api.github.com/repos/krauthaufen/FAKE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/krauthaufen/FAKE/merges","archive_url":"https://api.github.com/repos/krauthaufen/FAKE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/krauthaufen/FAKE/downloads","issues_url":"https://api.github.com/repos/krauthaufen/FAKE/issues{/number}","pulls_url":"https://api.github.com/repos/krauthaufen/FAKE/pulls{/number}","milestones_url":"https://api.github.com/repos/krauthaufen/FAKE/milestones{/number}","notifications_url":"https://api.github.com/repos/krauthaufen/FAKE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/krauthaufen/FAKE/labels{/name}","releases_url":"https://api.github.com/repos/krauthaufen/FAKE/releases{/id}","created_at":"2015-03-06T14:28:47Z","updated_at":"2015-03-08T16:33:42Z","pushed_at":"2015-03-08T16:33:41Z","git_url":"git://github.com/krauthaufen/FAKE.git","ssh_url":"git@github.com:krauthaufen/FAKE.git","clone_url":"https://github.com/krauthaufen/FAKE.git","svn_url":"https://github.com/krauthaufen/FAKE","homepage":"http://fsharp.github.com/FAKE","size":177917,"stargazers_count":0,"watchers_count":0,"language":"F#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fsharp:master","ref":"master","sha":"9c61ff79fce68a16fc4b027c8a931d89d7fb7c6d","user":{"login":"fsharp","id":485415,"avatar_url":"https://avatars.githubusercontent.com/u/485415?v=3","gravatar_id":"","url":"https://api.github.com/users/fsharp","html_url":"https://github.com/fsharp","followers_url":"https://api.github.com/users/fsharp/followers","following_url":"https://api.github.com/users/fsharp/following{/other_user}","gists_url":"https://api.github.com/users/fsharp/gists{/gist_id}","starred_url":"https://api.github.com/users/fsharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsharp/subscriptions","organizations_url":"https://api.github.com/users/fsharp/orgs","repos_url":"https://api.github.com/users/fsharp/repos","events_url":"https://api.github.com/users/fsharp/events{/privacy}","received_events_url":"https://api.github.com/users/fsharp/received_events","type":"Organization","site_admin":false},"repo":{"id":507569,"name":"FAKE","full_name":"fsharp/FAKE","owner":{"login":"fsharp","id":485415,"avatar_url":"https://avatars.githubusercontent.com/u/485415?v=3","gravatar_id":"","url":"https://api.github.com/users/fsharp","html_url":"https://github.com/fsharp","followers_url":"https://api.github.com/users/fsharp/followers","following_url":"https://api.github.com/users/fsharp/following{/other_user}","gists_url":"https://api.github.com/users/fsharp/gists{/gist_id}","starred_url":"https://api.github.com/users/fsharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsharp/subscriptions","organizations_url":"https://api.github.com/users/fsharp/orgs","repos_url":"https://api.github.com/users/fsharp/repos","events_url":"https://api.github.com/users/fsharp/events{/privacy}","received_events_url":"https://api.github.com/users/fsharp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fsharp/FAKE","description":"FAKE - F# Make","fork":false,"url":"https://api.github.com/repos/fsharp/FAKE","forks_url":"https://api.github.com/repos/fsharp/FAKE/forks","keys_url":"https://api.github.com/repos/fsharp/FAKE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fsharp/FAKE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fsharp/FAKE/teams","hooks_url":"https://api.github.com/repos/fsharp/FAKE/hooks","issue_events_url":"https://api.github.com/repos/fsharp/FAKE/issues/events{/number}","events_url":"https://api.github.com/repos/fsharp/FAKE/events","assignees_url":"https://api.github.com/repos/fsharp/FAKE/assignees{/user}","branches_url":"https://api.github.com/repos/fsharp/FAKE/branches{/branch}","tags_url":"https://api.github.com/repos/fsharp/FAKE/tags","blobs_url":"https://api.github.com/repos/fsharp/FAKE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fsharp/FAKE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fsharp/FAKE/git/refs{/sha}","trees_url":"https://api.github.com/repos/fsharp/FAKE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fsharp/FAKE/statuses/{sha}","languages_url":"https://api.github.com/repos/fsharp/FAKE/languages","stargazers_url":"https://api.github.com/repos/fsharp/FAKE/stargazers","contributors_url":"https://api.github.com/repos/fsharp/FAKE/contributors","subscribers_url":"https://api.github.com/repos/fsharp/FAKE/subscribers","subscription_url":"https://api.github.com/repos/fsharp/FAKE/subscription","commits_url":"https://api.github.com/repos/fsharp/FAKE/commits{/sha}","git_commits_url":"https://api.github.com/repos/fsharp/FAKE/git/commits{/sha}","comments_url":"https://api.github.com/repos/fsharp/FAKE/comments{/number}","issue_comment_url":"https://api.github.com/repos/fsharp/FAKE/issues/comments{/number}","contents_url":"https://api.github.com/repos/fsharp/FAKE/contents/{+path}","compare_url":"https://api.github.com/repos/fsharp/FAKE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fsharp/FAKE/merges","archive_url":"https://api.github.com/repos/fsharp/FAKE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fsharp/FAKE/downloads","issues_url":"https://api.github.com/repos/fsharp/FAKE/issues{/number}","pulls_url":"https://api.github.com/repos/fsharp/FAKE/pulls{/number}","milestones_url":"https://api.github.com/repos/fsharp/FAKE/milestones{/number}","notifications_url":"https://api.github.com/repos/fsharp/FAKE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fsharp/FAKE/labels{/name}","releases_url":"https://api.github.com/repos/fsharp/FAKE/releases{/id}","created_at":"2010-02-08T10:02:28Z","updated_at":"2015-03-08T05:07:22Z","pushed_at":"2015-03-04T12:56:24Z","git_url":"git://github.com/fsharp/FAKE.git","ssh_url":"git@github.com:fsharp/FAKE.git","clone_url":"https://github.com/fsharp/FAKE.git","svn_url":"https://github.com/fsharp/FAKE","homepage":"http://fsharp.github.com/FAKE","size":177917,"stargazers_count":366,"watchers_count":366,"language":"F#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":197,"mirror_url":null,"open_issues_count":80,"forks":197,"open_issues":80,"watchers":366,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fsharp/FAKE/pulls/676"},"html":{"href":"https://github.com/fsharp/FAKE/pull/676"},"issue":{"href":"https://api.github.com/repos/fsharp/FAKE/issues/676"},"comments":{"href":"https://api.github.com/repos/fsharp/FAKE/issues/676/comments"},"review_comments":{"href":"https://api.github.com/repos/fsharp/FAKE/pulls/676/comments"},"review_comment":{"href":"https://api.github.com/repos/fsharp/FAKE/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fsharp/FAKE/pulls/676/commits"},"statuses":{"href":"https://api.github.com/repos/fsharp/FAKE/statuses/a2c3cd11fa2f1713db2e9c79fd5f76817e7fe8ab"}}}}