{"action":"opened","number":2135,"pull_request":{"url":"https://api.github.com/repos/docker/machine/pulls/2135","id":49338599,"html_url":"https://github.com/docker/machine/pull/2135","diff_url":"https://github.com/docker/machine/pull/2135.diff","patch_url":"https://github.com/docker/machine/pull/2135.patch","issue_url":"https://api.github.com/repos/docker/machine/issues/2135","number":2135,"state":"open","locked":false,"title":"Fail gracefully when plugin binary implements outdated API","user":{"login":"janeczku","id":3813921,"avatar_url":"https://avatars.githubusercontent.com/u/3813921?v=3","gravatar_id":"","url":"https://api.github.com/users/janeczku","html_url":"https://github.com/janeczku","followers_url":"https://api.github.com/users/janeczku/followers","following_url":"https://api.github.com/users/janeczku/following{/other_user}","gists_url":"https://api.github.com/users/janeczku/gists{/gist_id}","starred_url":"https://api.github.com/users/janeczku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janeczku/subscriptions","organizations_url":"https://api.github.com/users/janeczku/orgs","repos_url":"https://api.github.com/users/janeczku/repos","events_url":"https://api.github.com/users/janeczku/events{/privacy}","received_events_url":"https://api.github.com/users/janeczku/received_events","type":"User","site_admin":false},"body":"Since drivers will (mostly) be distributed separately it is too be expected that the docker-machine and  plugin binaries on users systems might eventually get out-of-sync in regards to the API version they implement.\r\nE.g. after i upgraded to v0.5.0-rc4 today, docker-machine stopped working. Eventually i found out that this was caused by a third-party driver plugin that was built against v0.5.0-rc3 and didn't satisfy API methods introduced in rc4.\r\n\r\nThis patch makes sure  that docker-machine fails gracefully in case the driver binary API version is outdated.\r\n\r\nSigned-off-by: Jan Broer <janeczku@yahoo.de>","created_at":"2015-10-31T01:37:51Z","updated_at":"2015-10-31T01:37:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/machine/pulls/2135/commits","review_comments_url":"https://api.github.com/repos/docker/machine/pulls/2135/comments","review_comment_url":"https://api.github.com/repos/docker/machine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/machine/issues/2135/comments","statuses_url":"https://api.github.com/repos/docker/machine/statuses/e8e1b075a13d8a59f19ff63b6e08698ba4510143","head":{"label":"janeczku:plugin-versioning","ref":"plugin-versioning","sha":"e8e1b075a13d8a59f19ff63b6e08698ba4510143","user":{"login":"janeczku","id":3813921,"avatar_url":"https://avatars.githubusercontent.com/u/3813921?v=3","gravatar_id":"","url":"https://api.github.com/users/janeczku","html_url":"https://github.com/janeczku","followers_url":"https://api.github.com/users/janeczku/followers","following_url":"https://api.github.com/users/janeczku/following{/other_user}","gists_url":"https://api.github.com/users/janeczku/gists{/gist_id}","starred_url":"https://api.github.com/users/janeczku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janeczku/subscriptions","organizations_url":"https://api.github.com/users/janeczku/orgs","repos_url":"https://api.github.com/users/janeczku/repos","events_url":"https://api.github.com/users/janeczku/events{/privacy}","received_events_url":"https://api.github.com/users/janeczku/received_events","type":"User","site_admin":false},"repo":{"id":33388908,"name":"machine","full_name":"janeczku/machine","owner":{"login":"janeczku","id":3813921,"avatar_url":"https://avatars.githubusercontent.com/u/3813921?v=3","gravatar_id":"","url":"https://api.github.com/users/janeczku","html_url":"https://github.com/janeczku","followers_url":"https://api.github.com/users/janeczku/followers","following_url":"https://api.github.com/users/janeczku/following{/other_user}","gists_url":"https://api.github.com/users/janeczku/gists{/gist_id}","starred_url":"https://api.github.com/users/janeczku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janeczku/subscriptions","organizations_url":"https://api.github.com/users/janeczku/orgs","repos_url":"https://api.github.com/users/janeczku/repos","events_url":"https://api.github.com/users/janeczku/events{/privacy}","received_events_url":"https://api.github.com/users/janeczku/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/janeczku/machine","description":"Machine management for a container-centric world","fork":true,"url":"https://api.github.com/repos/janeczku/machine","forks_url":"https://api.github.com/repos/janeczku/machine/forks","keys_url":"https://api.github.com/repos/janeczku/machine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/janeczku/machine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/janeczku/machine/teams","hooks_url":"https://api.github.com/repos/janeczku/machine/hooks","issue_events_url":"https://api.github.com/repos/janeczku/machine/issues/events{/number}","events_url":"https://api.github.com/repos/janeczku/machine/events","assignees_url":"https://api.github.com/repos/janeczku/machine/assignees{/user}","branches_url":"https://api.github.com/repos/janeczku/machine/branches{/branch}","tags_url":"https://api.github.com/repos/janeczku/machine/tags","blobs_url":"https://api.github.com/repos/janeczku/machine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/janeczku/machine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/janeczku/machine/git/refs{/sha}","trees_url":"https://api.github.com/repos/janeczku/machine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/janeczku/machine/statuses/{sha}","languages_url":"https://api.github.com/repos/janeczku/machine/languages","stargazers_url":"https://api.github.com/repos/janeczku/machine/stargazers","contributors_url":"https://api.github.com/repos/janeczku/machine/contributors","subscribers_url":"https://api.github.com/repos/janeczku/machine/subscribers","subscription_url":"https://api.github.com/repos/janeczku/machine/subscription","commits_url":"https://api.github.com/repos/janeczku/machine/commits{/sha}","git_commits_url":"https://api.github.com/repos/janeczku/machine/git/commits{/sha}","comments_url":"https://api.github.com/repos/janeczku/machine/comments{/number}","issue_comment_url":"https://api.github.com/repos/janeczku/machine/issues/comments{/number}","contents_url":"https://api.github.com/repos/janeczku/machine/contents/{+path}","compare_url":"https://api.github.com/repos/janeczku/machine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/janeczku/machine/merges","archive_url":"https://api.github.com/repos/janeczku/machine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/janeczku/machine/downloads","issues_url":"https://api.github.com/repos/janeczku/machine/issues{/number}","pulls_url":"https://api.github.com/repos/janeczku/machine/pulls{/number}","milestones_url":"https://api.github.com/repos/janeczku/machine/milestones{/number}","notifications_url":"https://api.github.com/repos/janeczku/machine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/janeczku/machine/labels{/name}","releases_url":"https://api.github.com/repos/janeczku/machine/releases{/id}","created_at":"2015-04-04T00:27:10Z","updated_at":"2015-04-09T00:26:55Z","pushed_at":"2015-10-31T01:09:42Z","git_url":"git://github.com/janeczku/machine.git","ssh_url":"git@github.com:janeczku/machine.git","clone_url":"https://github.com/janeczku/machine.git","svn_url":"https://github.com/janeczku/machine","homepage":"https://docs.docker.com/machine/","size":8640,"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":"721f39d4af3670d9d4515ee9e373fe0bfc6ca221","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":27494663,"name":"machine","full_name":"docker/machine","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/machine","description":"Machine management for a container-centric world","fork":false,"url":"https://api.github.com/repos/docker/machine","forks_url":"https://api.github.com/repos/docker/machine/forks","keys_url":"https://api.github.com/repos/docker/machine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/machine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/machine/teams","hooks_url":"https://api.github.com/repos/docker/machine/hooks","issue_events_url":"https://api.github.com/repos/docker/machine/issues/events{/number}","events_url":"https://api.github.com/repos/docker/machine/events","assignees_url":"https://api.github.com/repos/docker/machine/assignees{/user}","branches_url":"https://api.github.com/repos/docker/machine/branches{/branch}","tags_url":"https://api.github.com/repos/docker/machine/tags","blobs_url":"https://api.github.com/repos/docker/machine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/machine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/machine/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/machine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/machine/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/machine/languages","stargazers_url":"https://api.github.com/repos/docker/machine/stargazers","contributors_url":"https://api.github.com/repos/docker/machine/contributors","subscribers_url":"https://api.github.com/repos/docker/machine/subscribers","subscription_url":"https://api.github.com/repos/docker/machine/subscription","commits_url":"https://api.github.com/repos/docker/machine/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/machine/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/machine/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/machine/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/machine/contents/{+path}","compare_url":"https://api.github.com/repos/docker/machine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/machine/merges","archive_url":"https://api.github.com/repos/docker/machine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/machine/downloads","issues_url":"https://api.github.com/repos/docker/machine/issues{/number}","pulls_url":"https://api.github.com/repos/docker/machine/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/machine/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/machine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/machine/labels{/name}","releases_url":"https://api.github.com/repos/docker/machine/releases{/id}","created_at":"2014-12-03T15:52:06Z","updated_at":"2015-10-30T16:27:08Z","pushed_at":"2015-10-31T01:37:51Z","git_url":"git://github.com/docker/machine.git","ssh_url":"git@github.com:docker/machine.git","clone_url":"https://github.com/docker/machine.git","svn_url":"https://github.com/docker/machine","homepage":"https://docs.docker.com/machine/","size":40041,"stargazers_count":2612,"watchers_count":2612,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":572,"mirror_url":null,"open_issues_count":391,"forks":572,"open_issues":391,"watchers":2612,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/machine/pulls/2135"},"html":{"href":"https://github.com/docker/machine/pull/2135"},"issue":{"href":"https://api.github.com/repos/docker/machine/issues/2135"},"comments":{"href":"https://api.github.com/repos/docker/machine/issues/2135/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/machine/pulls/2135/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/machine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/machine/pulls/2135/commits"},"statuses":{"href":"https://api.github.com/repos/docker/machine/statuses/e8e1b075a13d8a59f19ff63b6e08698ba4510143"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":3,"changed_files":2}}