{"action":"created","comment":{"url":"https://api.github.com/repos/RocHack/bb/pulls/comments/23350302","id":23350302,"diff_hunk":"@@ -1389,5 +1409,6 @@ case \"$cmd\" in\n \tpay) bb_pay $@;;\n \tgrades) bb_grades \"$@\";;\n \tmaterials) bb_materials \"$@\";;\n+\tannouncements) bb_announcements \"$@\";;","path":"bb","position":63,"original_position":63,"commit_id":"acf37e5bf27d2f0be7e4f0a5a99af16ba839495b","original_commit_id":"acf37e5bf27d2f0be7e4f0a5a99af16ba839495b","user":{"login":"joeljk13","id":8837384,"avatar_url":"https://avatars.githubusercontent.com/u/8837384?v=3","gravatar_id":"","url":"https://api.github.com/users/joeljk13","html_url":"https://github.com/joeljk13","followers_url":"https://api.github.com/users/joeljk13/followers","following_url":"https://api.github.com/users/joeljk13/following{/other_user}","gists_url":"https://api.github.com/users/joeljk13/gists{/gist_id}","starred_url":"https://api.github.com/users/joeljk13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeljk13/subscriptions","organizations_url":"https://api.github.com/users/joeljk13/orgs","repos_url":"https://api.github.com/users/joeljk13/repos","events_url":"https://api.github.com/users/joeljk13/events{/privacy}","received_events_url":"https://api.github.com/users/joeljk13/received_events","type":"User","site_admin":false},"body":"This adds announcements, not materials - I think git gets the diff right, but GitHub seems to get it wrong. It may be good to merge this on the command line just in case.","created_at":"2015-01-22T01:40:18Z","updated_at":"2015-01-22T01:40:18Z","html_url":"https://github.com/RocHack/bb/pull/25#discussion_r23350302","pull_request_url":"https://api.github.com/repos/RocHack/bb/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/RocHack/bb/pulls/comments/23350302"},"html":{"href":"https://github.com/RocHack/bb/pull/25#discussion_r23350302"},"pull_request":{"href":"https://api.github.com/repos/RocHack/bb/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/RocHack/bb/pulls/25","id":27811456,"html_url":"https://github.com/RocHack/bb/pull/25","diff_url":"https://github.com/RocHack/bb/pull/25.diff","patch_url":"https://github.com/RocHack/bb/pull/25.patch","issue_url":"https://api.github.com/repos/RocHack/bb/issues/25","number":25,"state":"open","locked":false,"title":"Announcements","user":{"login":"joeljk13","id":8837384,"avatar_url":"https://avatars.githubusercontent.com/u/8837384?v=3","gravatar_id":"","url":"https://api.github.com/users/joeljk13","html_url":"https://github.com/joeljk13","followers_url":"https://api.github.com/users/joeljk13/followers","following_url":"https://api.github.com/users/joeljk13/following{/other_user}","gists_url":"https://api.github.com/users/joeljk13/gists{/gist_id}","starred_url":"https://api.github.com/users/joeljk13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeljk13/subscriptions","organizations_url":"https://api.github.com/users/joeljk13/orgs","repos_url":"https://api.github.com/users/joeljk13/repos","events_url":"https://api.github.com/users/joeljk13/events{/privacy}","received_events_url":"https://api.github.com/users/joeljk13/received_events","type":"User","site_admin":false},"body":"It's pretty hackish and not very pretty, but even as it is now it can be helpful.\r\n\r\n2 things it definitely could use but doesn't have:\r\n - Getting all announcements\r\n - Getting just recent announcements (currently it just gets _all_ announcements for a course).","created_at":"2015-01-22T01:32:59Z","updated_at":"2015-01-22T01:40:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"307c8aad951fc57c74829f513f7863b0acd5003b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RocHack/bb/pulls/25/commits","review_comments_url":"https://api.github.com/repos/RocHack/bb/pulls/25/comments","review_comment_url":"https://api.github.com/repos/RocHack/bb/pulls/comments/{number}","comments_url":"https://api.github.com/repos/RocHack/bb/issues/25/comments","statuses_url":"https://api.github.com/repos/RocHack/bb/statuses/acf37e5bf27d2f0be7e4f0a5a99af16ba839495b","head":{"label":"RocHack:announcements","ref":"announcements","sha":"acf37e5bf27d2f0be7e4f0a5a99af16ba839495b","user":{"login":"RocHack","id":1253045,"avatar_url":"https://avatars.githubusercontent.com/u/1253045?v=3","gravatar_id":"","url":"https://api.github.com/users/RocHack","html_url":"https://github.com/RocHack","followers_url":"https://api.github.com/users/RocHack/followers","following_url":"https://api.github.com/users/RocHack/following{/other_user}","gists_url":"https://api.github.com/users/RocHack/gists{/gist_id}","starred_url":"https://api.github.com/users/RocHack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocHack/subscriptions","organizations_url":"https://api.github.com/users/RocHack/orgs","repos_url":"https://api.github.com/users/RocHack/repos","events_url":"https://api.github.com/users/RocHack/events{/privacy}","received_events_url":"https://api.github.com/users/RocHack/received_events","type":"Organization","site_admin":false},"repo":{"id":6528240,"name":"bb","full_name":"RocHack/bb","owner":{"login":"RocHack","id":1253045,"avatar_url":"https://avatars.githubusercontent.com/u/1253045?v=3","gravatar_id":"","url":"https://api.github.com/users/RocHack","html_url":"https://github.com/RocHack","followers_url":"https://api.github.com/users/RocHack/followers","following_url":"https://api.github.com/users/RocHack/following{/other_user}","gists_url":"https://api.github.com/users/RocHack/gists{/gist_id}","starred_url":"https://api.github.com/users/RocHack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocHack/subscriptions","organizations_url":"https://api.github.com/users/RocHack/orgs","repos_url":"https://api.github.com/users/RocHack/repos","events_url":"https://api.github.com/users/RocHack/events{/privacy}","received_events_url":"https://api.github.com/users/RocHack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RocHack/bb","description":"Command line Blackboard client","fork":false,"url":"https://api.github.com/repos/RocHack/bb","forks_url":"https://api.github.com/repos/RocHack/bb/forks","keys_url":"https://api.github.com/repos/RocHack/bb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RocHack/bb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RocHack/bb/teams","hooks_url":"https://api.github.com/repos/RocHack/bb/hooks","issue_events_url":"https://api.github.com/repos/RocHack/bb/issues/events{/number}","events_url":"https://api.github.com/repos/RocHack/bb/events","assignees_url":"https://api.github.com/repos/RocHack/bb/assignees{/user}","branches_url":"https://api.github.com/repos/RocHack/bb/branches{/branch}","tags_url":"https://api.github.com/repos/RocHack/bb/tags","blobs_url":"https://api.github.com/repos/RocHack/bb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RocHack/bb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RocHack/bb/git/refs{/sha}","trees_url":"https://api.github.com/repos/RocHack/bb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RocHack/bb/statuses/{sha}","languages_url":"https://api.github.com/repos/RocHack/bb/languages","stargazers_url":"https://api.github.com/repos/RocHack/bb/stargazers","contributors_url":"https://api.github.com/repos/RocHack/bb/contributors","subscribers_url":"https://api.github.com/repos/RocHack/bb/subscribers","subscription_url":"https://api.github.com/repos/RocHack/bb/subscription","commits_url":"https://api.github.com/repos/RocHack/bb/commits{/sha}","git_commits_url":"https://api.github.com/repos/RocHack/bb/git/commits{/sha}","comments_url":"https://api.github.com/repos/RocHack/bb/comments{/number}","issue_comment_url":"https://api.github.com/repos/RocHack/bb/issues/comments/{number}","contents_url":"https://api.github.com/repos/RocHack/bb/contents/{+path}","compare_url":"https://api.github.com/repos/RocHack/bb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RocHack/bb/merges","archive_url":"https://api.github.com/repos/RocHack/bb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RocHack/bb/downloads","issues_url":"https://api.github.com/repos/RocHack/bb/issues{/number}","pulls_url":"https://api.github.com/repos/RocHack/bb/pulls{/number}","milestones_url":"https://api.github.com/repos/RocHack/bb/milestones{/number}","notifications_url":"https://api.github.com/repos/RocHack/bb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RocHack/bb/labels{/name}","releases_url":"https://api.github.com/repos/RocHack/bb/releases{/id}","created_at":"2012-11-04T06:40:16Z","updated_at":"2015-01-21T22:20:57Z","pushed_at":"2015-01-22T01:21:29Z","git_url":"git://github.com/RocHack/bb.git","ssh_url":"git@github.com:RocHack/bb.git","clone_url":"https://github.com/RocHack/bb.git","svn_url":"https://github.com/RocHack/bb","homepage":null,"size":921,"stargazers_count":56,"watchers_count":56,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":11,"forks":2,"open_issues":11,"watchers":56,"default_branch":"master"}},"base":{"label":"RocHack:master","ref":"master","sha":"b9f757b5f7748a7203134d85dd56bb56ec1f0628","user":{"login":"RocHack","id":1253045,"avatar_url":"https://avatars.githubusercontent.com/u/1253045?v=3","gravatar_id":"","url":"https://api.github.com/users/RocHack","html_url":"https://github.com/RocHack","followers_url":"https://api.github.com/users/RocHack/followers","following_url":"https://api.github.com/users/RocHack/following{/other_user}","gists_url":"https://api.github.com/users/RocHack/gists{/gist_id}","starred_url":"https://api.github.com/users/RocHack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocHack/subscriptions","organizations_url":"https://api.github.com/users/RocHack/orgs","repos_url":"https://api.github.com/users/RocHack/repos","events_url":"https://api.github.com/users/RocHack/events{/privacy}","received_events_url":"https://api.github.com/users/RocHack/received_events","type":"Organization","site_admin":false},"repo":{"id":6528240,"name":"bb","full_name":"RocHack/bb","owner":{"login":"RocHack","id":1253045,"avatar_url":"https://avatars.githubusercontent.com/u/1253045?v=3","gravatar_id":"","url":"https://api.github.com/users/RocHack","html_url":"https://github.com/RocHack","followers_url":"https://api.github.com/users/RocHack/followers","following_url":"https://api.github.com/users/RocHack/following{/other_user}","gists_url":"https://api.github.com/users/RocHack/gists{/gist_id}","starred_url":"https://api.github.com/users/RocHack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocHack/subscriptions","organizations_url":"https://api.github.com/users/RocHack/orgs","repos_url":"https://api.github.com/users/RocHack/repos","events_url":"https://api.github.com/users/RocHack/events{/privacy}","received_events_url":"https://api.github.com/users/RocHack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RocHack/bb","description":"Command line Blackboard client","fork":false,"url":"https://api.github.com/repos/RocHack/bb","forks_url":"https://api.github.com/repos/RocHack/bb/forks","keys_url":"https://api.github.com/repos/RocHack/bb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RocHack/bb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RocHack/bb/teams","hooks_url":"https://api.github.com/repos/RocHack/bb/hooks","issue_events_url":"https://api.github.com/repos/RocHack/bb/issues/events{/number}","events_url":"https://api.github.com/repos/RocHack/bb/events","assignees_url":"https://api.github.com/repos/RocHack/bb/assignees{/user}","branches_url":"https://api.github.com/repos/RocHack/bb/branches{/branch}","tags_url":"https://api.github.com/repos/RocHack/bb/tags","blobs_url":"https://api.github.com/repos/RocHack/bb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RocHack/bb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RocHack/bb/git/refs{/sha}","trees_url":"https://api.github.com/repos/RocHack/bb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RocHack/bb/statuses/{sha}","languages_url":"https://api.github.com/repos/RocHack/bb/languages","stargazers_url":"https://api.github.com/repos/RocHack/bb/stargazers","contributors_url":"https://api.github.com/repos/RocHack/bb/contributors","subscribers_url":"https://api.github.com/repos/RocHack/bb/subscribers","subscription_url":"https://api.github.com/repos/RocHack/bb/subscription","commits_url":"https://api.github.com/repos/RocHack/bb/commits{/sha}","git_commits_url":"https://api.github.com/repos/RocHack/bb/git/commits{/sha}","comments_url":"https://api.github.com/repos/RocHack/bb/comments{/number}","issue_comment_url":"https://api.github.com/repos/RocHack/bb/issues/comments/{number}","contents_url":"https://api.github.com/repos/RocHack/bb/contents/{+path}","compare_url":"https://api.github.com/repos/RocHack/bb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RocHack/bb/merges","archive_url":"https://api.github.com/repos/RocHack/bb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RocHack/bb/downloads","issues_url":"https://api.github.com/repos/RocHack/bb/issues{/number}","pulls_url":"https://api.github.com/repos/RocHack/bb/pulls{/number}","milestones_url":"https://api.github.com/repos/RocHack/bb/milestones{/number}","notifications_url":"https://api.github.com/repos/RocHack/bb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RocHack/bb/labels{/name}","releases_url":"https://api.github.com/repos/RocHack/bb/releases{/id}","created_at":"2012-11-04T06:40:16Z","updated_at":"2015-01-21T22:20:57Z","pushed_at":"2015-01-22T01:21:29Z","git_url":"git://github.com/RocHack/bb.git","ssh_url":"git@github.com:RocHack/bb.git","clone_url":"https://github.com/RocHack/bb.git","svn_url":"https://github.com/RocHack/bb","homepage":null,"size":921,"stargazers_count":56,"watchers_count":56,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":11,"forks":2,"open_issues":11,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RocHack/bb/pulls/25"},"html":{"href":"https://github.com/RocHack/bb/pull/25"},"issue":{"href":"https://api.github.com/repos/RocHack/bb/issues/25"},"comments":{"href":"https://api.github.com/repos/RocHack/bb/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/RocHack/bb/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/RocHack/bb/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/RocHack/bb/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/RocHack/bb/statuses/acf37e5bf27d2f0be7e4f0a5a99af16ba839495b"}}}}