{"action":"created","comment":{"url":"https://api.github.com/repos/rage/tmc-core/pulls/comments/37962633","id":37962633,"diff_hunk":"@@ -0,0 +1,64 @@\n+package fi.helsinki.cs.tmc.core.commands;\n+\n+import com.google.common.base.Optional;\n+import com.google.common.base.Strings;","path":"src/main/java/fi/helsinki/cs/tmc/core/commands/DownloadModelSolution.java","position":4,"original_position":4,"commit_id":"bbba30f9a7830cfa2839ec4c3f319f34d729d5b8","original_commit_id":"bbba30f9a7830cfa2839ec4c3f319f34d729d5b8","user":{"login":"jamox","id":1354151,"avatar_url":"https://avatars.githubusercontent.com/u/1354151?v=3","gravatar_id":"","url":"https://api.github.com/users/jamox","html_url":"https://github.com/jamox","followers_url":"https://api.github.com/users/jamox/followers","following_url":"https://api.github.com/users/jamox/following{/other_user}","gists_url":"https://api.github.com/users/jamox/gists{/gist_id}","starred_url":"https://api.github.com/users/jamox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamox/subscriptions","organizations_url":"https://api.github.com/users/jamox/orgs","repos_url":"https://api.github.com/users/jamox/repos","events_url":"https://api.github.com/users/jamox/events{/privacy}","received_events_url":"https://api.github.com/users/jamox/received_events","type":"User","site_admin":false},"body":"We sort alphabetically and group by the first few package names.\r\nAnd our own packages are always first","created_at":"2015-08-26T09:31:58Z","updated_at":"2015-08-26T09:31:58Z","html_url":"https://github.com/rage/tmc-core/pull/61#discussion_r37962633","pull_request_url":"https://api.github.com/repos/rage/tmc-core/pulls/61","_links":{"self":{"href":"https://api.github.com/repos/rage/tmc-core/pulls/comments/37962633"},"html":{"href":"https://github.com/rage/tmc-core/pull/61#discussion_r37962633"},"pull_request":{"href":"https://api.github.com/repos/rage/tmc-core/pulls/61"}}},"pull_request":{"url":"https://api.github.com/repos/rage/tmc-core/pulls/61","id":43370615,"html_url":"https://github.com/rage/tmc-core/pull/61","diff_url":"https://github.com/rage/tmc-core/pull/61.diff","patch_url":"https://github.com/rage/tmc-core/pull/61.patch","issue_url":"https://api.github.com/repos/rage/tmc-core/issues/61","number":61,"state":"open","locked":false,"title":"download model solution feature","user":{"login":"zinkko","id":4096149,"avatar_url":"https://avatars.githubusercontent.com/u/4096149?v=3","gravatar_id":"","url":"https://api.github.com/users/zinkko","html_url":"https://github.com/zinkko","followers_url":"https://api.github.com/users/zinkko/followers","following_url":"https://api.github.com/users/zinkko/following{/other_user}","gists_url":"https://api.github.com/users/zinkko/gists{/gist_id}","starred_url":"https://api.github.com/users/zinkko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinkko/subscriptions","organizations_url":"https://api.github.com/users/zinkko/orgs","repos_url":"https://api.github.com/users/zinkko/repos","events_url":"https://api.github.com/users/zinkko/events{/privacy}","received_events_url":"https://api.github.com/users/zinkko/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-26T07:09:43Z","updated_at":"2015-08-26T09:31:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af13ee3c4fe7879a0d637fc5e5e10eda2feb89f8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rage/tmc-core/pulls/61/commits","review_comments_url":"https://api.github.com/repos/rage/tmc-core/pulls/61/comments","review_comment_url":"https://api.github.com/repos/rage/tmc-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rage/tmc-core/issues/61/comments","statuses_url":"https://api.github.com/repos/rage/tmc-core/statuses/bbba30f9a7830cfa2839ec4c3f319f34d729d5b8","head":{"label":"rage:model-solutions","ref":"model-solutions","sha":"bbba30f9a7830cfa2839ec4c3f319f34d729d5b8","user":{"login":"rage","id":7485909,"avatar_url":"https://avatars.githubusercontent.com/u/7485909?v=3","gravatar_id":"","url":"https://api.github.com/users/rage","html_url":"https://github.com/rage","followers_url":"https://api.github.com/users/rage/followers","following_url":"https://api.github.com/users/rage/following{/other_user}","gists_url":"https://api.github.com/users/rage/gists{/gist_id}","starred_url":"https://api.github.com/users/rage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rage/subscriptions","organizations_url":"https://api.github.com/users/rage/orgs","repos_url":"https://api.github.com/users/rage/repos","events_url":"https://api.github.com/users/rage/events{/privacy}","received_events_url":"https://api.github.com/users/rage/received_events","type":"Organization","site_admin":false},"repo":{"id":38294073,"name":"tmc-core","full_name":"rage/tmc-core","owner":{"login":"rage","id":7485909,"avatar_url":"https://avatars.githubusercontent.com/u/7485909?v=3","gravatar_id":"","url":"https://api.github.com/users/rage","html_url":"https://github.com/rage","followers_url":"https://api.github.com/users/rage/followers","following_url":"https://api.github.com/users/rage/following{/other_user}","gists_url":"https://api.github.com/users/rage/gists{/gist_id}","starred_url":"https://api.github.com/users/rage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rage/subscriptions","organizations_url":"https://api.github.com/users/rage/orgs","repos_url":"https://api.github.com/users/rage/repos","events_url":"https://api.github.com/users/rage/events{/privacy}","received_events_url":"https://api.github.com/users/rage/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rage/tmc-core","description":"Tmc-core","fork":false,"url":"https://api.github.com/repos/rage/tmc-core","forks_url":"https://api.github.com/repos/rage/tmc-core/forks","keys_url":"https://api.github.com/repos/rage/tmc-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rage/tmc-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rage/tmc-core/teams","hooks_url":"https://api.github.com/repos/rage/tmc-core/hooks","issue_events_url":"https://api.github.com/repos/rage/tmc-core/issues/events{/number}","events_url":"https://api.github.com/repos/rage/tmc-core/events","assignees_url":"https://api.github.com/repos/rage/tmc-core/assignees{/user}","branches_url":"https://api.github.com/repos/rage/tmc-core/branches{/branch}","tags_url":"https://api.github.com/repos/rage/tmc-core/tags","blobs_url":"https://api.github.com/repos/rage/tmc-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rage/tmc-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rage/tmc-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/rage/tmc-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rage/tmc-core/statuses/{sha}","languages_url":"https://api.github.com/repos/rage/tmc-core/languages","stargazers_url":"https://api.github.com/repos/rage/tmc-core/stargazers","contributors_url":"https://api.github.com/repos/rage/tmc-core/contributors","subscribers_url":"https://api.github.com/repos/rage/tmc-core/subscribers","subscription_url":"https://api.github.com/repos/rage/tmc-core/subscription","commits_url":"https://api.github.com/repos/rage/tmc-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/rage/tmc-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/rage/tmc-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/rage/tmc-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/rage/tmc-core/contents/{+path}","compare_url":"https://api.github.com/repos/rage/tmc-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rage/tmc-core/merges","archive_url":"https://api.github.com/repos/rage/tmc-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rage/tmc-core/downloads","issues_url":"https://api.github.com/repos/rage/tmc-core/issues{/number}","pulls_url":"https://api.github.com/repos/rage/tmc-core/pulls{/number}","milestones_url":"https://api.github.com/repos/rage/tmc-core/milestones{/number}","notifications_url":"https://api.github.com/repos/rage/tmc-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rage/tmc-core/labels{/name}","releases_url":"https://api.github.com/repos/rage/tmc-core/releases{/id}","created_at":"2015-06-30T07:21:26Z","updated_at":"2015-06-30T10:13:54Z","pushed_at":"2015-08-26T07:59:00Z","git_url":"git://github.com/rage/tmc-core.git","ssh_url":"git@github.com:rage/tmc-core.git","clone_url":"https://github.com/rage/tmc-core.git","svn_url":"https://github.com/rage/tmc-core","homepage":null,"size":27300,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"rage:master","ref":"master","sha":"c0f71fb5a18168c73d4c9bbf85301e3fd873fb41","user":{"login":"rage","id":7485909,"avatar_url":"https://avatars.githubusercontent.com/u/7485909?v=3","gravatar_id":"","url":"https://api.github.com/users/rage","html_url":"https://github.com/rage","followers_url":"https://api.github.com/users/rage/followers","following_url":"https://api.github.com/users/rage/following{/other_user}","gists_url":"https://api.github.com/users/rage/gists{/gist_id}","starred_url":"https://api.github.com/users/rage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rage/subscriptions","organizations_url":"https://api.github.com/users/rage/orgs","repos_url":"https://api.github.com/users/rage/repos","events_url":"https://api.github.com/users/rage/events{/privacy}","received_events_url":"https://api.github.com/users/rage/received_events","type":"Organization","site_admin":false},"repo":{"id":38294073,"name":"tmc-core","full_name":"rage/tmc-core","owner":{"login":"rage","id":7485909,"avatar_url":"https://avatars.githubusercontent.com/u/7485909?v=3","gravatar_id":"","url":"https://api.github.com/users/rage","html_url":"https://github.com/rage","followers_url":"https://api.github.com/users/rage/followers","following_url":"https://api.github.com/users/rage/following{/other_user}","gists_url":"https://api.github.com/users/rage/gists{/gist_id}","starred_url":"https://api.github.com/users/rage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rage/subscriptions","organizations_url":"https://api.github.com/users/rage/orgs","repos_url":"https://api.github.com/users/rage/repos","events_url":"https://api.github.com/users/rage/events{/privacy}","received_events_url":"https://api.github.com/users/rage/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rage/tmc-core","description":"Tmc-core","fork":false,"url":"https://api.github.com/repos/rage/tmc-core","forks_url":"https://api.github.com/repos/rage/tmc-core/forks","keys_url":"https://api.github.com/repos/rage/tmc-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rage/tmc-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rage/tmc-core/teams","hooks_url":"https://api.github.com/repos/rage/tmc-core/hooks","issue_events_url":"https://api.github.com/repos/rage/tmc-core/issues/events{/number}","events_url":"https://api.github.com/repos/rage/tmc-core/events","assignees_url":"https://api.github.com/repos/rage/tmc-core/assignees{/user}","branches_url":"https://api.github.com/repos/rage/tmc-core/branches{/branch}","tags_url":"https://api.github.com/repos/rage/tmc-core/tags","blobs_url":"https://api.github.com/repos/rage/tmc-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rage/tmc-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rage/tmc-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/rage/tmc-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rage/tmc-core/statuses/{sha}","languages_url":"https://api.github.com/repos/rage/tmc-core/languages","stargazers_url":"https://api.github.com/repos/rage/tmc-core/stargazers","contributors_url":"https://api.github.com/repos/rage/tmc-core/contributors","subscribers_url":"https://api.github.com/repos/rage/tmc-core/subscribers","subscription_url":"https://api.github.com/repos/rage/tmc-core/subscription","commits_url":"https://api.github.com/repos/rage/tmc-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/rage/tmc-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/rage/tmc-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/rage/tmc-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/rage/tmc-core/contents/{+path}","compare_url":"https://api.github.com/repos/rage/tmc-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rage/tmc-core/merges","archive_url":"https://api.github.com/repos/rage/tmc-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rage/tmc-core/downloads","issues_url":"https://api.github.com/repos/rage/tmc-core/issues{/number}","pulls_url":"https://api.github.com/repos/rage/tmc-core/pulls{/number}","milestones_url":"https://api.github.com/repos/rage/tmc-core/milestones{/number}","notifications_url":"https://api.github.com/repos/rage/tmc-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rage/tmc-core/labels{/name}","releases_url":"https://api.github.com/repos/rage/tmc-core/releases{/id}","created_at":"2015-06-30T07:21:26Z","updated_at":"2015-06-30T10:13:54Z","pushed_at":"2015-08-26T07:59:00Z","git_url":"git://github.com/rage/tmc-core.git","ssh_url":"git@github.com:rage/tmc-core.git","clone_url":"https://github.com/rage/tmc-core.git","svn_url":"https://github.com/rage/tmc-core","homepage":null,"size":27300,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rage/tmc-core/pulls/61"},"html":{"href":"https://github.com/rage/tmc-core/pull/61"},"issue":{"href":"https://api.github.com/repos/rage/tmc-core/issues/61"},"comments":{"href":"https://api.github.com/repos/rage/tmc-core/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/rage/tmc-core/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/rage/tmc-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rage/tmc-core/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/rage/tmc-core/statuses/bbba30f9a7830cfa2839ec4c3f319f34d729d5b8"}}}}