{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/comments/140074208","pull_request_review_id":64095184,"id":140074208,"diff_hunk":"@@ -207,4 +207,14 @@ def download(url, path=None, overwrite=False, sha1_hash=None):\n                 if chunk: # filter out keep-alive new chunks\n                     f.write(chunk)\n \n+        if sha1_hash and not check_sha1(fname, sha1_hash):\n+            raise UserWarning('File {} is downloaded but the content hash does not match. ' \\","path":"python/mxnet/gluon/utils.py","position":5,"original_position":5,"commit_id":"dae71feec231449d84a62079e9da5e35eacdfa22","original_commit_id":"dae71feec231449d84a62079e9da5e35eacdfa22","user":{"login":"szha","id":2626883,"avatar_url":"https://avatars2.githubusercontent.com/u/2626883?v=4","gravatar_id":"","url":"https://api.github.com/users/szha","html_url":"https://github.com/szha","followers_url":"https://api.github.com/users/szha/followers","following_url":"https://api.github.com/users/szha/following{/other_user}","gists_url":"https://api.github.com/users/szha/gists{/gist_id}","starred_url":"https://api.github.com/users/szha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szha/subscriptions","organizations_url":"https://api.github.com/users/szha/orgs","repos_url":"https://api.github.com/users/szha/repos","events_url":"https://api.github.com/users/szha/events{/privacy}","received_events_url":"https://api.github.com/users/szha/received_events","type":"User","site_admin":false},"body":"It will re-download next time. Also, deleting the file deprives the user of the chance to examine the file to find problems.","created_at":"2017-09-20T19:50:26Z","updated_at":"2017-09-20T19:50:27Z","html_url":"https://github.com/apache/incubator-mxnet/pull/7892#discussion_r140074208","pull_request_url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/7892","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/comments/140074208"},"html":{"href":"https://github.com/apache/incubator-mxnet/pull/7892#discussion_r140074208"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/7892"}},"in_reply_to_id":140072134},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/7892","id":140962601,"html_url":"https://github.com/apache/incubator-mxnet/pull/7892","diff_url":"https://github.com/apache/incubator-mxnet/pull/7892.diff","patch_url":"https://github.com/apache/incubator-mxnet/pull/7892.patch","issue_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/7892","number":7892,"state":"open","locked":false,"title":"allow users to specify repo url for downloadable contents","user":{"login":"szha","id":2626883,"avatar_url":"https://avatars2.githubusercontent.com/u/2626883?v=4","gravatar_id":"","url":"https://api.github.com/users/szha","html_url":"https://github.com/szha","followers_url":"https://api.github.com/users/szha/followers","following_url":"https://api.github.com/users/szha/following{/other_user}","gists_url":"https://api.github.com/users/szha/gists{/gist_id}","starred_url":"https://api.github.com/users/szha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szha/subscriptions","organizations_url":"https://api.github.com/users/szha/orgs","repos_url":"https://api.github.com/users/szha/repos","events_url":"https://api.github.com/users/szha/events{/privacy}","received_events_url":"https://api.github.com/users/szha/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-09-14T01:09:57Z","updated_at":"2017-09-20T19:50:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f48e526510a30dd366616c64a442353fcb9ef70","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mli","id":421857,"avatar_url":"https://avatars1.githubusercontent.com/u/421857?v=4","gravatar_id":"","url":"https://api.github.com/users/mli","html_url":"https://github.com/mli","followers_url":"https://api.github.com/users/mli/followers","following_url":"https://api.github.com/users/mli/following{/other_user}","gists_url":"https://api.github.com/users/mli/gists{/gist_id}","starred_url":"https://api.github.com/users/mli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mli/subscriptions","organizations_url":"https://api.github.com/users/mli/orgs","repos_url":"https://api.github.com/users/mli/repos","events_url":"https://api.github.com/users/mli/events{/privacy}","received_events_url":"https://api.github.com/users/mli/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/7892/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/7892/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/7892/comments","statuses_url":"https://api.github.com/repos/apache/incubator-mxnet/statuses/dae71feec231449d84a62079e9da5e35eacdfa22","head":{"label":"szha:repo","ref":"repo","sha":"dae71feec231449d84a62079e9da5e35eacdfa22","user":{"login":"szha","id":2626883,"avatar_url":"https://avatars2.githubusercontent.com/u/2626883?v=4","gravatar_id":"","url":"https://api.github.com/users/szha","html_url":"https://github.com/szha","followers_url":"https://api.github.com/users/szha/followers","following_url":"https://api.github.com/users/szha/following{/other_user}","gists_url":"https://api.github.com/users/szha/gists{/gist_id}","starred_url":"https://api.github.com/users/szha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szha/subscriptions","organizations_url":"https://api.github.com/users/szha/orgs","repos_url":"https://api.github.com/users/szha/repos","events_url":"https://api.github.com/users/szha/events{/privacy}","received_events_url":"https://api.github.com/users/szha/received_events","type":"User","site_admin":false},"repo":{"id":92538952,"name":"mxnet","full_name":"szha/mxnet","owner":{"login":"szha","id":2626883,"avatar_url":"https://avatars2.githubusercontent.com/u/2626883?v=4","gravatar_id":"","url":"https://api.github.com/users/szha","html_url":"https://github.com/szha","followers_url":"https://api.github.com/users/szha/followers","following_url":"https://api.github.com/users/szha/following{/other_user}","gists_url":"https://api.github.com/users/szha/gists{/gist_id}","starred_url":"https://api.github.com/users/szha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szha/subscriptions","organizations_url":"https://api.github.com/users/szha/orgs","repos_url":"https://api.github.com/users/szha/repos","events_url":"https://api.github.com/users/szha/events{/privacy}","received_events_url":"https://api.github.com/users/szha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/szha/mxnet","description":"Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more","fork":true,"url":"https://api.github.com/repos/szha/mxnet","forks_url":"https://api.github.com/repos/szha/mxnet/forks","keys_url":"https://api.github.com/repos/szha/mxnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/szha/mxnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/szha/mxnet/teams","hooks_url":"https://api.github.com/repos/szha/mxnet/hooks","issue_events_url":"https://api.github.com/repos/szha/mxnet/issues/events{/number}","events_url":"https://api.github.com/repos/szha/mxnet/events","assignees_url":"https://api.github.com/repos/szha/mxnet/assignees{/user}","branches_url":"https://api.github.com/repos/szha/mxnet/branches{/branch}","tags_url":"https://api.github.com/repos/szha/mxnet/tags","blobs_url":"https://api.github.com/repos/szha/mxnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/szha/mxnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/szha/mxnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/szha/mxnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/szha/mxnet/statuses/{sha}","languages_url":"https://api.github.com/repos/szha/mxnet/languages","stargazers_url":"https://api.github.com/repos/szha/mxnet/stargazers","contributors_url":"https://api.github.com/repos/szha/mxnet/contributors","subscribers_url":"https://api.github.com/repos/szha/mxnet/subscribers","subscription_url":"https://api.github.com/repos/szha/mxnet/subscription","commits_url":"https://api.github.com/repos/szha/mxnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/szha/mxnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/szha/mxnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/szha/mxnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/szha/mxnet/contents/{+path}","compare_url":"https://api.github.com/repos/szha/mxnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/szha/mxnet/merges","archive_url":"https://api.github.com/repos/szha/mxnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/szha/mxnet/downloads","issues_url":"https://api.github.com/repos/szha/mxnet/issues{/number}","pulls_url":"https://api.github.com/repos/szha/mxnet/pulls{/number}","milestones_url":"https://api.github.com/repos/szha/mxnet/milestones{/number}","notifications_url":"https://api.github.com/repos/szha/mxnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/szha/mxnet/labels{/name}","releases_url":"https://api.github.com/repos/szha/mxnet/releases{/id}","deployments_url":"https://api.github.com/repos/szha/mxnet/deployments","created_at":"2017-05-26T18:41:09Z","updated_at":"2017-09-11T05:32:44Z","pushed_at":"2017-09-20T19:33:03Z","git_url":"git://github.com/szha/mxnet.git","ssh_url":"git@github.com:szha/mxnet.git","clone_url":"https://github.com/szha/mxnet.git","svn_url":"https://github.com/szha/mxnet","homepage":"http://mxnet.io","size":21462,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"apache:master","ref":"master","sha":"065adb3702c110af7b537799be3ec9c16c27a72b","user":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":34864402,"name":"incubator-mxnet","full_name":"apache/incubator-mxnet","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-mxnet","description":"Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more","fork":false,"url":"https://api.github.com/repos/apache/incubator-mxnet","forks_url":"https://api.github.com/repos/apache/incubator-mxnet/forks","keys_url":"https://api.github.com/repos/apache/incubator-mxnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-mxnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-mxnet/teams","hooks_url":"https://api.github.com/repos/apache/incubator-mxnet/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-mxnet/events","assignees_url":"https://api.github.com/repos/apache/incubator-mxnet/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-mxnet/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-mxnet/tags","blobs_url":"https://api.github.com/repos/apache/incubator-mxnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-mxnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-mxnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-mxnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-mxnet/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-mxnet/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-mxnet/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-mxnet/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-mxnet/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-mxnet/subscription","commits_url":"https://api.github.com/repos/apache/incubator-mxnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-mxnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-mxnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-mxnet/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-mxnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-mxnet/merges","archive_url":"https://api.github.com/repos/apache/incubator-mxnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-mxnet/downloads","issues_url":"https://api.github.com/repos/apache/incubator-mxnet/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-mxnet/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-mxnet/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-mxnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-mxnet/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-mxnet/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-mxnet/deployments","created_at":"2015-04-30T16:21:15Z","updated_at":"2017-09-20T18:35:45Z","pushed_at":"2017-09-20T19:37:28Z","git_url":"git://github.com/apache/incubator-mxnet.git","ssh_url":"git@github.com:apache/incubator-mxnet.git","clone_url":"https://github.com/apache/incubator-mxnet.git","svn_url":"https://github.com/apache/incubator-mxnet","homepage":"http://mxnet.io","size":21393,"stargazers_count":11202,"watchers_count":11202,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4203,"mirror_url":null,"open_issues_count":2028,"forks":4203,"open_issues":2028,"watchers":11202,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/7892"},"html":{"href":"https://github.com/apache/incubator-mxnet/pull/7892"},"issue":{"href":"https://api.github.com/repos/apache/incubator-mxnet/issues/7892"},"comments":{"href":"https://api.github.com/repos/apache/incubator-mxnet/issues/7892/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/7892/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/7892/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-mxnet/statuses/dae71feec231449d84a62079e9da5e35eacdfa22"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"szha"}}