{"action":"created","comment":{"url":"https://api.github.com/repos/palantir/docker-compose-rule/pulls/comments/65654802","id":65654802,"diff_hunk":"@@ -15,61 +15,13 @@\n  */\n package com.palantir.docker.compose.execution;\n \n-import static com.google.common.base.Throwables.propagate;\n-import static java.nio.charset.StandardCharsets.UTF_8;\n-import static java.util.concurrent.Executors.newSingleThreadExecutor;\n-import static java.util.stream.Collectors.joining;\n-\n-import java.io.BufferedReader;\n-import java.io.IOException;\n-import java.io.InputStream;\n-import java.io.InputStreamReader;\n-import java.util.concurrent.ExecutionException;\n-import java.util.concurrent.Future;\n-import java.util.concurrent.TimeUnit;\n-import java.util.concurrent.TimeoutException;\n import java.util.function.Consumer;\n \n-public class SynchronousDockerComposeExecutable {\n-    public static final int HOURS_TO_WAIT_FOR_STD_OUT_TO_CLOSE = 12;\n-    public static final int MINUTES_TO_WAIT_AFTER_STD_OUT_CLOSES = 1;\n-    private final DockerComposeExecutable dockerComposeExecutable;\n-    private final Consumer<String> logConsumer;\n+public class SynchronousDockerComposeExecutable extends AbstractSynchronousExecutable<DockerComposeExecutable> {","path":"src/main/java/com/palantir/docker/compose/execution/SynchronousDockerComposeExecutable.java","position":null,"original_position":24,"commit_id":"448c605ae7b05addcd4b1dd5490d458e927e4ddb","original_commit_id":"739be6fe06c6f707963cd23307064bd2f65a173b","user":{"login":"nmiyake","id":4267425,"avatar_url":"https://avatars.githubusercontent.com/u/4267425?v=3","gravatar_id":"","url":"https://api.github.com/users/nmiyake","html_url":"https://github.com/nmiyake","followers_url":"https://api.github.com/users/nmiyake/followers","following_url":"https://api.github.com/users/nmiyake/following{/other_user}","gists_url":"https://api.github.com/users/nmiyake/gists{/gist_id}","starred_url":"https://api.github.com/users/nmiyake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmiyake/subscriptions","organizations_url":"https://api.github.com/users/nmiyake/orgs","repos_url":"https://api.github.com/users/nmiyake/repos","events_url":"https://api.github.com/users/nmiyake/events{/privacy}","received_events_url":"https://api.github.com/users/nmiyake/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2016-06-03T04:14:59Z","updated_at":"2016-06-03T04:14:59Z","html_url":"https://github.com/palantir/docker-compose-rule/pull/73#discussion_r65654802","pull_request_url":"https://api.github.com/repos/palantir/docker-compose-rule/pulls/73","_links":{"self":{"href":"https://api.github.com/repos/palantir/docker-compose-rule/pulls/comments/65654802"},"html":{"href":"https://github.com/palantir/docker-compose-rule/pull/73#discussion_r65654802"},"pull_request":{"href":"https://api.github.com/repos/palantir/docker-compose-rule/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/palantir/docker-compose-rule/pulls/73","id":71940485,"html_url":"https://github.com/palantir/docker-compose-rule/pull/73","diff_url":"https://github.com/palantir/docker-compose-rule/pull/73.diff","patch_url":"https://github.com/palantir/docker-compose-rule/pull/73.patch","issue_url":"https://api.github.com/repos/palantir/docker-compose-rule/issues/73","number":73,"state":"open","locked":false,"title":"Add option to remove containers with conflicting names on startup","user":{"login":"nmiyake","id":4267425,"avatar_url":"https://avatars.githubusercontent.com/u/4267425?v=3","gravatar_id":"","url":"https://api.github.com/users/nmiyake","html_url":"https://github.com/nmiyake","followers_url":"https://api.github.com/users/nmiyake/followers","following_url":"https://api.github.com/users/nmiyake/following{/other_user}","gists_url":"https://api.github.com/users/nmiyake/gists{/gist_id}","starred_url":"https://api.github.com/users/nmiyake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmiyake/subscriptions","organizations_url":"https://api.github.com/users/nmiyake/orgs","repos_url":"https://api.github.com/users/nmiyake/repos","events_url":"https://api.github.com/users/nmiyake/events{/privacy}","received_events_url":"https://api.github.com/users/nmiyake/received_events","type":"User","site_admin":false},"body":"Fixes #64","created_at":"2016-05-30T21:57:18Z","updated_at":"2016-06-03T04:14:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48a3abcd4e8ee04ae4438377ad8b535d8f217fbf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/palantir/docker-compose-rule/pulls/73/commits","review_comments_url":"https://api.github.com/repos/palantir/docker-compose-rule/pulls/73/comments","review_comment_url":"https://api.github.com/repos/palantir/docker-compose-rule/pulls/comments{/number}","comments_url":"https://api.github.com/repos/palantir/docker-compose-rule/issues/73/comments","statuses_url":"https://api.github.com/repos/palantir/docker-compose-rule/statuses/448c605ae7b05addcd4b1dd5490d458e927e4ddb","head":{"label":"nmiyake:removeConflictingContainersWithRefactor","ref":"removeConflictingContainersWithRefactor","sha":"448c605ae7b05addcd4b1dd5490d458e927e4ddb","user":{"login":"nmiyake","id":4267425,"avatar_url":"https://avatars.githubusercontent.com/u/4267425?v=3","gravatar_id":"","url":"https://api.github.com/users/nmiyake","html_url":"https://github.com/nmiyake","followers_url":"https://api.github.com/users/nmiyake/followers","following_url":"https://api.github.com/users/nmiyake/following{/other_user}","gists_url":"https://api.github.com/users/nmiyake/gists{/gist_id}","starred_url":"https://api.github.com/users/nmiyake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmiyake/subscriptions","organizations_url":"https://api.github.com/users/nmiyake/orgs","repos_url":"https://api.github.com/users/nmiyake/repos","events_url":"https://api.github.com/users/nmiyake/events{/privacy}","received_events_url":"https://api.github.com/users/nmiyake/received_events","type":"User","site_admin":false},"repo":{"id":55441314,"name":"docker-compose-rule","full_name":"nmiyake/docker-compose-rule","owner":{"login":"nmiyake","id":4267425,"avatar_url":"https://avatars.githubusercontent.com/u/4267425?v=3","gravatar_id":"","url":"https://api.github.com/users/nmiyake","html_url":"https://github.com/nmiyake","followers_url":"https://api.github.com/users/nmiyake/followers","following_url":"https://api.github.com/users/nmiyake/following{/other_user}","gists_url":"https://api.github.com/users/nmiyake/gists{/gist_id}","starred_url":"https://api.github.com/users/nmiyake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmiyake/subscriptions","organizations_url":"https://api.github.com/users/nmiyake/orgs","repos_url":"https://api.github.com/users/nmiyake/repos","events_url":"https://api.github.com/users/nmiyake/events{/privacy}","received_events_url":"https://api.github.com/users/nmiyake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nmiyake/docker-compose-rule","description":"","fork":true,"url":"https://api.github.com/repos/nmiyake/docker-compose-rule","forks_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/forks","keys_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/teams","hooks_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/hooks","issue_events_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/issues/events{/number}","events_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/events","assignees_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/assignees{/user}","branches_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/branches{/branch}","tags_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/tags","blobs_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/git/refs{/sha}","trees_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/statuses/{sha}","languages_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/languages","stargazers_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/stargazers","contributors_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/contributors","subscribers_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/subscribers","subscription_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/subscription","commits_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/commits{/sha}","git_commits_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/git/commits{/sha}","comments_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/comments{/number}","issue_comment_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/issues/comments{/number}","contents_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/contents/{+path}","compare_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/merges","archive_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/downloads","issues_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/issues{/number}","pulls_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/pulls{/number}","milestones_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/milestones{/number}","notifications_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/labels{/name}","releases_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/releases{/id}","deployments_url":"https://api.github.com/repos/nmiyake/docker-compose-rule/deployments","created_at":"2016-04-04T20:09:55Z","updated_at":"2016-04-04T20:09:56Z","pushed_at":"2016-06-03T01:12:45Z","git_url":"git://github.com/nmiyake/docker-compose-rule.git","ssh_url":"git@github.com:nmiyake/docker-compose-rule.git","clone_url":"https://github.com/nmiyake/docker-compose-rule.git","svn_url":"https://github.com/nmiyake/docker-compose-rule","homepage":null,"size":544,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"palantir:master","ref":"master","sha":"216ed63434d153debf4f8dd60cc43fe73a1c619f","user":{"login":"palantir","id":303157,"avatar_url":"https://avatars.githubusercontent.com/u/303157?v=3","gravatar_id":"","url":"https://api.github.com/users/palantir","html_url":"https://github.com/palantir","followers_url":"https://api.github.com/users/palantir/followers","following_url":"https://api.github.com/users/palantir/following{/other_user}","gists_url":"https://api.github.com/users/palantir/gists{/gist_id}","starred_url":"https://api.github.com/users/palantir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palantir/subscriptions","organizations_url":"https://api.github.com/users/palantir/orgs","repos_url":"https://api.github.com/users/palantir/repos","events_url":"https://api.github.com/users/palantir/events{/privacy}","received_events_url":"https://api.github.com/users/palantir/received_events","type":"Organization","site_admin":false},"repo":{"id":50542309,"name":"docker-compose-rule","full_name":"palantir/docker-compose-rule","owner":{"login":"palantir","id":303157,"avatar_url":"https://avatars.githubusercontent.com/u/303157?v=3","gravatar_id":"","url":"https://api.github.com/users/palantir","html_url":"https://github.com/palantir","followers_url":"https://api.github.com/users/palantir/followers","following_url":"https://api.github.com/users/palantir/following{/other_user}","gists_url":"https://api.github.com/users/palantir/gists{/gist_id}","starred_url":"https://api.github.com/users/palantir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palantir/subscriptions","organizations_url":"https://api.github.com/users/palantir/orgs","repos_url":"https://api.github.com/users/palantir/repos","events_url":"https://api.github.com/users/palantir/events{/privacy}","received_events_url":"https://api.github.com/users/palantir/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/palantir/docker-compose-rule","description":"A JUnit rule to manage docker containers using docker-compose","fork":false,"url":"https://api.github.com/repos/palantir/docker-compose-rule","forks_url":"https://api.github.com/repos/palantir/docker-compose-rule/forks","keys_url":"https://api.github.com/repos/palantir/docker-compose-rule/keys{/key_id}","collaborators_url":"https://api.github.com/repos/palantir/docker-compose-rule/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/palantir/docker-compose-rule/teams","hooks_url":"https://api.github.com/repos/palantir/docker-compose-rule/hooks","issue_events_url":"https://api.github.com/repos/palantir/docker-compose-rule/issues/events{/number}","events_url":"https://api.github.com/repos/palantir/docker-compose-rule/events","assignees_url":"https://api.github.com/repos/palantir/docker-compose-rule/assignees{/user}","branches_url":"https://api.github.com/repos/palantir/docker-compose-rule/branches{/branch}","tags_url":"https://api.github.com/repos/palantir/docker-compose-rule/tags","blobs_url":"https://api.github.com/repos/palantir/docker-compose-rule/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/palantir/docker-compose-rule/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/palantir/docker-compose-rule/git/refs{/sha}","trees_url":"https://api.github.com/repos/palantir/docker-compose-rule/git/trees{/sha}","statuses_url":"https://api.github.com/repos/palantir/docker-compose-rule/statuses/{sha}","languages_url":"https://api.github.com/repos/palantir/docker-compose-rule/languages","stargazers_url":"https://api.github.com/repos/palantir/docker-compose-rule/stargazers","contributors_url":"https://api.github.com/repos/palantir/docker-compose-rule/contributors","subscribers_url":"https://api.github.com/repos/palantir/docker-compose-rule/subscribers","subscription_url":"https://api.github.com/repos/palantir/docker-compose-rule/subscription","commits_url":"https://api.github.com/repos/palantir/docker-compose-rule/commits{/sha}","git_commits_url":"https://api.github.com/repos/palantir/docker-compose-rule/git/commits{/sha}","comments_url":"https://api.github.com/repos/palantir/docker-compose-rule/comments{/number}","issue_comment_url":"https://api.github.com/repos/palantir/docker-compose-rule/issues/comments{/number}","contents_url":"https://api.github.com/repos/palantir/docker-compose-rule/contents/{+path}","compare_url":"https://api.github.com/repos/palantir/docker-compose-rule/compare/{base}...{head}","merges_url":"https://api.github.com/repos/palantir/docker-compose-rule/merges","archive_url":"https://api.github.com/repos/palantir/docker-compose-rule/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/palantir/docker-compose-rule/downloads","issues_url":"https://api.github.com/repos/palantir/docker-compose-rule/issues{/number}","pulls_url":"https://api.github.com/repos/palantir/docker-compose-rule/pulls{/number}","milestones_url":"https://api.github.com/repos/palantir/docker-compose-rule/milestones{/number}","notifications_url":"https://api.github.com/repos/palantir/docker-compose-rule/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/palantir/docker-compose-rule/labels{/name}","releases_url":"https://api.github.com/repos/palantir/docker-compose-rule/releases{/id}","deployments_url":"https://api.github.com/repos/palantir/docker-compose-rule/deployments","created_at":"2016-01-27T22:24:46Z","updated_at":"2016-06-01T08:10:55Z","pushed_at":"2016-06-03T01:12:45Z","git_url":"git://github.com/palantir/docker-compose-rule.git","ssh_url":"git@github.com:palantir/docker-compose-rule.git","clone_url":"https://github.com/palantir/docker-compose-rule.git","svn_url":"https://github.com/palantir/docker-compose-rule","homepage":"","size":708,"stargazers_count":18,"watchers_count":18,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":7,"forks":5,"open_issues":7,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/palantir/docker-compose-rule/pulls/73"},"html":{"href":"https://github.com/palantir/docker-compose-rule/pull/73"},"issue":{"href":"https://api.github.com/repos/palantir/docker-compose-rule/issues/73"},"comments":{"href":"https://api.github.com/repos/palantir/docker-compose-rule/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/palantir/docker-compose-rule/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/palantir/docker-compose-rule/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/palantir/docker-compose-rule/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/palantir/docker-compose-rule/statuses/448c605ae7b05addcd4b1dd5490d458e927e4ddb"}}}}
{"actor":{"display_login":"nmiyake"}}