{"action":"created","comment":{"url":"https://api.github.com/repos/SUSE/azurectl/pulls/comments/74958911","id":74958911,"diff_hunk":"@@ -222,6 +224,14 @@ def reboot_instance(\n                 '%s: %s' % (type(e).__name__, format(e))\n             )\n \n+    def validate_custom_data_length(self, custom_data):","path":"azurectl/instance/virtual_machine.py","position":20,"original_position":20,"commit_id":"0aa01390aee92f99bf88e2949b081eac702bfa43","original_commit_id":"0aa01390aee92f99bf88e2949b081eac702bfa43","user":{"login":"bear454","id":108494,"avatar_url":"https://avatars.githubusercontent.com/u/108494?v=3","gravatar_id":"","url":"https://api.github.com/users/bear454","html_url":"https://github.com/bear454","followers_url":"https://api.github.com/users/bear454/followers","following_url":"https://api.github.com/users/bear454/following{/other_user}","gists_url":"https://api.github.com/users/bear454/gists{/gist_id}","starred_url":"https://api.github.com/users/bear454/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bear454/subscriptions","organizations_url":"https://api.github.com/users/bear454/orgs","repos_url":"https://api.github.com/users/bear454/repos","events_url":"https://api.github.com/users/bear454/events{/privacy}","received_events_url":"https://api.github.com/users/bear454/received_events","type":"User","site_admin":false},"body":"It can be private; I just don't really like all the underscores.","created_at":"2016-08-16T15:31:05Z","updated_at":"2016-08-16T15:31:05Z","html_url":"https://github.com/SUSE/azurectl/pull/182#discussion_r74958911","pull_request_url":"https://api.github.com/repos/SUSE/azurectl/pulls/182","_links":{"self":{"href":"https://api.github.com/repos/SUSE/azurectl/pulls/comments/74958911"},"html":{"href":"https://github.com/SUSE/azurectl/pull/182#discussion_r74958911"},"pull_request":{"href":"https://api.github.com/repos/SUSE/azurectl/pulls/182"}}},"pull_request":{"url":"https://api.github.com/repos/SUSE/azurectl/pulls/182","id":81390481,"html_url":"https://github.com/SUSE/azurectl/pull/182","diff_url":"https://github.com/SUSE/azurectl/pull/182.diff","patch_url":"https://github.com/SUSE/azurectl/pull/182.patch","issue_url":"https://api.github.com/repos/SUSE/azurectl/issues/182","number":182,"state":"open","locked":false,"title":"Handle custom data via file or string on vm creation","user":{"login":"bear454","id":108494,"avatar_url":"https://avatars.githubusercontent.com/u/108494?v=3","gravatar_id":"","url":"https://api.github.com/users/bear454","html_url":"https://github.com/bear454","followers_url":"https://api.github.com/users/bear454/followers","following_url":"https://api.github.com/users/bear454/following{/other_user}","gists_url":"https://api.github.com/users/bear454/gists{/gist_id}","starred_url":"https://api.github.com/users/bear454/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bear454/subscriptions","organizations_url":"https://api.github.com/users/bear454/orgs","repos_url":"https://api.github.com/users/bear454/repos","events_url":"https://api.github.com/users/bear454/events{/privacy}","received_events_url":"https://api.github.com/users/bear454/received_events","type":"User","site_admin":false},"body":"re: https://github.com/SUSE/azurectl/issues/177\r\n\r\nAlso resolves an issue with double-encoding of customdata - the custom\r\ndata supplied _should not_ be base64-encoded; this is handled by the\r\nAPI.","created_at":"2016-08-15T23:04:40Z","updated_at":"2016-08-16T15:31:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9e5f6b65793102d658c17eded4b7b8d0cf9b675","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/SUSE/azurectl/pulls/182/commits","review_comments_url":"https://api.github.com/repos/SUSE/azurectl/pulls/182/comments","review_comment_url":"https://api.github.com/repos/SUSE/azurectl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SUSE/azurectl/issues/182/comments","statuses_url":"https://api.github.com/repos/SUSE/azurectl/statuses/0aa01390aee92f99bf88e2949b081eac702bfa43","head":{"label":"SUSE:customdata-file","ref":"customdata-file","sha":"0aa01390aee92f99bf88e2949b081eac702bfa43","user":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":28909858,"name":"azurectl","full_name":"SUSE/azurectl","owner":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SUSE/azurectl","description":"Command Line Interface to manage Azure services","fork":false,"url":"https://api.github.com/repos/SUSE/azurectl","forks_url":"https://api.github.com/repos/SUSE/azurectl/forks","keys_url":"https://api.github.com/repos/SUSE/azurectl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SUSE/azurectl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SUSE/azurectl/teams","hooks_url":"https://api.github.com/repos/SUSE/azurectl/hooks","issue_events_url":"https://api.github.com/repos/SUSE/azurectl/issues/events{/number}","events_url":"https://api.github.com/repos/SUSE/azurectl/events","assignees_url":"https://api.github.com/repos/SUSE/azurectl/assignees{/user}","branches_url":"https://api.github.com/repos/SUSE/azurectl/branches{/branch}","tags_url":"https://api.github.com/repos/SUSE/azurectl/tags","blobs_url":"https://api.github.com/repos/SUSE/azurectl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SUSE/azurectl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SUSE/azurectl/git/refs{/sha}","trees_url":"https://api.github.com/repos/SUSE/azurectl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SUSE/azurectl/statuses/{sha}","languages_url":"https://api.github.com/repos/SUSE/azurectl/languages","stargazers_url":"https://api.github.com/repos/SUSE/azurectl/stargazers","contributors_url":"https://api.github.com/repos/SUSE/azurectl/contributors","subscribers_url":"https://api.github.com/repos/SUSE/azurectl/subscribers","subscription_url":"https://api.github.com/repos/SUSE/azurectl/subscription","commits_url":"https://api.github.com/repos/SUSE/azurectl/commits{/sha}","git_commits_url":"https://api.github.com/repos/SUSE/azurectl/git/commits{/sha}","comments_url":"https://api.github.com/repos/SUSE/azurectl/comments{/number}","issue_comment_url":"https://api.github.com/repos/SUSE/azurectl/issues/comments{/number}","contents_url":"https://api.github.com/repos/SUSE/azurectl/contents/{+path}","compare_url":"https://api.github.com/repos/SUSE/azurectl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SUSE/azurectl/merges","archive_url":"https://api.github.com/repos/SUSE/azurectl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SUSE/azurectl/downloads","issues_url":"https://api.github.com/repos/SUSE/azurectl/issues{/number}","pulls_url":"https://api.github.com/repos/SUSE/azurectl/pulls{/number}","milestones_url":"https://api.github.com/repos/SUSE/azurectl/milestones{/number}","notifications_url":"https://api.github.com/repos/SUSE/azurectl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SUSE/azurectl/labels{/name}","releases_url":"https://api.github.com/repos/SUSE/azurectl/releases{/id}","deployments_url":"https://api.github.com/repos/SUSE/azurectl/deployments","created_at":"2015-01-07T10:28:59Z","updated_at":"2016-08-03T15:35:11Z","pushed_at":"2016-08-16T14:24:41Z","git_url":"git://github.com/SUSE/azurectl.git","ssh_url":"git@github.com:SUSE/azurectl.git","clone_url":"https://github.com/SUSE/azurectl.git","svn_url":"https://github.com/SUSE/azurectl","homepage":null,"size":945,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":7,"default_branch":"master"}},"base":{"label":"SUSE:master","ref":"master","sha":"3d6bd23235dfff8ed62c5441ca8a747235ada935","user":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":28909858,"name":"azurectl","full_name":"SUSE/azurectl","owner":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SUSE/azurectl","description":"Command Line Interface to manage Azure services","fork":false,"url":"https://api.github.com/repos/SUSE/azurectl","forks_url":"https://api.github.com/repos/SUSE/azurectl/forks","keys_url":"https://api.github.com/repos/SUSE/azurectl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SUSE/azurectl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SUSE/azurectl/teams","hooks_url":"https://api.github.com/repos/SUSE/azurectl/hooks","issue_events_url":"https://api.github.com/repos/SUSE/azurectl/issues/events{/number}","events_url":"https://api.github.com/repos/SUSE/azurectl/events","assignees_url":"https://api.github.com/repos/SUSE/azurectl/assignees{/user}","branches_url":"https://api.github.com/repos/SUSE/azurectl/branches{/branch}","tags_url":"https://api.github.com/repos/SUSE/azurectl/tags","blobs_url":"https://api.github.com/repos/SUSE/azurectl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SUSE/azurectl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SUSE/azurectl/git/refs{/sha}","trees_url":"https://api.github.com/repos/SUSE/azurectl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SUSE/azurectl/statuses/{sha}","languages_url":"https://api.github.com/repos/SUSE/azurectl/languages","stargazers_url":"https://api.github.com/repos/SUSE/azurectl/stargazers","contributors_url":"https://api.github.com/repos/SUSE/azurectl/contributors","subscribers_url":"https://api.github.com/repos/SUSE/azurectl/subscribers","subscription_url":"https://api.github.com/repos/SUSE/azurectl/subscription","commits_url":"https://api.github.com/repos/SUSE/azurectl/commits{/sha}","git_commits_url":"https://api.github.com/repos/SUSE/azurectl/git/commits{/sha}","comments_url":"https://api.github.com/repos/SUSE/azurectl/comments{/number}","issue_comment_url":"https://api.github.com/repos/SUSE/azurectl/issues/comments{/number}","contents_url":"https://api.github.com/repos/SUSE/azurectl/contents/{+path}","compare_url":"https://api.github.com/repos/SUSE/azurectl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SUSE/azurectl/merges","archive_url":"https://api.github.com/repos/SUSE/azurectl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SUSE/azurectl/downloads","issues_url":"https://api.github.com/repos/SUSE/azurectl/issues{/number}","pulls_url":"https://api.github.com/repos/SUSE/azurectl/pulls{/number}","milestones_url":"https://api.github.com/repos/SUSE/azurectl/milestones{/number}","notifications_url":"https://api.github.com/repos/SUSE/azurectl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SUSE/azurectl/labels{/name}","releases_url":"https://api.github.com/repos/SUSE/azurectl/releases{/id}","deployments_url":"https://api.github.com/repos/SUSE/azurectl/deployments","created_at":"2015-01-07T10:28:59Z","updated_at":"2016-08-03T15:35:11Z","pushed_at":"2016-08-16T14:24:41Z","git_url":"git://github.com/SUSE/azurectl.git","ssh_url":"git@github.com:SUSE/azurectl.git","clone_url":"https://github.com/SUSE/azurectl.git","svn_url":"https://github.com/SUSE/azurectl","homepage":null,"size":945,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SUSE/azurectl/pulls/182"},"html":{"href":"https://github.com/SUSE/azurectl/pull/182"},"issue":{"href":"https://api.github.com/repos/SUSE/azurectl/issues/182"},"comments":{"href":"https://api.github.com/repos/SUSE/azurectl/issues/182/comments"},"review_comments":{"href":"https://api.github.com/repos/SUSE/azurectl/pulls/182/comments"},"review_comment":{"href":"https://api.github.com/repos/SUSE/azurectl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SUSE/azurectl/pulls/182/commits"},"statuses":{"href":"https://api.github.com/repos/SUSE/azurectl/statuses/0aa01390aee92f99bf88e2949b081eac702bfa43"}}}}
{"actor":{"display_login":"bear454"}}