{"action":"created","comment":{"url":"https://api.github.com/repos/docker/libcompose/pulls/comments/53484154","id":53484154,"diff_hunk":"@@ -343,6 +358,10 @@ func (c *Container) createContainer(imageName, oldContainer string) (*types.Cont\n \tconfigWrapper.Config.Labels[SERVICE.Str()] = c.service.name\n \tconfigWrapper.Config.Labels[PROJECT.Str()] = c.service.context.Project.Name\n \tconfigWrapper.Config.Labels[HASH.Str()] = c.getHash()\n+\t// libcompose run command not yet supported, so always \"False\"\n+\tconfigWrapper.Config.Labels[ONEOFF.Str()] = \"False\"\n+\tconfigWrapper.Config.Labels[NUMBER.Str()] = getContainerNumber(c.name)","path":"docker/container.go","position":35,"original_position":35,"commit_id":"a5b7feaf83c4857d016fc885f916e55727b4781d","original_commit_id":"a5b7feaf83c4857d016fc885f916e55727b4781d","user":{"login":"dnephin","id":442180,"avatar_url":"https://avatars.githubusercontent.com/u/442180?v=3","gravatar_id":"","url":"https://api.github.com/users/dnephin","html_url":"https://github.com/dnephin","followers_url":"https://api.github.com/users/dnephin/followers","following_url":"https://api.github.com/users/dnephin/following{/other_user}","gists_url":"https://api.github.com/users/dnephin/gists{/gist_id}","starred_url":"https://api.github.com/users/dnephin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnephin/subscriptions","organizations_url":"https://api.github.com/users/dnephin/orgs","repos_url":"https://api.github.com/users/dnephin/repos","events_url":"https://api.github.com/users/dnephin/events{/privacy}","received_events_url":"https://api.github.com/users/dnephin/received_events","type":"User","site_admin":false},"body":"I would be better to pass in the number instead of having to parse it from the name.","created_at":"2016-02-19T16:39:51Z","updated_at":"2016-02-19T16:39:51Z","html_url":"https://github.com/docker/libcompose/pull/153#discussion_r53484154","pull_request_url":"https://api.github.com/repos/docker/libcompose/pulls/153","_links":{"self":{"href":"https://api.github.com/repos/docker/libcompose/pulls/comments/53484154"},"html":{"href":"https://github.com/docker/libcompose/pull/153#discussion_r53484154"},"pull_request":{"href":"https://api.github.com/repos/docker/libcompose/pulls/153"}}},"pull_request":{"url":"https://api.github.com/repos/docker/libcompose/pulls/153","id":59921562,"html_url":"https://github.com/docker/libcompose/pull/153","diff_url":"https://github.com/docker/libcompose/pull/153.diff","patch_url":"https://github.com/docker/libcompose/pull/153.patch","issue_url":"https://api.github.com/repos/docker/libcompose/issues/153","number":153,"state":"open","locked":false,"title":"Compatible labels with docker-compose.","user":{"login":"kunalkushwaha","id":2758433,"avatar_url":"https://avatars.githubusercontent.com/u/2758433?v=3","gravatar_id":"","url":"https://api.github.com/users/kunalkushwaha","html_url":"https://github.com/kunalkushwaha","followers_url":"https://api.github.com/users/kunalkushwaha/followers","following_url":"https://api.github.com/users/kunalkushwaha/following{/other_user}","gists_url":"https://api.github.com/users/kunalkushwaha/gists{/gist_id}","starred_url":"https://api.github.com/users/kunalkushwaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunalkushwaha/subscriptions","organizations_url":"https://api.github.com/users/kunalkushwaha/orgs","repos_url":"https://api.github.com/users/kunalkushwaha/repos","events_url":"https://api.github.com/users/kunalkushwaha/events{/privacy}","received_events_url":"https://api.github.com/users/kunalkushwaha/received_events","type":"User","site_admin":false},"body":"Fixes the compatible issue with docker-compose\r\nBugFix #132 \r\n\r\nSigned-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>","created_at":"2016-02-19T09:06:42Z","updated_at":"2016-02-19T16:39:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f02adfff11332da2ca902faf9707aa4de250a347","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/libcompose/pulls/153/commits","review_comments_url":"https://api.github.com/repos/docker/libcompose/pulls/153/comments","review_comment_url":"https://api.github.com/repos/docker/libcompose/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/libcompose/issues/153/comments","statuses_url":"https://api.github.com/repos/docker/libcompose/statuses/a5b7feaf83c4857d016fc885f916e55727b4781d","head":{"label":"kunalkushwaha:labels","ref":"labels","sha":"a5b7feaf83c4857d016fc885f916e55727b4781d","user":{"login":"kunalkushwaha","id":2758433,"avatar_url":"https://avatars.githubusercontent.com/u/2758433?v=3","gravatar_id":"","url":"https://api.github.com/users/kunalkushwaha","html_url":"https://github.com/kunalkushwaha","followers_url":"https://api.github.com/users/kunalkushwaha/followers","following_url":"https://api.github.com/users/kunalkushwaha/following{/other_user}","gists_url":"https://api.github.com/users/kunalkushwaha/gists{/gist_id}","starred_url":"https://api.github.com/users/kunalkushwaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunalkushwaha/subscriptions","organizations_url":"https://api.github.com/users/kunalkushwaha/orgs","repos_url":"https://api.github.com/users/kunalkushwaha/repos","events_url":"https://api.github.com/users/kunalkushwaha/events{/privacy}","received_events_url":"https://api.github.com/users/kunalkushwaha/received_events","type":"User","site_admin":false},"repo":{"id":50007511,"name":"libcompose","full_name":"kunalkushwaha/libcompose","owner":{"login":"kunalkushwaha","id":2758433,"avatar_url":"https://avatars.githubusercontent.com/u/2758433?v=3","gravatar_id":"","url":"https://api.github.com/users/kunalkushwaha","html_url":"https://github.com/kunalkushwaha","followers_url":"https://api.github.com/users/kunalkushwaha/followers","following_url":"https://api.github.com/users/kunalkushwaha/following{/other_user}","gists_url":"https://api.github.com/users/kunalkushwaha/gists{/gist_id}","starred_url":"https://api.github.com/users/kunalkushwaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunalkushwaha/subscriptions","organizations_url":"https://api.github.com/users/kunalkushwaha/orgs","repos_url":"https://api.github.com/users/kunalkushwaha/repos","events_url":"https://api.github.com/users/kunalkushwaha/events{/privacy}","received_events_url":"https://api.github.com/users/kunalkushwaha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kunalkushwaha/libcompose","description":"A Go package providing the entire Docker Compose feature set","fork":true,"url":"https://api.github.com/repos/kunalkushwaha/libcompose","forks_url":"https://api.github.com/repos/kunalkushwaha/libcompose/forks","keys_url":"https://api.github.com/repos/kunalkushwaha/libcompose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kunalkushwaha/libcompose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kunalkushwaha/libcompose/teams","hooks_url":"https://api.github.com/repos/kunalkushwaha/libcompose/hooks","issue_events_url":"https://api.github.com/repos/kunalkushwaha/libcompose/issues/events{/number}","events_url":"https://api.github.com/repos/kunalkushwaha/libcompose/events","assignees_url":"https://api.github.com/repos/kunalkushwaha/libcompose/assignees{/user}","branches_url":"https://api.github.com/repos/kunalkushwaha/libcompose/branches{/branch}","tags_url":"https://api.github.com/repos/kunalkushwaha/libcompose/tags","blobs_url":"https://api.github.com/repos/kunalkushwaha/libcompose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kunalkushwaha/libcompose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kunalkushwaha/libcompose/git/refs{/sha}","trees_url":"https://api.github.com/repos/kunalkushwaha/libcompose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kunalkushwaha/libcompose/statuses/{sha}","languages_url":"https://api.github.com/repos/kunalkushwaha/libcompose/languages","stargazers_url":"https://api.github.com/repos/kunalkushwaha/libcompose/stargazers","contributors_url":"https://api.github.com/repos/kunalkushwaha/libcompose/contributors","subscribers_url":"https://api.github.com/repos/kunalkushwaha/libcompose/subscribers","subscription_url":"https://api.github.com/repos/kunalkushwaha/libcompose/subscription","commits_url":"https://api.github.com/repos/kunalkushwaha/libcompose/commits{/sha}","git_commits_url":"https://api.github.com/repos/kunalkushwaha/libcompose/git/commits{/sha}","comments_url":"https://api.github.com/repos/kunalkushwaha/libcompose/comments{/number}","issue_comment_url":"https://api.github.com/repos/kunalkushwaha/libcompose/issues/comments{/number}","contents_url":"https://api.github.com/repos/kunalkushwaha/libcompose/contents/{+path}","compare_url":"https://api.github.com/repos/kunalkushwaha/libcompose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kunalkushwaha/libcompose/merges","archive_url":"https://api.github.com/repos/kunalkushwaha/libcompose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kunalkushwaha/libcompose/downloads","issues_url":"https://api.github.com/repos/kunalkushwaha/libcompose/issues{/number}","pulls_url":"https://api.github.com/repos/kunalkushwaha/libcompose/pulls{/number}","milestones_url":"https://api.github.com/repos/kunalkushwaha/libcompose/milestones{/number}","notifications_url":"https://api.github.com/repos/kunalkushwaha/libcompose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kunalkushwaha/libcompose/labels{/name}","releases_url":"https://api.github.com/repos/kunalkushwaha/libcompose/releases{/id}","deployments_url":"https://api.github.com/repos/kunalkushwaha/libcompose/deployments","created_at":"2016-01-20T05:41:45Z","updated_at":"2016-01-20T05:41:46Z","pushed_at":"2016-02-19T09:22:06Z","git_url":"git://github.com/kunalkushwaha/libcompose.git","ssh_url":"git@github.com:kunalkushwaha/libcompose.git","clone_url":"https://github.com/kunalkushwaha/libcompose.git","svn_url":"https://github.com/kunalkushwaha/libcompose","homepage":"https://godoc.org/github.com/docker/libcompose","size":2036,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"docker:master","ref":"master","sha":"3ca15215f36154fbf64f15bfa305bfb0cebb6ca7","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":35969237,"name":"libcompose","full_name":"docker/libcompose","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/libcompose","description":"An experimental go library providing Compose-like functionality","fork":false,"url":"https://api.github.com/repos/docker/libcompose","forks_url":"https://api.github.com/repos/docker/libcompose/forks","keys_url":"https://api.github.com/repos/docker/libcompose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/libcompose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/libcompose/teams","hooks_url":"https://api.github.com/repos/docker/libcompose/hooks","issue_events_url":"https://api.github.com/repos/docker/libcompose/issues/events{/number}","events_url":"https://api.github.com/repos/docker/libcompose/events","assignees_url":"https://api.github.com/repos/docker/libcompose/assignees{/user}","branches_url":"https://api.github.com/repos/docker/libcompose/branches{/branch}","tags_url":"https://api.github.com/repos/docker/libcompose/tags","blobs_url":"https://api.github.com/repos/docker/libcompose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/libcompose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/libcompose/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/libcompose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/libcompose/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/libcompose/languages","stargazers_url":"https://api.github.com/repos/docker/libcompose/stargazers","contributors_url":"https://api.github.com/repos/docker/libcompose/contributors","subscribers_url":"https://api.github.com/repos/docker/libcompose/subscribers","subscription_url":"https://api.github.com/repos/docker/libcompose/subscription","commits_url":"https://api.github.com/repos/docker/libcompose/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/libcompose/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/libcompose/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/libcompose/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/libcompose/contents/{+path}","compare_url":"https://api.github.com/repos/docker/libcompose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/libcompose/merges","archive_url":"https://api.github.com/repos/docker/libcompose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/libcompose/downloads","issues_url":"https://api.github.com/repos/docker/libcompose/issues{/number}","pulls_url":"https://api.github.com/repos/docker/libcompose/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/libcompose/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/libcompose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/libcompose/labels{/name}","releases_url":"https://api.github.com/repos/docker/libcompose/releases{/id}","deployments_url":"https://api.github.com/repos/docker/libcompose/deployments","created_at":"2015-05-20T19:22:20Z","updated_at":"2016-02-18T22:26:05Z","pushed_at":"2016-02-19T09:22:07Z","git_url":"git://github.com/docker/libcompose.git","ssh_url":"git@github.com:docker/libcompose.git","clone_url":"https://github.com/docker/libcompose.git","svn_url":"https://github.com/docker/libcompose","homepage":"https://godoc.org/github.com/docker/libcompose","size":2147,"stargazers_count":271,"watchers_count":271,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":25,"forks":55,"open_issues":25,"watchers":271,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/libcompose/pulls/153"},"html":{"href":"https://github.com/docker/libcompose/pull/153"},"issue":{"href":"https://api.github.com/repos/docker/libcompose/issues/153"},"comments":{"href":"https://api.github.com/repos/docker/libcompose/issues/153/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/libcompose/pulls/153/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/libcompose/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/libcompose/pulls/153/commits"},"statuses":{"href":"https://api.github.com/repos/docker/libcompose/statuses/a5b7feaf83c4857d016fc885f916e55727b4781d"}}}}