{"action":"created","comment":{"url":"https://api.github.com/repos/mateodelnorte/meta/pulls/comments/175022794","pull_request_review_id":104484245,"id":175022794,"diff_hunk":"@@ -1,7 +1,7 @@\n #!/usr/bin/env node\n \n const chalk = require('chalk');\n-const debug = require('debug')('meta');","path":"bin/meta","position":4,"original_position":4,"commit_id":"180049a8b71c54d53267395deb181e4863532573","original_commit_id":"5fa4d80e623a75440eca380c729f2b3539dbd1bd","user":{"login":"5ebastianMeier","id":16539774,"avatar_url":"https://avatars0.githubusercontent.com/u/16539774?v=4","gravatar_id":"","url":"https://api.github.com/users/5ebastianMeier","html_url":"https://github.com/5ebastianMeier","followers_url":"https://api.github.com/users/5ebastianMeier/followers","following_url":"https://api.github.com/users/5ebastianMeier/following{/other_user}","gists_url":"https://api.github.com/users/5ebastianMeier/gists{/gist_id}","starred_url":"https://api.github.com/users/5ebastianMeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5ebastianMeier/subscriptions","organizations_url":"https://api.github.com/users/5ebastianMeier/orgs","repos_url":"https://api.github.com/users/5ebastianMeier/repos","events_url":"https://api.github.com/users/5ebastianMeier/events{/privacy}","received_events_url":"https://api.github.com/users/5ebastianMeier/received_events","type":"User","site_admin":false},"body":"Sorry totally missed this","created_at":"2018-03-16T08:28:48Z","updated_at":"2018-03-16T08:28:48Z","html_url":"https://github.com/mateodelnorte/meta/pull/29#discussion_r175022794","pull_request_url":"https://api.github.com/repos/mateodelnorte/meta/pulls/29","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/mateodelnorte/meta/pulls/comments/175022794"},"html":{"href":"https://github.com/mateodelnorte/meta/pull/29#discussion_r175022794"},"pull_request":{"href":"https://api.github.com/repos/mateodelnorte/meta/pulls/29"}},"in_reply_to_id":170090232},"pull_request":{"url":"https://api.github.com/repos/mateodelnorte/meta/pulls/29","id":170278246,"html_url":"https://github.com/mateodelnorte/meta/pull/29","diff_url":"https://github.com/mateodelnorte/meta/pull/29.diff","patch_url":"https://github.com/mateodelnorte/meta/pull/29.patch","issue_url":"https://api.github.com/repos/mateodelnorte/meta/issues/29","number":29,"state":"open","locked":false,"title":"Feature/exit codes","user":{"login":"5ebastianMeier","id":16539774,"avatar_url":"https://avatars0.githubusercontent.com/u/16539774?v=4","gravatar_id":"","url":"https://api.github.com/users/5ebastianMeier","html_url":"https://github.com/5ebastianMeier","followers_url":"https://api.github.com/users/5ebastianMeier/followers","following_url":"https://api.github.com/users/5ebastianMeier/following{/other_user}","gists_url":"https://api.github.com/users/5ebastianMeier/gists{/gist_id}","starred_url":"https://api.github.com/users/5ebastianMeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5ebastianMeier/subscriptions","organizations_url":"https://api.github.com/users/5ebastianMeier/orgs","repos_url":"https://api.github.com/users/5ebastianMeier/repos","events_url":"https://api.github.com/users/5ebastianMeier/events{/privacy}","received_events_url":"https://api.github.com/users/5ebastianMeier/received_events","type":"User","site_admin":false},"body":"This adds two options `exit-on-error` and `exit-on-aggregated-error`.\r\n\r\n`exit-on-error` directly cancels everything with `process.exit(1)` as soon as an error occurs on a sub command.\r\n\r\n`exit-on-aggregated-error` waits until all sub commands have run and then exits with `process.exit(1)`.\r\n\r\nI added the options, because without them I didn't find any way to have the exit code on the original `meta` call reflect that errors occured on one of the commands.\r\n\r\nThis PR also involves PRs for `meta-exec`, `meta-loop` and `loop` itself.\r\n\r\nI didn't clean up the commit history and I had to do some version changes during the process to test the changes on my local setup.\r\n\r\nI'll gladly clean up everything as soon as you reviewed it, but would like to keep it until then for testing purposes. If you want I can also provide you with a test setup if that might be an issue (wasn't easy for me ;).","created_at":"2018-02-20T18:53:58Z","updated_at":"2018-03-16T08:28:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"531cf3ead8fd4f042d087d4608d78c31b1bc4898","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mateodelnorte/meta/pulls/29/commits","review_comments_url":"https://api.github.com/repos/mateodelnorte/meta/pulls/29/comments","review_comment_url":"https://api.github.com/repos/mateodelnorte/meta/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mateodelnorte/meta/issues/29/comments","statuses_url":"https://api.github.com/repos/mateodelnorte/meta/statuses/180049a8b71c54d53267395deb181e4863532573","head":{"label":"essential-projects:feature/exit_codes","ref":"feature/exit_codes","sha":"180049a8b71c54d53267395deb181e4863532573","user":{"login":"essential-projects","id":31920083,"avatar_url":"https://avatars1.githubusercontent.com/u/31920083?v=4","gravatar_id":"","url":"https://api.github.com/users/essential-projects","html_url":"https://github.com/essential-projects","followers_url":"https://api.github.com/users/essential-projects/followers","following_url":"https://api.github.com/users/essential-projects/following{/other_user}","gists_url":"https://api.github.com/users/essential-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/essential-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/essential-projects/subscriptions","organizations_url":"https://api.github.com/users/essential-projects/orgs","repos_url":"https://api.github.com/users/essential-projects/repos","events_url":"https://api.github.com/users/essential-projects/events{/privacy}","received_events_url":"https://api.github.com/users/essential-projects/received_events","type":"Organization","site_admin":false},"repo":{"id":122068302,"name":"meta-1","full_name":"essential-projects/meta-1","owner":{"login":"essential-projects","id":31920083,"avatar_url":"https://avatars1.githubusercontent.com/u/31920083?v=4","gravatar_id":"","url":"https://api.github.com/users/essential-projects","html_url":"https://github.com/essential-projects","followers_url":"https://api.github.com/users/essential-projects/followers","following_url":"https://api.github.com/users/essential-projects/following{/other_user}","gists_url":"https://api.github.com/users/essential-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/essential-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/essential-projects/subscriptions","organizations_url":"https://api.github.com/users/essential-projects/orgs","repos_url":"https://api.github.com/users/essential-projects/repos","events_url":"https://api.github.com/users/essential-projects/events{/privacy}","received_events_url":"https://api.github.com/users/essential-projects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/essential-projects/meta-1","description":"tool for turning many repos into a meta repo. why choose many repos or a monolithic repo, when you can have both with a meta repo?","fork":true,"url":"https://api.github.com/repos/essential-projects/meta-1","forks_url":"https://api.github.com/repos/essential-projects/meta-1/forks","keys_url":"https://api.github.com/repos/essential-projects/meta-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/essential-projects/meta-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/essential-projects/meta-1/teams","hooks_url":"https://api.github.com/repos/essential-projects/meta-1/hooks","issue_events_url":"https://api.github.com/repos/essential-projects/meta-1/issues/events{/number}","events_url":"https://api.github.com/repos/essential-projects/meta-1/events","assignees_url":"https://api.github.com/repos/essential-projects/meta-1/assignees{/user}","branches_url":"https://api.github.com/repos/essential-projects/meta-1/branches{/branch}","tags_url":"https://api.github.com/repos/essential-projects/meta-1/tags","blobs_url":"https://api.github.com/repos/essential-projects/meta-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/essential-projects/meta-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/essential-projects/meta-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/essential-projects/meta-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/essential-projects/meta-1/statuses/{sha}","languages_url":"https://api.github.com/repos/essential-projects/meta-1/languages","stargazers_url":"https://api.github.com/repos/essential-projects/meta-1/stargazers","contributors_url":"https://api.github.com/repos/essential-projects/meta-1/contributors","subscribers_url":"https://api.github.com/repos/essential-projects/meta-1/subscribers","subscription_url":"https://api.github.com/repos/essential-projects/meta-1/subscription","commits_url":"https://api.github.com/repos/essential-projects/meta-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/essential-projects/meta-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/essential-projects/meta-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/essential-projects/meta-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/essential-projects/meta-1/contents/{+path}","compare_url":"https://api.github.com/repos/essential-projects/meta-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/essential-projects/meta-1/merges","archive_url":"https://api.github.com/repos/essential-projects/meta-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/essential-projects/meta-1/downloads","issues_url":"https://api.github.com/repos/essential-projects/meta-1/issues{/number}","pulls_url":"https://api.github.com/repos/essential-projects/meta-1/pulls{/number}","milestones_url":"https://api.github.com/repos/essential-projects/meta-1/milestones{/number}","notifications_url":"https://api.github.com/repos/essential-projects/meta-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/essential-projects/meta-1/labels{/name}","releases_url":"https://api.github.com/repos/essential-projects/meta-1/releases{/id}","deployments_url":"https://api.github.com/repos/essential-projects/meta-1/deployments","created_at":"2018-02-19T13:44:45Z","updated_at":"2018-02-19T13:44:47Z","pushed_at":"2018-02-23T08:25:54Z","git_url":"git://github.com/essential-projects/meta-1.git","ssh_url":"git@github.com:essential-projects/meta-1.git","clone_url":"https://github.com/essential-projects/meta-1.git","svn_url":"https://github.com/essential-projects/meta-1","homepage":"","size":108,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"master"}},"base":{"label":"mateodelnorte:master","ref":"master","sha":"a6c57a1d37751f58ebed0f2a8891ff5b08adc1d7","user":{"login":"mateodelnorte","id":554847,"avatar_url":"https://avatars3.githubusercontent.com/u/554847?v=4","gravatar_id":"","url":"https://api.github.com/users/mateodelnorte","html_url":"https://github.com/mateodelnorte","followers_url":"https://api.github.com/users/mateodelnorte/followers","following_url":"https://api.github.com/users/mateodelnorte/following{/other_user}","gists_url":"https://api.github.com/users/mateodelnorte/gists{/gist_id}","starred_url":"https://api.github.com/users/mateodelnorte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mateodelnorte/subscriptions","organizations_url":"https://api.github.com/users/mateodelnorte/orgs","repos_url":"https://api.github.com/users/mateodelnorte/repos","events_url":"https://api.github.com/users/mateodelnorte/events{/privacy}","received_events_url":"https://api.github.com/users/mateodelnorte/received_events","type":"User","site_admin":false},"repo":{"id":76408906,"name":"meta","full_name":"mateodelnorte/meta","owner":{"login":"mateodelnorte","id":554847,"avatar_url":"https://avatars3.githubusercontent.com/u/554847?v=4","gravatar_id":"","url":"https://api.github.com/users/mateodelnorte","html_url":"https://github.com/mateodelnorte","followers_url":"https://api.github.com/users/mateodelnorte/followers","following_url":"https://api.github.com/users/mateodelnorte/following{/other_user}","gists_url":"https://api.github.com/users/mateodelnorte/gists{/gist_id}","starred_url":"https://api.github.com/users/mateodelnorte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mateodelnorte/subscriptions","organizations_url":"https://api.github.com/users/mateodelnorte/orgs","repos_url":"https://api.github.com/users/mateodelnorte/repos","events_url":"https://api.github.com/users/mateodelnorte/events{/privacy}","received_events_url":"https://api.github.com/users/mateodelnorte/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mateodelnorte/meta","description":"tool for turning many repos into a meta repo. why choose many repos or a monolithic repo, when you can have both with a meta repo?","fork":false,"url":"https://api.github.com/repos/mateodelnorte/meta","forks_url":"https://api.github.com/repos/mateodelnorte/meta/forks","keys_url":"https://api.github.com/repos/mateodelnorte/meta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mateodelnorte/meta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mateodelnorte/meta/teams","hooks_url":"https://api.github.com/repos/mateodelnorte/meta/hooks","issue_events_url":"https://api.github.com/repos/mateodelnorte/meta/issues/events{/number}","events_url":"https://api.github.com/repos/mateodelnorte/meta/events","assignees_url":"https://api.github.com/repos/mateodelnorte/meta/assignees{/user}","branches_url":"https://api.github.com/repos/mateodelnorte/meta/branches{/branch}","tags_url":"https://api.github.com/repos/mateodelnorte/meta/tags","blobs_url":"https://api.github.com/repos/mateodelnorte/meta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mateodelnorte/meta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mateodelnorte/meta/git/refs{/sha}","trees_url":"https://api.github.com/repos/mateodelnorte/meta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mateodelnorte/meta/statuses/{sha}","languages_url":"https://api.github.com/repos/mateodelnorte/meta/languages","stargazers_url":"https://api.github.com/repos/mateodelnorte/meta/stargazers","contributors_url":"https://api.github.com/repos/mateodelnorte/meta/contributors","subscribers_url":"https://api.github.com/repos/mateodelnorte/meta/subscribers","subscription_url":"https://api.github.com/repos/mateodelnorte/meta/subscription","commits_url":"https://api.github.com/repos/mateodelnorte/meta/commits{/sha}","git_commits_url":"https://api.github.com/repos/mateodelnorte/meta/git/commits{/sha}","comments_url":"https://api.github.com/repos/mateodelnorte/meta/comments{/number}","issue_comment_url":"https://api.github.com/repos/mateodelnorte/meta/issues/comments{/number}","contents_url":"https://api.github.com/repos/mateodelnorte/meta/contents/{+path}","compare_url":"https://api.github.com/repos/mateodelnorte/meta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mateodelnorte/meta/merges","archive_url":"https://api.github.com/repos/mateodelnorte/meta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mateodelnorte/meta/downloads","issues_url":"https://api.github.com/repos/mateodelnorte/meta/issues{/number}","pulls_url":"https://api.github.com/repos/mateodelnorte/meta/pulls{/number}","milestones_url":"https://api.github.com/repos/mateodelnorte/meta/milestones{/number}","notifications_url":"https://api.github.com/repos/mateodelnorte/meta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mateodelnorte/meta/labels{/name}","releases_url":"https://api.github.com/repos/mateodelnorte/meta/releases{/id}","deployments_url":"https://api.github.com/repos/mateodelnorte/meta/deployments","created_at":"2016-12-14T00:06:35Z","updated_at":"2018-03-15T21:19:44Z","pushed_at":"2018-03-01T00:17:57Z","git_url":"git://github.com/mateodelnorte/meta.git","ssh_url":"git@github.com:mateodelnorte/meta.git","clone_url":"https://github.com/mateodelnorte/meta.git","svn_url":"https://github.com/mateodelnorte/meta","homepage":"","size":101,"stargazers_count":125,"watchers_count":125,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":12,"open_issues":7,"watchers":125,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mateodelnorte/meta/pulls/29"},"html":{"href":"https://github.com/mateodelnorte/meta/pull/29"},"issue":{"href":"https://api.github.com/repos/mateodelnorte/meta/issues/29"},"comments":{"href":"https://api.github.com/repos/mateodelnorte/meta/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/mateodelnorte/meta/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/mateodelnorte/meta/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mateodelnorte/meta/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/mateodelnorte/meta/statuses/180049a8b71c54d53267395deb181e4863532573"}},"author_association":"NONE"}}
{"actor":{"display_login":"5ebastianMeier"}}