{"action":"opened","number":223,"pull_request":{"url":"https://api.github.com/repos/appc/docker2aci/pulls/223","id":92246898,"html_url":"https://github.com/appc/docker2aci/pull/223","diff_url":"https://github.com/appc/docker2aci/pull/223.diff","patch_url":"https://github.com/appc/docker2aci/pull/223.patch","issue_url":"https://api.github.com/repos/appc/docker2aci/issues/223","number":223,"state":"open","locked":false,"title":"Map Docker labels to appc UserLabels","user":{"login":"julia-stripe","id":23065472,"avatar_url":"https://avatars.githubusercontent.com/u/23065472?v=3","gravatar_id":"","url":"https://api.github.com/users/julia-stripe","html_url":"https://github.com/julia-stripe","followers_url":"https://api.github.com/users/julia-stripe/followers","following_url":"https://api.github.com/users/julia-stripe/following{/other_user}","gists_url":"https://api.github.com/users/julia-stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/julia-stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julia-stripe/subscriptions","organizations_url":"https://api.github.com/users/julia-stripe/orgs","repos_url":"https://api.github.com/users/julia-stripe/repos","events_url":"https://api.github.com/users/julia-stripe/events{/privacy}","received_events_url":"https://api.github.com/users/julia-stripe/received_events","type":"User","site_admin":false},"body":"this is a second version of https://github.com/appc/docker2aci/pull/209!\r\n\r\nI started out by just converting Docker labels to UserLabels. But then I realized there was a problem! Sometimes, when the Docker image doesn't have a `Cmd` in it, the labels wouldn't get converted.\r\n\r\nSo I also changed it to not require an image to have a Docker command to convert the other Docker metadata on the image. I can't see why this wouldn't work, but probably there's some reason I don't know yet that this `exec != nil` check was there in the first place.\r\n\r\n(also I might have gotten the vendoring wrong -- I haven't used glide before)","created_at":"2016-11-03T21:47:20Z","updated_at":"2016-11-03T21:47:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c7902aee1cc1bd2560afae342c21ad3ac0bdca0c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/appc/docker2aci/pulls/223/commits","review_comments_url":"https://api.github.com/repos/appc/docker2aci/pulls/223/comments","review_comment_url":"https://api.github.com/repos/appc/docker2aci/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appc/docker2aci/issues/223/comments","statuses_url":"https://api.github.com/repos/appc/docker2aci/statuses/a7b6603c9d81548921ece2af77586e7fe34ddb09","head":{"label":"julia-stripe:convert-docker-labels","ref":"convert-docker-labels","sha":"a7b6603c9d81548921ece2af77586e7fe34ddb09","user":{"login":"julia-stripe","id":23065472,"avatar_url":"https://avatars.githubusercontent.com/u/23065472?v=3","gravatar_id":"","url":"https://api.github.com/users/julia-stripe","html_url":"https://github.com/julia-stripe","followers_url":"https://api.github.com/users/julia-stripe/followers","following_url":"https://api.github.com/users/julia-stripe/following{/other_user}","gists_url":"https://api.github.com/users/julia-stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/julia-stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julia-stripe/subscriptions","organizations_url":"https://api.github.com/users/julia-stripe/orgs","repos_url":"https://api.github.com/users/julia-stripe/repos","events_url":"https://api.github.com/users/julia-stripe/events{/privacy}","received_events_url":"https://api.github.com/users/julia-stripe/received_events","type":"User","site_admin":false},"repo":{"id":72789218,"name":"docker2aci","full_name":"julia-stripe/docker2aci","owner":{"login":"julia-stripe","id":23065472,"avatar_url":"https://avatars.githubusercontent.com/u/23065472?v=3","gravatar_id":"","url":"https://api.github.com/users/julia-stripe","html_url":"https://github.com/julia-stripe","followers_url":"https://api.github.com/users/julia-stripe/followers","following_url":"https://api.github.com/users/julia-stripe/following{/other_user}","gists_url":"https://api.github.com/users/julia-stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/julia-stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julia-stripe/subscriptions","organizations_url":"https://api.github.com/users/julia-stripe/orgs","repos_url":"https://api.github.com/users/julia-stripe/repos","events_url":"https://api.github.com/users/julia-stripe/events{/privacy}","received_events_url":"https://api.github.com/users/julia-stripe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/julia-stripe/docker2aci","description":"library and CLI tool to convert Docker images to ACIs","fork":true,"url":"https://api.github.com/repos/julia-stripe/docker2aci","forks_url":"https://api.github.com/repos/julia-stripe/docker2aci/forks","keys_url":"https://api.github.com/repos/julia-stripe/docker2aci/keys{/key_id}","collaborators_url":"https://api.github.com/repos/julia-stripe/docker2aci/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/julia-stripe/docker2aci/teams","hooks_url":"https://api.github.com/repos/julia-stripe/docker2aci/hooks","issue_events_url":"https://api.github.com/repos/julia-stripe/docker2aci/issues/events{/number}","events_url":"https://api.github.com/repos/julia-stripe/docker2aci/events","assignees_url":"https://api.github.com/repos/julia-stripe/docker2aci/assignees{/user}","branches_url":"https://api.github.com/repos/julia-stripe/docker2aci/branches{/branch}","tags_url":"https://api.github.com/repos/julia-stripe/docker2aci/tags","blobs_url":"https://api.github.com/repos/julia-stripe/docker2aci/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/julia-stripe/docker2aci/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/julia-stripe/docker2aci/git/refs{/sha}","trees_url":"https://api.github.com/repos/julia-stripe/docker2aci/git/trees{/sha}","statuses_url":"https://api.github.com/repos/julia-stripe/docker2aci/statuses/{sha}","languages_url":"https://api.github.com/repos/julia-stripe/docker2aci/languages","stargazers_url":"https://api.github.com/repos/julia-stripe/docker2aci/stargazers","contributors_url":"https://api.github.com/repos/julia-stripe/docker2aci/contributors","subscribers_url":"https://api.github.com/repos/julia-stripe/docker2aci/subscribers","subscription_url":"https://api.github.com/repos/julia-stripe/docker2aci/subscription","commits_url":"https://api.github.com/repos/julia-stripe/docker2aci/commits{/sha}","git_commits_url":"https://api.github.com/repos/julia-stripe/docker2aci/git/commits{/sha}","comments_url":"https://api.github.com/repos/julia-stripe/docker2aci/comments{/number}","issue_comment_url":"https://api.github.com/repos/julia-stripe/docker2aci/issues/comments{/number}","contents_url":"https://api.github.com/repos/julia-stripe/docker2aci/contents/{+path}","compare_url":"https://api.github.com/repos/julia-stripe/docker2aci/compare/{base}...{head}","merges_url":"https://api.github.com/repos/julia-stripe/docker2aci/merges","archive_url":"https://api.github.com/repos/julia-stripe/docker2aci/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/julia-stripe/docker2aci/downloads","issues_url":"https://api.github.com/repos/julia-stripe/docker2aci/issues{/number}","pulls_url":"https://api.github.com/repos/julia-stripe/docker2aci/pulls{/number}","milestones_url":"https://api.github.com/repos/julia-stripe/docker2aci/milestones{/number}","notifications_url":"https://api.github.com/repos/julia-stripe/docker2aci/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/julia-stripe/docker2aci/labels{/name}","releases_url":"https://api.github.com/repos/julia-stripe/docker2aci/releases{/id}","deployments_url":"https://api.github.com/repos/julia-stripe/docker2aci/deployments","created_at":"2016-11-03T21:38:23Z","updated_at":"2016-11-03T21:38:26Z","pushed_at":"2016-11-03T21:39:45Z","git_url":"git://github.com/julia-stripe/docker2aci.git","ssh_url":"git@github.com:julia-stripe/docker2aci.git","clone_url":"https://github.com/julia-stripe/docker2aci.git","svn_url":"https://github.com/julia-stripe/docker2aci","homepage":"","size":3200,"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":"appc:master","ref":"master","sha":"658703d6c8c5ec13037ed63729d7a6686ba44bc3","user":{"login":"appc","id":10080092,"avatar_url":"https://avatars.githubusercontent.com/u/10080092?v=3","gravatar_id":"","url":"https://api.github.com/users/appc","html_url":"https://github.com/appc","followers_url":"https://api.github.com/users/appc/followers","following_url":"https://api.github.com/users/appc/following{/other_user}","gists_url":"https://api.github.com/users/appc/gists{/gist_id}","starred_url":"https://api.github.com/users/appc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appc/subscriptions","organizations_url":"https://api.github.com/users/appc/orgs","repos_url":"https://api.github.com/users/appc/repos","events_url":"https://api.github.com/users/appc/events{/privacy}","received_events_url":"https://api.github.com/users/appc/received_events","type":"Organization","site_admin":false},"repo":{"id":29600667,"name":"docker2aci","full_name":"appc/docker2aci","owner":{"login":"appc","id":10080092,"avatar_url":"https://avatars.githubusercontent.com/u/10080092?v=3","gravatar_id":"","url":"https://api.github.com/users/appc","html_url":"https://github.com/appc","followers_url":"https://api.github.com/users/appc/followers","following_url":"https://api.github.com/users/appc/following{/other_user}","gists_url":"https://api.github.com/users/appc/gists{/gist_id}","starred_url":"https://api.github.com/users/appc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appc/subscriptions","organizations_url":"https://api.github.com/users/appc/orgs","repos_url":"https://api.github.com/users/appc/repos","events_url":"https://api.github.com/users/appc/events{/privacy}","received_events_url":"https://api.github.com/users/appc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appc/docker2aci","description":"library and CLI tool to convert Docker images to ACIs","fork":false,"url":"https://api.github.com/repos/appc/docker2aci","forks_url":"https://api.github.com/repos/appc/docker2aci/forks","keys_url":"https://api.github.com/repos/appc/docker2aci/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appc/docker2aci/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appc/docker2aci/teams","hooks_url":"https://api.github.com/repos/appc/docker2aci/hooks","issue_events_url":"https://api.github.com/repos/appc/docker2aci/issues/events{/number}","events_url":"https://api.github.com/repos/appc/docker2aci/events","assignees_url":"https://api.github.com/repos/appc/docker2aci/assignees{/user}","branches_url":"https://api.github.com/repos/appc/docker2aci/branches{/branch}","tags_url":"https://api.github.com/repos/appc/docker2aci/tags","blobs_url":"https://api.github.com/repos/appc/docker2aci/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appc/docker2aci/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appc/docker2aci/git/refs{/sha}","trees_url":"https://api.github.com/repos/appc/docker2aci/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appc/docker2aci/statuses/{sha}","languages_url":"https://api.github.com/repos/appc/docker2aci/languages","stargazers_url":"https://api.github.com/repos/appc/docker2aci/stargazers","contributors_url":"https://api.github.com/repos/appc/docker2aci/contributors","subscribers_url":"https://api.github.com/repos/appc/docker2aci/subscribers","subscription_url":"https://api.github.com/repos/appc/docker2aci/subscription","commits_url":"https://api.github.com/repos/appc/docker2aci/commits{/sha}","git_commits_url":"https://api.github.com/repos/appc/docker2aci/git/commits{/sha}","comments_url":"https://api.github.com/repos/appc/docker2aci/comments{/number}","issue_comment_url":"https://api.github.com/repos/appc/docker2aci/issues/comments{/number}","contents_url":"https://api.github.com/repos/appc/docker2aci/contents/{+path}","compare_url":"https://api.github.com/repos/appc/docker2aci/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appc/docker2aci/merges","archive_url":"https://api.github.com/repos/appc/docker2aci/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appc/docker2aci/downloads","issues_url":"https://api.github.com/repos/appc/docker2aci/issues{/number}","pulls_url":"https://api.github.com/repos/appc/docker2aci/pulls{/number}","milestones_url":"https://api.github.com/repos/appc/docker2aci/milestones{/number}","notifications_url":"https://api.github.com/repos/appc/docker2aci/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appc/docker2aci/labels{/name}","releases_url":"https://api.github.com/repos/appc/docker2aci/releases{/id}","deployments_url":"https://api.github.com/repos/appc/docker2aci/deployments","created_at":"2015-01-21T17:03:40Z","updated_at":"2016-10-28T13:06:13Z","pushed_at":"2016-11-03T21:47:21Z","git_url":"git://github.com/appc/docker2aci.git","ssh_url":"git@github.com:appc/docker2aci.git","clone_url":"https://github.com/appc/docker2aci.git","svn_url":"https://github.com/appc/docker2aci","homepage":"","size":3200,"stargazers_count":133,"watchers_count":133,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":21,"forks":46,"open_issues":21,"watchers":133,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appc/docker2aci/pulls/223"},"html":{"href":"https://github.com/appc/docker2aci/pull/223"},"issue":{"href":"https://api.github.com/repos/appc/docker2aci/issues/223"},"comments":{"href":"https://api.github.com/repos/appc/docker2aci/issues/223/comments"},"review_comments":{"href":"https://api.github.com/repos/appc/docker2aci/pulls/223/comments"},"review_comment":{"href":"https://api.github.com/repos/appc/docker2aci/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appc/docker2aci/pulls/223/commits"},"statuses":{"href":"https://api.github.com/repos/appc/docker2aci/statuses/a7b6603c9d81548921ece2af77586e7fe34ddb09"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":19534,"deletions":60,"changed_files":180}}
{"actor":{"display_login":"julia-stripe"}}