{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-cli/pulls/comments/169735697","pull_request_review_id":98310177,"id":169735697,"diff_hunk":"@@ -291,35 +294,35 @@ def _delete_blob(blob_name):\n     return [_delete_blob(blob) for blob in source_blobs]\n \n \n-def _copy_blob_to_blob_container(blob_service, source_blob_service, destination_container,\n+def _copy_blob_to_blob_container(blob_service, source_blob_service, destination_container, destination_path,\n                                  source_container, source_sas, source_blob_name):\n     from azure.common import AzureException\n     source_blob_url = source_blob_service.make_blob_url(source_container, encode_for_url(source_blob_name),\n                                                         sas_token=source_sas)\n-\n+    destination_blob_name = create_normalized_blob_file_path(destination_path, source_blob_name)","path":"src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/operations/blob.py","position":97,"original_position":97,"commit_id":"8ed51364d0b9b2b77dabe0f9ae49287683d5b8df","original_commit_id":"8ed51364d0b9b2b77dabe0f9ae49287683d5b8df","user":{"login":"troydai","id":1329240,"avatar_url":"https://avatars2.githubusercontent.com/u/1329240?v=4","gravatar_id":"","url":"https://api.github.com/users/troydai","html_url":"https://github.com/troydai","followers_url":"https://api.github.com/users/troydai/followers","following_url":"https://api.github.com/users/troydai/following{/other_user}","gists_url":"https://api.github.com/users/troydai/gists{/gist_id}","starred_url":"https://api.github.com/users/troydai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troydai/subscriptions","organizations_url":"https://api.github.com/users/troydai/orgs","repos_url":"https://api.github.com/users/troydai/repos","events_url":"https://api.github.com/users/troydai/events{/privacy}","received_events_url":"https://api.github.com/users/troydai/received_events","type":"User","site_admin":false},"body":"`create_normalized_blob_file_path` => `normalize_blob_name`","created_at":"2018-02-21T18:35:25Z","updated_at":"2018-02-21T18:53:43Z","html_url":"https://github.com/Azure/azure-cli/pull/5620#discussion_r169735697","pull_request_url":"https://api.github.com/repos/Azure/azure-cli/pulls/5620","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/comments/169735697"},"html":{"href":"https://github.com/Azure/azure-cli/pull/5620#discussion_r169735697"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/5620"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-cli/pulls/5620","id":170364264,"html_url":"https://github.com/Azure/azure-cli/pull/5620","diff_url":"https://github.com/Azure/azure-cli/pull/5620.diff","patch_url":"https://github.com/Azure/azure-cli/pull/5620.patch","issue_url":"https://api.github.com/repos/Azure/azure-cli/issues/5620","number":5620,"state":"open","locked":false,"title":"Enable adding destination path to storage upload/copy batch commands.","user":{"login":"williexu","id":8580552,"avatar_url":"https://avatars2.githubusercontent.com/u/8580552?v=4","gravatar_id":"","url":"https://api.github.com/users/williexu","html_url":"https://github.com/williexu","followers_url":"https://api.github.com/users/williexu/followers","following_url":"https://api.github.com/users/williexu/following{/other_user}","gists_url":"https://api.github.com/users/williexu/gists{/gist_id}","starred_url":"https://api.github.com/users/williexu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williexu/subscriptions","organizations_url":"https://api.github.com/users/williexu/orgs","repos_url":"https://api.github.com/users/williexu/repos","events_url":"https://api.github.com/users/williexu/events{/privacy}","received_events_url":"https://api.github.com/users/williexu/received_events","type":"User","site_admin":false},"body":"---\r\nCloses: https://github.com/Azure/azure-cli/issues/5577\r\n-also normalize paths to improve some displayed results\r\n\r\nThis checklist is used to make sure that common guidelines for a pull request are followed.\r\n\r\n### General Guidelines\r\n\r\n- [ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see [Modifying change log](https://github.com/Azure/azure-cli/tree/master/doc/authoring_command_modules#modify-change-log)).\r\n\r\n### Command Guidelines\r\n\r\n- [ ] Each command and parameter has a meaningful description.\r\n- [ ] Each new command has a test.\r\n\r\n(see [Authoring Command Modules](https://github.com/Azure/azure-cli/tree/master/doc/authoring_command_modules))\r\n","created_at":"2018-02-21T02:47:21Z","updated_at":"2018-02-21T18:53:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4350c2cd363ef0b27fa19e732042362083b7523b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-cli/pulls/5620/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-cli/pulls/5620/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-cli/issues/5620/comments","statuses_url":"https://api.github.com/repos/Azure/azure-cli/statuses/8ed51364d0b9b2b77dabe0f9ae49287683d5b8df","head":{"label":"williexu:batchpath","ref":"batchpath","sha":"8ed51364d0b9b2b77dabe0f9ae49287683d5b8df","user":{"login":"williexu","id":8580552,"avatar_url":"https://avatars2.githubusercontent.com/u/8580552?v=4","gravatar_id":"","url":"https://api.github.com/users/williexu","html_url":"https://github.com/williexu","followers_url":"https://api.github.com/users/williexu/followers","following_url":"https://api.github.com/users/williexu/following{/other_user}","gists_url":"https://api.github.com/users/williexu/gists{/gist_id}","starred_url":"https://api.github.com/users/williexu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williexu/subscriptions","organizations_url":"https://api.github.com/users/williexu/orgs","repos_url":"https://api.github.com/users/williexu/repos","events_url":"https://api.github.com/users/williexu/events{/privacy}","received_events_url":"https://api.github.com/users/williexu/received_events","type":"User","site_admin":false},"repo":{"id":100400046,"name":"azure-cli","full_name":"williexu/azure-cli","owner":{"login":"williexu","id":8580552,"avatar_url":"https://avatars2.githubusercontent.com/u/8580552?v=4","gravatar_id":"","url":"https://api.github.com/users/williexu","html_url":"https://github.com/williexu","followers_url":"https://api.github.com/users/williexu/followers","following_url":"https://api.github.com/users/williexu/following{/other_user}","gists_url":"https://api.github.com/users/williexu/gists{/gist_id}","starred_url":"https://api.github.com/users/williexu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williexu/subscriptions","organizations_url":"https://api.github.com/users/williexu/orgs","repos_url":"https://api.github.com/users/williexu/repos","events_url":"https://api.github.com/users/williexu/events{/privacy}","received_events_url":"https://api.github.com/users/williexu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/williexu/azure-cli","description":"Command-line tools for Azure.","fork":true,"url":"https://api.github.com/repos/williexu/azure-cli","forks_url":"https://api.github.com/repos/williexu/azure-cli/forks","keys_url":"https://api.github.com/repos/williexu/azure-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/williexu/azure-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/williexu/azure-cli/teams","hooks_url":"https://api.github.com/repos/williexu/azure-cli/hooks","issue_events_url":"https://api.github.com/repos/williexu/azure-cli/issues/events{/number}","events_url":"https://api.github.com/repos/williexu/azure-cli/events","assignees_url":"https://api.github.com/repos/williexu/azure-cli/assignees{/user}","branches_url":"https://api.github.com/repos/williexu/azure-cli/branches{/branch}","tags_url":"https://api.github.com/repos/williexu/azure-cli/tags","blobs_url":"https://api.github.com/repos/williexu/azure-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/williexu/azure-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/williexu/azure-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/williexu/azure-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/williexu/azure-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/williexu/azure-cli/languages","stargazers_url":"https://api.github.com/repos/williexu/azure-cli/stargazers","contributors_url":"https://api.github.com/repos/williexu/azure-cli/contributors","subscribers_url":"https://api.github.com/repos/williexu/azure-cli/subscribers","subscription_url":"https://api.github.com/repos/williexu/azure-cli/subscription","commits_url":"https://api.github.com/repos/williexu/azure-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/williexu/azure-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/williexu/azure-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/williexu/azure-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/williexu/azure-cli/contents/{+path}","compare_url":"https://api.github.com/repos/williexu/azure-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/williexu/azure-cli/merges","archive_url":"https://api.github.com/repos/williexu/azure-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/williexu/azure-cli/downloads","issues_url":"https://api.github.com/repos/williexu/azure-cli/issues{/number}","pulls_url":"https://api.github.com/repos/williexu/azure-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/williexu/azure-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/williexu/azure-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/williexu/azure-cli/labels{/name}","releases_url":"https://api.github.com/repos/williexu/azure-cli/releases{/id}","deployments_url":"https://api.github.com/repos/williexu/azure-cli/deployments","created_at":"2017-08-15T17:03:52Z","updated_at":"2017-08-15T17:03:59Z","pushed_at":"2018-02-21T02:32:05Z","git_url":"git://github.com/williexu/azure-cli.git","ssh_url":"git@github.com:williexu/azure-cli.git","clone_url":"https://github.com/williexu/azure-cli.git","svn_url":"https://github.com/williexu/azure-cli","homepage":null,"size":36777,"stargazers_count":0,"watchers_count":0,"language":"Python","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:dev","ref":"dev","sha":"7791a64daed96ac38f1db5b4718ae14d01383de7","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":51040886,"name":"azure-cli","full_name":"Azure/azure-cli","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-cli","description":"Command-line tools for Azure.","fork":false,"url":"https://api.github.com/repos/Azure/azure-cli","forks_url":"https://api.github.com/repos/Azure/azure-cli/forks","keys_url":"https://api.github.com/repos/Azure/azure-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-cli/teams","hooks_url":"https://api.github.com/repos/Azure/azure-cli/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-cli/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-cli/events","assignees_url":"https://api.github.com/repos/Azure/azure-cli/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-cli/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-cli/tags","blobs_url":"https://api.github.com/repos/Azure/azure-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-cli/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-cli/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-cli/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-cli/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-cli/subscription","commits_url":"https://api.github.com/repos/Azure/azure-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-cli/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-cli/merges","archive_url":"https://api.github.com/repos/Azure/azure-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-cli/downloads","issues_url":"https://api.github.com/repos/Azure/azure-cli/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-cli/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-cli/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-cli/deployments","created_at":"2016-02-04T00:21:51Z","updated_at":"2018-02-21T09:09:00Z","pushed_at":"2018-02-21T18:53:36Z","git_url":"git://github.com/Azure/azure-cli.git","ssh_url":"git@github.com:Azure/azure-cli.git","clone_url":"https://github.com/Azure/azure-cli.git","svn_url":"https://github.com/Azure/azure-cli","homepage":null,"size":36532,"stargazers_count":673,"watchers_count":673,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":387,"mirror_url":null,"archived":false,"open_issues_count":657,"license":null,"forks":387,"open_issues":657,"watchers":673,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/5620"},"html":{"href":"https://github.com/Azure/azure-cli/pull/5620"},"issue":{"href":"https://api.github.com/repos/Azure/azure-cli/issues/5620"},"comments":{"href":"https://api.github.com/repos/Azure/azure-cli/issues/5620/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/5620/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/5620/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-cli/statuses/8ed51364d0b9b2b77dabe0f9ae49287683d5b8df"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"troydai"}}