{"action":"created","comment":{"url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/pulls/comments/207831157","pull_request_review_id":143520491,"id":207831157,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzgzMTE1Nw==","diff_hunk":"@@ -1,12 +1,46 @@\n .PHONY: all build\n \n VERSION := 0.2.2\n+OPA_VERSION := 0.8.0\n+GO_VERSION := 1.10\n+REPO := openpolicyagent/opa-docker-authz","path":"Makefile","position":6,"original_position":6,"commit_id":"fe243b5308f353b35fe1dee058ab9a7b5e94ab0c","original_commit_id":"fe243b5308f353b35fe1dee058ab9a7b5e94ab0c","user":{"login":"nbrownuk","id":9661038,"node_id":"MDQ6VXNlcjk2NjEwMzg=","avatar_url":"https://avatars2.githubusercontent.com/u/9661038?v=4","gravatar_id":"","url":"https://api.github.com/users/nbrownuk","html_url":"https://github.com/nbrownuk","followers_url":"https://api.github.com/users/nbrownuk/followers","following_url":"https://api.github.com/users/nbrownuk/following{/other_user}","gists_url":"https://api.github.com/users/nbrownuk/gists{/gist_id}","starred_url":"https://api.github.com/users/nbrownuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbrownuk/subscriptions","organizations_url":"https://api.github.com/users/nbrownuk/orgs","repos_url":"https://api.github.com/users/nbrownuk/repos","events_url":"https://api.github.com/users/nbrownuk/events{/privacy}","received_events_url":"https://api.github.com/users/nbrownuk/received_events","type":"User","site_admin":false},"body":"Seems sensible to me.","created_at":"2018-08-06T09:43:14Z","updated_at":"2018-08-06T09:43:14Z","html_url":"https://github.com/open-policy-agent/opa-docker-authz/pull/25#discussion_r207831157","pull_request_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/pulls/25","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/pulls/comments/207831157"},"html":{"href":"https://github.com/open-policy-agent/opa-docker-authz/pull/25#discussion_r207831157"},"pull_request":{"href":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/pulls/25"}},"in_reply_to_id":207310829},"pull_request":{"url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/pulls/25","id":204822187,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0ODIyMTg3","html_url":"https://github.com/open-policy-agent/opa-docker-authz/pull/25","diff_url":"https://github.com/open-policy-agent/opa-docker-authz/pull/25.diff","patch_url":"https://github.com/open-policy-agent/opa-docker-authz/pull/25.patch","issue_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/issues/25","number":25,"state":"open","locked":false,"title":"Implement Docker's managed plugin format","user":{"login":"nbrownuk","id":9661038,"node_id":"MDQ6VXNlcjk2NjEwMzg=","avatar_url":"https://avatars2.githubusercontent.com/u/9661038?v=4","gravatar_id":"","url":"https://api.github.com/users/nbrownuk","html_url":"https://github.com/nbrownuk","followers_url":"https://api.github.com/users/nbrownuk/followers","following_url":"https://api.github.com/users/nbrownuk/following{/other_user}","gists_url":"https://api.github.com/users/nbrownuk/gists{/gist_id}","starred_url":"https://api.github.com/users/nbrownuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbrownuk/subscriptions","organizations_url":"https://api.github.com/users/nbrownuk/orgs","repos_url":"https://api.github.com/users/nbrownuk/repos","events_url":"https://api.github.com/users/nbrownuk/events{/privacy}","received_events_url":"https://api.github.com/users/nbrownuk/received_events","type":"User","site_admin":false},"body":"Configures `opa-docker-authz` as a Docker managed plugin (v2), and fixes #4. \r\n\r\nThe changes allow the legacy plugin image to be created, in addition to the new v2 plugin, for backwards compatibility. The only issue is that both can't have the same name (i.e. openpolicyagent/opa-docker-authz). Maybe the managed plugin can be hosted on the Docker Store instead of the Docker Hub, where there are currently [zero authorization plugins](https://store.docker.com/search?type=plugin&category=authorization)?","created_at":"2018-07-30T14:25:52Z","updated_at":"2018-08-06T09:43:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7424ae0911c928798afc03c3f804d4784c8a359f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/pulls/25/commits","review_comments_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/pulls/25/comments","review_comment_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/issues/25/comments","statuses_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/statuses/fe243b5308f353b35fe1dee058ab9a7b5e94ab0c","head":{"label":"nbrownuk:implement-managed-plugin","ref":"implement-managed-plugin","sha":"fe243b5308f353b35fe1dee058ab9a7b5e94ab0c","user":{"login":"nbrownuk","id":9661038,"node_id":"MDQ6VXNlcjk2NjEwMzg=","avatar_url":"https://avatars2.githubusercontent.com/u/9661038?v=4","gravatar_id":"","url":"https://api.github.com/users/nbrownuk","html_url":"https://github.com/nbrownuk","followers_url":"https://api.github.com/users/nbrownuk/followers","following_url":"https://api.github.com/users/nbrownuk/following{/other_user}","gists_url":"https://api.github.com/users/nbrownuk/gists{/gist_id}","starred_url":"https://api.github.com/users/nbrownuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbrownuk/subscriptions","organizations_url":"https://api.github.com/users/nbrownuk/orgs","repos_url":"https://api.github.com/users/nbrownuk/repos","events_url":"https://api.github.com/users/nbrownuk/events{/privacy}","received_events_url":"https://api.github.com/users/nbrownuk/received_events","type":"User","site_admin":false},"repo":{"id":142553551,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI1NTM1NTE=","name":"opa-docker-authz","full_name":"nbrownuk/opa-docker-authz","owner":{"login":"nbrownuk","id":9661038,"node_id":"MDQ6VXNlcjk2NjEwMzg=","avatar_url":"https://avatars2.githubusercontent.com/u/9661038?v=4","gravatar_id":"","url":"https://api.github.com/users/nbrownuk","html_url":"https://github.com/nbrownuk","followers_url":"https://api.github.com/users/nbrownuk/followers","following_url":"https://api.github.com/users/nbrownuk/following{/other_user}","gists_url":"https://api.github.com/users/nbrownuk/gists{/gist_id}","starred_url":"https://api.github.com/users/nbrownuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbrownuk/subscriptions","organizations_url":"https://api.github.com/users/nbrownuk/orgs","repos_url":"https://api.github.com/users/nbrownuk/repos","events_url":"https://api.github.com/users/nbrownuk/events{/privacy}","received_events_url":"https://api.github.com/users/nbrownuk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nbrownuk/opa-docker-authz","description":"A policy-enabled authorization plugin for Docker.","fork":true,"url":"https://api.github.com/repos/nbrownuk/opa-docker-authz","forks_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/forks","keys_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/teams","hooks_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/hooks","issue_events_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/issues/events{/number}","events_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/events","assignees_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/assignees{/user}","branches_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/branches{/branch}","tags_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/tags","blobs_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/git/refs{/sha}","trees_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/statuses/{sha}","languages_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/languages","stargazers_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/stargazers","contributors_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/contributors","subscribers_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/subscribers","subscription_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/subscription","commits_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/commits{/sha}","git_commits_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/git/commits{/sha}","comments_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/comments{/number}","issue_comment_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/issues/comments{/number}","contents_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/contents/{+path}","compare_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/merges","archive_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/downloads","issues_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/issues{/number}","pulls_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/pulls{/number}","milestones_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/milestones{/number}","notifications_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/labels{/name}","releases_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/releases{/id}","deployments_url":"https://api.github.com/repos/nbrownuk/opa-docker-authz/deployments","created_at":"2018-07-27T08:58:03Z","updated_at":"2018-07-27T08:58:05Z","pushed_at":"2018-07-30T15:51:38Z","git_url":"git://github.com/nbrownuk/opa-docker-authz.git","ssh_url":"git@github.com:nbrownuk/opa-docker-authz.git","clone_url":"https://github.com/nbrownuk/opa-docker-authz.git","svn_url":"https://github.com/nbrownuk/opa-docker-authz","homepage":"","size":29,"stargazers_count":0,"watchers_count":0,"language":"Go","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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"open-policy-agent:master","ref":"master","sha":"674d7f55dfc8296d5806617fd46aed2b5bf4960c","user":{"login":"open-policy-agent","id":16468693,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDY4Njkz","avatar_url":"https://avatars3.githubusercontent.com/u/16468693?v=4","gravatar_id":"","url":"https://api.github.com/users/open-policy-agent","html_url":"https://github.com/open-policy-agent","followers_url":"https://api.github.com/users/open-policy-agent/followers","following_url":"https://api.github.com/users/open-policy-agent/following{/other_user}","gists_url":"https://api.github.com/users/open-policy-agent/gists{/gist_id}","starred_url":"https://api.github.com/users/open-policy-agent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-policy-agent/subscriptions","organizations_url":"https://api.github.com/users/open-policy-agent/orgs","repos_url":"https://api.github.com/users/open-policy-agent/repos","events_url":"https://api.github.com/users/open-policy-agent/events{/privacy}","received_events_url":"https://api.github.com/users/open-policy-agent/received_events","type":"Organization","site_admin":false},"repo":{"id":60713839,"node_id":"MDEwOlJlcG9zaXRvcnk2MDcxMzgzOQ==","name":"opa-docker-authz","full_name":"open-policy-agent/opa-docker-authz","owner":{"login":"open-policy-agent","id":16468693,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDY4Njkz","avatar_url":"https://avatars3.githubusercontent.com/u/16468693?v=4","gravatar_id":"","url":"https://api.github.com/users/open-policy-agent","html_url":"https://github.com/open-policy-agent","followers_url":"https://api.github.com/users/open-policy-agent/followers","following_url":"https://api.github.com/users/open-policy-agent/following{/other_user}","gists_url":"https://api.github.com/users/open-policy-agent/gists{/gist_id}","starred_url":"https://api.github.com/users/open-policy-agent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-policy-agent/subscriptions","organizations_url":"https://api.github.com/users/open-policy-agent/orgs","repos_url":"https://api.github.com/users/open-policy-agent/repos","events_url":"https://api.github.com/users/open-policy-agent/events{/privacy}","received_events_url":"https://api.github.com/users/open-policy-agent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-policy-agent/opa-docker-authz","description":"A policy-enabled authorization plugin for Docker.","fork":false,"url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz","forks_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/forks","keys_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/teams","hooks_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/hooks","issue_events_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/issues/events{/number}","events_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/events","assignees_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/assignees{/user}","branches_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/branches{/branch}","tags_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/tags","blobs_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/statuses/{sha}","languages_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/languages","stargazers_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/stargazers","contributors_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/contributors","subscribers_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/subscribers","subscription_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/subscription","commits_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/contents/{+path}","compare_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/merges","archive_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/downloads","issues_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/issues{/number}","pulls_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/pulls{/number}","milestones_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/milestones{/number}","notifications_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/labels{/name}","releases_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/releases{/id}","deployments_url":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/deployments","created_at":"2016-06-08T16:43:57Z","updated_at":"2018-06-07T14:45:50Z","pushed_at":"2018-07-30T15:51:40Z","git_url":"git://github.com/open-policy-agent/opa-docker-authz.git","ssh_url":"git@github.com:open-policy-agent/opa-docker-authz.git","clone_url":"https://github.com/open-policy-agent/opa-docker-authz.git","svn_url":"https://github.com/open-policy-agent/opa-docker-authz","homepage":"","size":24,"stargazers_count":9,"watchers_count":9,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":5,"open_issues":3,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/pulls/25"},"html":{"href":"https://github.com/open-policy-agent/opa-docker-authz/pull/25"},"issue":{"href":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/issues/25"},"comments":{"href":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/open-policy-agent/opa-docker-authz/statuses/fe243b5308f353b35fe1dee058ab9a7b5e94ab0c"}},"author_association":"NONE"}}
{"actor":{"display_login":"nbrownuk"}}