{"action":"created","comment":{"url":"https://api.github.com/repos/allenai/pipeline/pulls/comments/27419267","id":27419267,"diff_hunk":"@@ -155,6 +158,30 @@ trait Pipeline extends Logging {\n trait ConfiguredPipeline extends Pipeline {\n   def config: Config\n \n+  override def run(rawTitle: String, outputs: Producer[_]*): Unit = {\n+    config.get[Boolean](\"dry-run\") match {\n+      case Some(true) => dryRun(new File(System.getProperty(\"user.dir\")), rawTitle, outputs: _*)\n+      case _ => super.run(rawTitle: String, outputs: _*)\n+    }\n+  }\n+\n+  def dryRun(outputDir: File, rawTitle: String, outputs: Producer[_]*): Unit = {","path":"src/main/scala/org/allenai/pipeline/Pipeline.scala","position":46,"original_position":46,"commit_id":"8123c583f7413bc25c5bff1eb5e9204b07141f63","original_commit_id":"8123c583f7413bc25c5bff1eb5e9204b07141f63","user":{"login":"rodneykinney","id":3767011,"avatar_url":"https://avatars.githubusercontent.com/u/3767011?v=3","gravatar_id":"","url":"https://api.github.com/users/rodneykinney","html_url":"https://github.com/rodneykinney","followers_url":"https://api.github.com/users/rodneykinney/followers","following_url":"https://api.github.com/users/rodneykinney/following{/other_user}","gists_url":"https://api.github.com/users/rodneykinney/gists{/gist_id}","starred_url":"https://api.github.com/users/rodneykinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodneykinney/subscriptions","organizations_url":"https://api.github.com/users/rodneykinney/orgs","repos_url":"https://api.github.com/users/rodneykinney/repos","events_url":"https://api.github.com/users/rodneykinney/events{/privacy}","received_events_url":"https://api.github.com/users/rodneykinney/received_events","type":"User","site_admin":false},"body":"Add dryRun method that only prints pipeline summary.","created_at":"2015-03-30T18:41:33Z","updated_at":"2015-03-30T18:41:33Z","html_url":"https://github.com/allenai/pipeline/pull/21#discussion_r27419267","pull_request_url":"https://api.github.com/repos/allenai/pipeline/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/allenai/pipeline/pulls/comments/27419267"},"html":{"href":"https://github.com/allenai/pipeline/pull/21#discussion_r27419267"},"pull_request":{"href":"https://api.github.com/repos/allenai/pipeline/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/allenai/pipeline/pulls/21","id":32254099,"html_url":"https://github.com/allenai/pipeline/pull/21","diff_url":"https://github.com/allenai/pipeline/pull/21.diff","patch_url":"https://github.com/allenai/pipeline/pull/21.patch","issue_url":"https://api.github.com/repos/allenai/pipeline/issues/21","number":21,"state":"open","locked":false,"title":"Pipeline improvements","user":{"login":"rodneykinney","id":3767011,"avatar_url":"https://avatars.githubusercontent.com/u/3767011?v=3","gravatar_id":"","url":"https://api.github.com/users/rodneykinney","html_url":"https://github.com/rodneykinney","followers_url":"https://api.github.com/users/rodneykinney/followers","following_url":"https://api.github.com/users/rodneykinney/following{/other_user}","gists_url":"https://api.github.com/users/rodneykinney/gists{/gist_id}","starred_url":"https://api.github.com/users/rodneykinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodneykinney/subscriptions","organizations_url":"https://api.github.com/users/rodneykinney/orgs","repos_url":"https://api.github.com/users/rodneykinney/repos","events_url":"https://api.github.com/users/rodneykinney/events{/privacy}","received_events_url":"https://api.github.com/users/rodneykinney/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-30T18:35:42Z","updated_at":"2015-03-30T18:41:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"065b140ad0d9be91ee378bb0e7338524daaf94db","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/allenai/pipeline/pulls/21/commits","review_comments_url":"https://api.github.com/repos/allenai/pipeline/pulls/21/comments","review_comment_url":"https://api.github.com/repos/allenai/pipeline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/allenai/pipeline/issues/21/comments","statuses_url":"https://api.github.com/repos/allenai/pipeline/statuses/8123c583f7413bc25c5bff1eb5e9204b07141f63","head":{"label":"rodneykinney:master","ref":"master","sha":"8123c583f7413bc25c5bff1eb5e9204b07141f63","user":{"login":"rodneykinney","id":3767011,"avatar_url":"https://avatars.githubusercontent.com/u/3767011?v=3","gravatar_id":"","url":"https://api.github.com/users/rodneykinney","html_url":"https://github.com/rodneykinney","followers_url":"https://api.github.com/users/rodneykinney/followers","following_url":"https://api.github.com/users/rodneykinney/following{/other_user}","gists_url":"https://api.github.com/users/rodneykinney/gists{/gist_id}","starred_url":"https://api.github.com/users/rodneykinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodneykinney/subscriptions","organizations_url":"https://api.github.com/users/rodneykinney/orgs","repos_url":"https://api.github.com/users/rodneykinney/repos","events_url":"https://api.github.com/users/rodneykinney/events{/privacy}","received_events_url":"https://api.github.com/users/rodneykinney/received_events","type":"User","site_admin":false},"repo":{"id":32085607,"name":"pipeline","full_name":"rodneykinney/pipeline","owner":{"login":"rodneykinney","id":3767011,"avatar_url":"https://avatars.githubusercontent.com/u/3767011?v=3","gravatar_id":"","url":"https://api.github.com/users/rodneykinney","html_url":"https://github.com/rodneykinney","followers_url":"https://api.github.com/users/rodneykinney/followers","following_url":"https://api.github.com/users/rodneykinney/following{/other_user}","gists_url":"https://api.github.com/users/rodneykinney/gists{/gist_id}","starred_url":"https://api.github.com/users/rodneykinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodneykinney/subscriptions","organizations_url":"https://api.github.com/users/rodneykinney/orgs","repos_url":"https://api.github.com/users/rodneykinney/repos","events_url":"https://api.github.com/users/rodneykinney/events{/privacy}","received_events_url":"https://api.github.com/users/rodneykinney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rodneykinney/pipeline","description":"Library for building reproducible data pipelines to support experimentation","fork":true,"url":"https://api.github.com/repos/rodneykinney/pipeline","forks_url":"https://api.github.com/repos/rodneykinney/pipeline/forks","keys_url":"https://api.github.com/repos/rodneykinney/pipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rodneykinney/pipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rodneykinney/pipeline/teams","hooks_url":"https://api.github.com/repos/rodneykinney/pipeline/hooks","issue_events_url":"https://api.github.com/repos/rodneykinney/pipeline/issues/events{/number}","events_url":"https://api.github.com/repos/rodneykinney/pipeline/events","assignees_url":"https://api.github.com/repos/rodneykinney/pipeline/assignees{/user}","branches_url":"https://api.github.com/repos/rodneykinney/pipeline/branches{/branch}","tags_url":"https://api.github.com/repos/rodneykinney/pipeline/tags","blobs_url":"https://api.github.com/repos/rodneykinney/pipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rodneykinney/pipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rodneykinney/pipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/rodneykinney/pipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rodneykinney/pipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/rodneykinney/pipeline/languages","stargazers_url":"https://api.github.com/repos/rodneykinney/pipeline/stargazers","contributors_url":"https://api.github.com/repos/rodneykinney/pipeline/contributors","subscribers_url":"https://api.github.com/repos/rodneykinney/pipeline/subscribers","subscription_url":"https://api.github.com/repos/rodneykinney/pipeline/subscription","commits_url":"https://api.github.com/repos/rodneykinney/pipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/rodneykinney/pipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/rodneykinney/pipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/rodneykinney/pipeline/issues/comments{/number}","contents_url":"https://api.github.com/repos/rodneykinney/pipeline/contents/{+path}","compare_url":"https://api.github.com/repos/rodneykinney/pipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rodneykinney/pipeline/merges","archive_url":"https://api.github.com/repos/rodneykinney/pipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rodneykinney/pipeline/downloads","issues_url":"https://api.github.com/repos/rodneykinney/pipeline/issues{/number}","pulls_url":"https://api.github.com/repos/rodneykinney/pipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/rodneykinney/pipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/rodneykinney/pipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rodneykinney/pipeline/labels{/name}","releases_url":"https://api.github.com/repos/rodneykinney/pipeline/releases{/id}","created_at":"2015-03-12T15:46:16Z","updated_at":"2015-03-30T18:16:11Z","pushed_at":"2015-03-30T18:16:11Z","git_url":"git://github.com/rodneykinney/pipeline.git","ssh_url":"git@github.com:rodneykinney/pipeline.git","clone_url":"https://github.com/rodneykinney/pipeline.git","svn_url":"https://github.com/rodneykinney/pipeline","homepage":"","size":340,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"allenai:master","ref":"master","sha":"3267bb1f1899b888b0057af54c8f2a0749fd1fd0","user":{"login":"allenai","id":5667695,"avatar_url":"https://avatars.githubusercontent.com/u/5667695?v=3","gravatar_id":"","url":"https://api.github.com/users/allenai","html_url":"https://github.com/allenai","followers_url":"https://api.github.com/users/allenai/followers","following_url":"https://api.github.com/users/allenai/following{/other_user}","gists_url":"https://api.github.com/users/allenai/gists{/gist_id}","starred_url":"https://api.github.com/users/allenai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenai/subscriptions","organizations_url":"https://api.github.com/users/allenai/orgs","repos_url":"https://api.github.com/users/allenai/repos","events_url":"https://api.github.com/users/allenai/events{/privacy}","received_events_url":"https://api.github.com/users/allenai/received_events","type":"Organization","site_admin":false},"repo":{"id":31559978,"name":"pipeline","full_name":"allenai/pipeline","owner":{"login":"allenai","id":5667695,"avatar_url":"https://avatars.githubusercontent.com/u/5667695?v=3","gravatar_id":"","url":"https://api.github.com/users/allenai","html_url":"https://github.com/allenai","followers_url":"https://api.github.com/users/allenai/followers","following_url":"https://api.github.com/users/allenai/following{/other_user}","gists_url":"https://api.github.com/users/allenai/gists{/gist_id}","starred_url":"https://api.github.com/users/allenai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenai/subscriptions","organizations_url":"https://api.github.com/users/allenai/orgs","repos_url":"https://api.github.com/users/allenai/repos","events_url":"https://api.github.com/users/allenai/events{/privacy}","received_events_url":"https://api.github.com/users/allenai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/allenai/pipeline","description":"Library for building reproducible data pipelines to support experimentation","fork":false,"url":"https://api.github.com/repos/allenai/pipeline","forks_url":"https://api.github.com/repos/allenai/pipeline/forks","keys_url":"https://api.github.com/repos/allenai/pipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allenai/pipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allenai/pipeline/teams","hooks_url":"https://api.github.com/repos/allenai/pipeline/hooks","issue_events_url":"https://api.github.com/repos/allenai/pipeline/issues/events{/number}","events_url":"https://api.github.com/repos/allenai/pipeline/events","assignees_url":"https://api.github.com/repos/allenai/pipeline/assignees{/user}","branches_url":"https://api.github.com/repos/allenai/pipeline/branches{/branch}","tags_url":"https://api.github.com/repos/allenai/pipeline/tags","blobs_url":"https://api.github.com/repos/allenai/pipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allenai/pipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allenai/pipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/allenai/pipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allenai/pipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/allenai/pipeline/languages","stargazers_url":"https://api.github.com/repos/allenai/pipeline/stargazers","contributors_url":"https://api.github.com/repos/allenai/pipeline/contributors","subscribers_url":"https://api.github.com/repos/allenai/pipeline/subscribers","subscription_url":"https://api.github.com/repos/allenai/pipeline/subscription","commits_url":"https://api.github.com/repos/allenai/pipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/allenai/pipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/allenai/pipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/allenai/pipeline/issues/comments{/number}","contents_url":"https://api.github.com/repos/allenai/pipeline/contents/{+path}","compare_url":"https://api.github.com/repos/allenai/pipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allenai/pipeline/merges","archive_url":"https://api.github.com/repos/allenai/pipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allenai/pipeline/downloads","issues_url":"https://api.github.com/repos/allenai/pipeline/issues{/number}","pulls_url":"https://api.github.com/repos/allenai/pipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/allenai/pipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/allenai/pipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allenai/pipeline/labels{/name}","releases_url":"https://api.github.com/repos/allenai/pipeline/releases{/id}","created_at":"2015-03-02T19:57:02Z","updated_at":"2015-03-23T23:37:01Z","pushed_at":"2015-03-30T18:35:42Z","git_url":"git://github.com/allenai/pipeline.git","ssh_url":"git@github.com:allenai/pipeline.git","clone_url":"https://github.com/allenai/pipeline.git","svn_url":"https://github.com/allenai/pipeline","homepage":"","size":783,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/allenai/pipeline/pulls/21"},"html":{"href":"https://github.com/allenai/pipeline/pull/21"},"issue":{"href":"https://api.github.com/repos/allenai/pipeline/issues/21"},"comments":{"href":"https://api.github.com/repos/allenai/pipeline/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/allenai/pipeline/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/allenai/pipeline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/allenai/pipeline/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/allenai/pipeline/statuses/8123c583f7413bc25c5bff1eb5e9204b07141f63"}}}}