{"action":"created","comment":{"url":"https://api.github.com/repos/codalab/codalab-cli/pulls/comments/73636839","id":73636839,"diff_hunk":"@@ -742,6 +742,11 @@ def update_bundle(self, bundle, update, connection=None):\n         # Apply the column and metadata updates in memory and validate the result.\n         metadata_update = update.pop('metadata', {})\n         bundle.update_in_memory(update)\n+\n+        # Make individual tags out of space separated words\n+        if metadata_update.has_key('tags'):\n+            metadata_update['tags'] = metadata_update['tags'].split()\n+","path":"codalab/model/bundle_model.py","position":8,"original_position":8,"commit_id":"4c7961df3c460ddeac06127bd22261d3b156260b","original_commit_id":"4c7961df3c460ddeac06127bd22261d3b156260b","user":{"login":"karandesai-96","id":10494087,"avatar_url":"https://avatars.githubusercontent.com/u/10494087?v=3","gravatar_id":"","url":"https://api.github.com/users/karandesai-96","html_url":"https://github.com/karandesai-96","followers_url":"https://api.github.com/users/karandesai-96/followers","following_url":"https://api.github.com/users/karandesai-96/following{/other_user}","gists_url":"https://api.github.com/users/karandesai-96/gists{/gist_id}","starred_url":"https://api.github.com/users/karandesai-96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karandesai-96/subscriptions","organizations_url":"https://api.github.com/users/karandesai-96/orgs","repos_url":"https://api.github.com/users/karandesai-96/repos","events_url":"https://api.github.com/users/karandesai-96/events{/privacy}","received_events_url":"https://api.github.com/users/karandesai-96/received_events","type":"User","site_admin":false},"body":"Hi @kashizui:\r\nPlease have a look, I think worksheet should work, but I am a little confused about the bundle tags as they were not explicitly mentioned like worksheet. I did some back tracing and checked out bundle metadata schema. I had an intuition that this method is the point where manipulation done, would set things right further. I'm not completely certain.","created_at":"2016-08-05T03:12:26Z","updated_at":"2016-08-05T03:12:26Z","html_url":"https://github.com/codalab/codalab-cli/pull/557#discussion_r73636839","pull_request_url":"https://api.github.com/repos/codalab/codalab-cli/pulls/557","_links":{"self":{"href":"https://api.github.com/repos/codalab/codalab-cli/pulls/comments/73636839"},"html":{"href":"https://github.com/codalab/codalab-cli/pull/557#discussion_r73636839"},"pull_request":{"href":"https://api.github.com/repos/codalab/codalab-cli/pulls/557"}}},"pull_request":{"url":"https://api.github.com/repos/codalab/codalab-cli/pulls/557","id":80182689,"html_url":"https://github.com/codalab/codalab-cli/pull/557","diff_url":"https://github.com/codalab/codalab-cli/pull/557.diff","patch_url":"https://github.com/codalab/codalab-cli/pull/557.patch","issue_url":"https://api.github.com/repos/codalab/codalab-cli/issues/557","number":557,"state":"open","locked":false,"title":"Split space separated words in metadata 'tag' entry to individual tags.","user":{"login":"karandesai-96","id":10494087,"avatar_url":"https://avatars.githubusercontent.com/u/10494087?v=3","gravatar_id":"","url":"https://api.github.com/users/karandesai-96","html_url":"https://github.com/karandesai-96","followers_url":"https://api.github.com/users/karandesai-96/followers","following_url":"https://api.github.com/users/karandesai-96/following{/other_user}","gists_url":"https://api.github.com/users/karandesai-96/gists{/gist_id}","starred_url":"https://api.github.com/users/karandesai-96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karandesai-96/subscriptions","organizations_url":"https://api.github.com/users/karandesai-96/orgs","repos_url":"https://api.github.com/users/karandesai-96/repos","events_url":"https://api.github.com/users/karandesai-96/events{/privacy}","received_events_url":"https://api.github.com/users/karandesai-96/received_events","type":"User","site_admin":false},"body":"This PR is a fix for #336. Providing space separated tags through CLI automatically considered them as individual tags. With this PR, space separated words entered through web interface would be separated into individual tags.","created_at":"2016-08-05T03:09:21Z","updated_at":"2016-08-05T03:12:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a00e900585e8a6658bf0d1805b1901e5bc49f58","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/codalab/codalab-cli/pulls/557/commits","review_comments_url":"https://api.github.com/repos/codalab/codalab-cli/pulls/557/comments","review_comment_url":"https://api.github.com/repos/codalab/codalab-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codalab/codalab-cli/issues/557/comments","statuses_url":"https://api.github.com/repos/codalab/codalab-cli/statuses/4c7961df3c460ddeac06127bd22261d3b156260b","head":{"label":"karandesai-96:fix-issue-336","ref":"fix-issue-336","sha":"4c7961df3c460ddeac06127bd22261d3b156260b","user":{"login":"karandesai-96","id":10494087,"avatar_url":"https://avatars.githubusercontent.com/u/10494087?v=3","gravatar_id":"","url":"https://api.github.com/users/karandesai-96","html_url":"https://github.com/karandesai-96","followers_url":"https://api.github.com/users/karandesai-96/followers","following_url":"https://api.github.com/users/karandesai-96/following{/other_user}","gists_url":"https://api.github.com/users/karandesai-96/gists{/gist_id}","starred_url":"https://api.github.com/users/karandesai-96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karandesai-96/subscriptions","organizations_url":"https://api.github.com/users/karandesai-96/orgs","repos_url":"https://api.github.com/users/karandesai-96/repos","events_url":"https://api.github.com/users/karandesai-96/events{/privacy}","received_events_url":"https://api.github.com/users/karandesai-96/received_events","type":"User","site_admin":false},"repo":{"id":63031708,"name":"codalab-cli","full_name":"karandesai-96/codalab-cli","owner":{"login":"karandesai-96","id":10494087,"avatar_url":"https://avatars.githubusercontent.com/u/10494087?v=3","gravatar_id":"","url":"https://api.github.com/users/karandesai-96","html_url":"https://github.com/karandesai-96","followers_url":"https://api.github.com/users/karandesai-96/followers","following_url":"https://api.github.com/users/karandesai-96/following{/other_user}","gists_url":"https://api.github.com/users/karandesai-96/gists{/gist_id}","starred_url":"https://api.github.com/users/karandesai-96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karandesai-96/subscriptions","organizations_url":"https://api.github.com/users/karandesai-96/orgs","repos_url":"https://api.github.com/users/karandesai-96/repos","events_url":"https://api.github.com/users/karandesai-96/events{/privacy}","received_events_url":"https://api.github.com/users/karandesai-96/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karandesai-96/codalab-cli","description":"Bundle service and command-line interface for supporting worksheets in CodaLab.","fork":true,"url":"https://api.github.com/repos/karandesai-96/codalab-cli","forks_url":"https://api.github.com/repos/karandesai-96/codalab-cli/forks","keys_url":"https://api.github.com/repos/karandesai-96/codalab-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karandesai-96/codalab-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karandesai-96/codalab-cli/teams","hooks_url":"https://api.github.com/repos/karandesai-96/codalab-cli/hooks","issue_events_url":"https://api.github.com/repos/karandesai-96/codalab-cli/issues/events{/number}","events_url":"https://api.github.com/repos/karandesai-96/codalab-cli/events","assignees_url":"https://api.github.com/repos/karandesai-96/codalab-cli/assignees{/user}","branches_url":"https://api.github.com/repos/karandesai-96/codalab-cli/branches{/branch}","tags_url":"https://api.github.com/repos/karandesai-96/codalab-cli/tags","blobs_url":"https://api.github.com/repos/karandesai-96/codalab-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karandesai-96/codalab-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karandesai-96/codalab-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/karandesai-96/codalab-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karandesai-96/codalab-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/karandesai-96/codalab-cli/languages","stargazers_url":"https://api.github.com/repos/karandesai-96/codalab-cli/stargazers","contributors_url":"https://api.github.com/repos/karandesai-96/codalab-cli/contributors","subscribers_url":"https://api.github.com/repos/karandesai-96/codalab-cli/subscribers","subscription_url":"https://api.github.com/repos/karandesai-96/codalab-cli/subscription","commits_url":"https://api.github.com/repos/karandesai-96/codalab-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/karandesai-96/codalab-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/karandesai-96/codalab-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/karandesai-96/codalab-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/karandesai-96/codalab-cli/contents/{+path}","compare_url":"https://api.github.com/repos/karandesai-96/codalab-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karandesai-96/codalab-cli/merges","archive_url":"https://api.github.com/repos/karandesai-96/codalab-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karandesai-96/codalab-cli/downloads","issues_url":"https://api.github.com/repos/karandesai-96/codalab-cli/issues{/number}","pulls_url":"https://api.github.com/repos/karandesai-96/codalab-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/karandesai-96/codalab-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/karandesai-96/codalab-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karandesai-96/codalab-cli/labels{/name}","releases_url":"https://api.github.com/repos/karandesai-96/codalab-cli/releases{/id}","deployments_url":"https://api.github.com/repos/karandesai-96/codalab-cli/deployments","created_at":"2016-07-11T02:53:18Z","updated_at":"2016-07-11T02:53:19Z","pushed_at":"2016-08-05T03:07:32Z","git_url":"git://github.com/karandesai-96/codalab-cli.git","ssh_url":"git@github.com:karandesai-96/codalab-cli.git","clone_url":"https://github.com/karandesai-96/codalab-cli.git","svn_url":"https://github.com/karandesai-96/codalab-cli","homepage":null,"size":3421,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"codalab:develop","ref":"develop","sha":"fe2f0f8a00c62f85ddaf300ae3eb42143b708f32","user":{"login":"codalab","id":4633552,"avatar_url":"https://avatars.githubusercontent.com/u/4633552?v=3","gravatar_id":"","url":"https://api.github.com/users/codalab","html_url":"https://github.com/codalab","followers_url":"https://api.github.com/users/codalab/followers","following_url":"https://api.github.com/users/codalab/following{/other_user}","gists_url":"https://api.github.com/users/codalab/gists{/gist_id}","starred_url":"https://api.github.com/users/codalab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codalab/subscriptions","organizations_url":"https://api.github.com/users/codalab/orgs","repos_url":"https://api.github.com/users/codalab/repos","events_url":"https://api.github.com/users/codalab/events{/privacy}","received_events_url":"https://api.github.com/users/codalab/received_events","type":"User","site_admin":false},"repo":{"id":27352490,"name":"codalab-cli","full_name":"codalab/codalab-cli","owner":{"login":"codalab","id":4633552,"avatar_url":"https://avatars.githubusercontent.com/u/4633552?v=3","gravatar_id":"","url":"https://api.github.com/users/codalab","html_url":"https://github.com/codalab","followers_url":"https://api.github.com/users/codalab/followers","following_url":"https://api.github.com/users/codalab/following{/other_user}","gists_url":"https://api.github.com/users/codalab/gists{/gist_id}","starred_url":"https://api.github.com/users/codalab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codalab/subscriptions","organizations_url":"https://api.github.com/users/codalab/orgs","repos_url":"https://api.github.com/users/codalab/repos","events_url":"https://api.github.com/users/codalab/events{/privacy}","received_events_url":"https://api.github.com/users/codalab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/codalab/codalab-cli","description":"Bundle service and command-line interface for supporting worksheets in CodaLab.","fork":false,"url":"https://api.github.com/repos/codalab/codalab-cli","forks_url":"https://api.github.com/repos/codalab/codalab-cli/forks","keys_url":"https://api.github.com/repos/codalab/codalab-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codalab/codalab-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codalab/codalab-cli/teams","hooks_url":"https://api.github.com/repos/codalab/codalab-cli/hooks","issue_events_url":"https://api.github.com/repos/codalab/codalab-cli/issues/events{/number}","events_url":"https://api.github.com/repos/codalab/codalab-cli/events","assignees_url":"https://api.github.com/repos/codalab/codalab-cli/assignees{/user}","branches_url":"https://api.github.com/repos/codalab/codalab-cli/branches{/branch}","tags_url":"https://api.github.com/repos/codalab/codalab-cli/tags","blobs_url":"https://api.github.com/repos/codalab/codalab-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codalab/codalab-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codalab/codalab-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/codalab/codalab-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codalab/codalab-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/codalab/codalab-cli/languages","stargazers_url":"https://api.github.com/repos/codalab/codalab-cli/stargazers","contributors_url":"https://api.github.com/repos/codalab/codalab-cli/contributors","subscribers_url":"https://api.github.com/repos/codalab/codalab-cli/subscribers","subscription_url":"https://api.github.com/repos/codalab/codalab-cli/subscription","commits_url":"https://api.github.com/repos/codalab/codalab-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/codalab/codalab-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/codalab/codalab-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/codalab/codalab-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/codalab/codalab-cli/contents/{+path}","compare_url":"https://api.github.com/repos/codalab/codalab-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codalab/codalab-cli/merges","archive_url":"https://api.github.com/repos/codalab/codalab-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codalab/codalab-cli/downloads","issues_url":"https://api.github.com/repos/codalab/codalab-cli/issues{/number}","pulls_url":"https://api.github.com/repos/codalab/codalab-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/codalab/codalab-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/codalab/codalab-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codalab/codalab-cli/labels{/name}","releases_url":"https://api.github.com/repos/codalab/codalab-cli/releases{/id}","deployments_url":"https://api.github.com/repos/codalab/codalab-cli/deployments","created_at":"2014-11-30T22:33:18Z","updated_at":"2016-07-11T09:01:18Z","pushed_at":"2016-08-05T03:09:22Z","git_url":"git://github.com/codalab/codalab-cli.git","ssh_url":"git@github.com:codalab/codalab-cli.git","clone_url":"https://github.com/codalab/codalab-cli.git","svn_url":"https://github.com/codalab/codalab-cli","homepage":null,"size":3499,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":84,"forks":15,"open_issues":84,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codalab/codalab-cli/pulls/557"},"html":{"href":"https://github.com/codalab/codalab-cli/pull/557"},"issue":{"href":"https://api.github.com/repos/codalab/codalab-cli/issues/557"},"comments":{"href":"https://api.github.com/repos/codalab/codalab-cli/issues/557/comments"},"review_comments":{"href":"https://api.github.com/repos/codalab/codalab-cli/pulls/557/comments"},"review_comment":{"href":"https://api.github.com/repos/codalab/codalab-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codalab/codalab-cli/pulls/557/commits"},"statuses":{"href":"https://api.github.com/repos/codalab/codalab-cli/statuses/4c7961df3c460ddeac06127bd22261d3b156260b"}}}}
{"actor":{"display_login":"karandesai-96"}}