{"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/docker/migrator/pulls/32","id":44969076,"html_url":"https://github.com/docker/migrator/pull/32","diff_url":"https://github.com/docker/migrator/pull/32.diff","patch_url":"https://github.com/docker/migrator/pull/32.patch","issue_url":"https://api.github.com/repos/docker/migrator/issues/32","number":32,"state":"open","locked":false,"title":"set USE_INSECURE_CURL=true if you want curl to use -k/--insecure option","user":{"login":"dbogen","id":1891301,"avatar_url":"https://avatars.githubusercontent.com/u/1891301?v=3","gravatar_id":"","url":"https://api.github.com/users/dbogen","html_url":"https://github.com/dbogen","followers_url":"https://api.github.com/users/dbogen/followers","following_url":"https://api.github.com/users/dbogen/following{/other_user}","gists_url":"https://api.github.com/users/dbogen/gists{/gist_id}","starred_url":"https://api.github.com/users/dbogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbogen/subscriptions","organizations_url":"https://api.github.com/users/dbogen/orgs","repos_url":"https://api.github.com/users/dbogen/repos","events_url":"https://api.github.com/users/dbogen/events{/privacy}","received_events_url":"https://api.github.com/users/dbogen/received_events","type":"User","site_admin":false},"body":"While it is relatively easy to setup the docker daemon outside the migrator container to connect to a registry secured with an internal or private CA, the curl commands within migrator.sh remain stubbornly ignorant.\r\n\r\nThis PR lets a user set USE_INSECURE_CURL to pass the -k option to the curl commands within migrator.sh.  Passing -k skips certificate validation and lets the curl commands succeed.  Otherwise, they fail silently because curl fails certificate validation on a TLS server secured with an internal or private CA.","created_at":"2015-09-14T19:17:27Z","updated_at":"2015-09-14T19:17:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/migrator/pulls/32/commits","review_comments_url":"https://api.github.com/repos/docker/migrator/pulls/32/comments","review_comment_url":"https://api.github.com/repos/docker/migrator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/migrator/issues/32/comments","statuses_url":"https://api.github.com/repos/docker/migrator/statuses/e10e402d1089edea9d79dde1fd1cf0f2e0d6c533","head":{"label":"dbogen:master","ref":"master","sha":"e10e402d1089edea9d79dde1fd1cf0f2e0d6c533","user":{"login":"dbogen","id":1891301,"avatar_url":"https://avatars.githubusercontent.com/u/1891301?v=3","gravatar_id":"","url":"https://api.github.com/users/dbogen","html_url":"https://github.com/dbogen","followers_url":"https://api.github.com/users/dbogen/followers","following_url":"https://api.github.com/users/dbogen/following{/other_user}","gists_url":"https://api.github.com/users/dbogen/gists{/gist_id}","starred_url":"https://api.github.com/users/dbogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbogen/subscriptions","organizations_url":"https://api.github.com/users/dbogen/orgs","repos_url":"https://api.github.com/users/dbogen/repos","events_url":"https://api.github.com/users/dbogen/events{/privacy}","received_events_url":"https://api.github.com/users/dbogen/received_events","type":"User","site_admin":false},"repo":{"id":42469780,"name":"migrator","full_name":"dbogen/migrator","owner":{"login":"dbogen","id":1891301,"avatar_url":"https://avatars.githubusercontent.com/u/1891301?v=3","gravatar_id":"","url":"https://api.github.com/users/dbogen","html_url":"https://github.com/dbogen","followers_url":"https://api.github.com/users/dbogen/followers","following_url":"https://api.github.com/users/dbogen/following{/other_user}","gists_url":"https://api.github.com/users/dbogen/gists{/gist_id}","starred_url":"https://api.github.com/users/dbogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbogen/subscriptions","organizations_url":"https://api.github.com/users/dbogen/orgs","repos_url":"https://api.github.com/users/dbogen/repos","events_url":"https://api.github.com/users/dbogen/events{/privacy}","received_events_url":"https://api.github.com/users/dbogen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dbogen/migrator","description":"Tool to migrate Docker images from a v1 registry to a v2 registry","fork":true,"url":"https://api.github.com/repos/dbogen/migrator","forks_url":"https://api.github.com/repos/dbogen/migrator/forks","keys_url":"https://api.github.com/repos/dbogen/migrator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dbogen/migrator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dbogen/migrator/teams","hooks_url":"https://api.github.com/repos/dbogen/migrator/hooks","issue_events_url":"https://api.github.com/repos/dbogen/migrator/issues/events{/number}","events_url":"https://api.github.com/repos/dbogen/migrator/events","assignees_url":"https://api.github.com/repos/dbogen/migrator/assignees{/user}","branches_url":"https://api.github.com/repos/dbogen/migrator/branches{/branch}","tags_url":"https://api.github.com/repos/dbogen/migrator/tags","blobs_url":"https://api.github.com/repos/dbogen/migrator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dbogen/migrator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dbogen/migrator/git/refs{/sha}","trees_url":"https://api.github.com/repos/dbogen/migrator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dbogen/migrator/statuses/{sha}","languages_url":"https://api.github.com/repos/dbogen/migrator/languages","stargazers_url":"https://api.github.com/repos/dbogen/migrator/stargazers","contributors_url":"https://api.github.com/repos/dbogen/migrator/contributors","subscribers_url":"https://api.github.com/repos/dbogen/migrator/subscribers","subscription_url":"https://api.github.com/repos/dbogen/migrator/subscription","commits_url":"https://api.github.com/repos/dbogen/migrator/commits{/sha}","git_commits_url":"https://api.github.com/repos/dbogen/migrator/git/commits{/sha}","comments_url":"https://api.github.com/repos/dbogen/migrator/comments{/number}","issue_comment_url":"https://api.github.com/repos/dbogen/migrator/issues/comments{/number}","contents_url":"https://api.github.com/repos/dbogen/migrator/contents/{+path}","compare_url":"https://api.github.com/repos/dbogen/migrator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dbogen/migrator/merges","archive_url":"https://api.github.com/repos/dbogen/migrator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dbogen/migrator/downloads","issues_url":"https://api.github.com/repos/dbogen/migrator/issues{/number}","pulls_url":"https://api.github.com/repos/dbogen/migrator/pulls{/number}","milestones_url":"https://api.github.com/repos/dbogen/migrator/milestones{/number}","notifications_url":"https://api.github.com/repos/dbogen/migrator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dbogen/migrator/labels{/name}","releases_url":"https://api.github.com/repos/dbogen/migrator/releases{/id}","created_at":"2015-09-14T18:48:32Z","updated_at":"2015-09-14T18:48:32Z","pushed_at":"2015-09-14T19:11:57Z","git_url":"git://github.com/dbogen/migrator.git","ssh_url":"git@github.com:dbogen/migrator.git","clone_url":"https://github.com/dbogen/migrator.git","svn_url":"https://github.com/dbogen/migrator","homepage":"","size":276,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"921db688b497679f9d1fafd4d35d8fe89d60f7c9","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":39462953,"name":"migrator","full_name":"docker/migrator","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/migrator","description":"Tool to migrate Docker images from a v1 registry to a v2 registry","fork":false,"url":"https://api.github.com/repos/docker/migrator","forks_url":"https://api.github.com/repos/docker/migrator/forks","keys_url":"https://api.github.com/repos/docker/migrator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/migrator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/migrator/teams","hooks_url":"https://api.github.com/repos/docker/migrator/hooks","issue_events_url":"https://api.github.com/repos/docker/migrator/issues/events{/number}","events_url":"https://api.github.com/repos/docker/migrator/events","assignees_url":"https://api.github.com/repos/docker/migrator/assignees{/user}","branches_url":"https://api.github.com/repos/docker/migrator/branches{/branch}","tags_url":"https://api.github.com/repos/docker/migrator/tags","blobs_url":"https://api.github.com/repos/docker/migrator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/migrator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/migrator/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/migrator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/migrator/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/migrator/languages","stargazers_url":"https://api.github.com/repos/docker/migrator/stargazers","contributors_url":"https://api.github.com/repos/docker/migrator/contributors","subscribers_url":"https://api.github.com/repos/docker/migrator/subscribers","subscription_url":"https://api.github.com/repos/docker/migrator/subscription","commits_url":"https://api.github.com/repos/docker/migrator/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/migrator/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/migrator/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/migrator/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/migrator/contents/{+path}","compare_url":"https://api.github.com/repos/docker/migrator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/migrator/merges","archive_url":"https://api.github.com/repos/docker/migrator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/migrator/downloads","issues_url":"https://api.github.com/repos/docker/migrator/issues{/number}","pulls_url":"https://api.github.com/repos/docker/migrator/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/migrator/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/migrator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/migrator/labels{/name}","releases_url":"https://api.github.com/repos/docker/migrator/releases{/id}","created_at":"2015-07-21T18:33:19Z","updated_at":"2015-09-14T06:49:28Z","pushed_at":"2015-09-11T13:53:20Z","git_url":"git://github.com/docker/migrator.git","ssh_url":"git@github.com:docker/migrator.git","clone_url":"https://github.com/docker/migrator.git","svn_url":"https://github.com/docker/migrator","homepage":"","size":276,"stargazers_count":44,"watchers_count":44,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":4,"forks":12,"open_issues":4,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/migrator/pulls/32"},"html":{"href":"https://github.com/docker/migrator/pull/32"},"issue":{"href":"https://api.github.com/repos/docker/migrator/issues/32"},"comments":{"href":"https://api.github.com/repos/docker/migrator/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/migrator/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/migrator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/migrator/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/docker/migrator/statuses/e10e402d1089edea9d79dde1fd1cf0f2e0d6c533"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":4,"changed_files":1}}