{"action":"created","comment":{"url":"https://api.github.com/repos/vimc/bb8/pulls/comments/184354153","pull_request_review_id":115531141,"id":184354153,"diff_hunk":"@@ -5,34 +5,48 @@\n   main.py backup\n   main.py restore\n   main.py init\n+  main.py log --list [--limit=<number>]\n+  main.py log [--version=<version>]","path":"bin/main.py","position":5,"original_position":5,"commit_id":"7d57721a85e35f5c0cfcda014740830834eba4aa","original_commit_id":"7d57721a85e35f5c0cfcda014740830834eba4aa","user":{"login":"richfitz","id":1558093,"avatar_url":"https://avatars1.githubusercontent.com/u/1558093?v=4","gravatar_id":"","url":"https://api.github.com/users/richfitz","html_url":"https://github.com/richfitz","followers_url":"https://api.github.com/users/richfitz/followers","following_url":"https://api.github.com/users/richfitz/following{/other_user}","gists_url":"https://api.github.com/users/richfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/richfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richfitz/subscriptions","organizations_url":"https://api.github.com/users/richfitz/orgs","repos_url":"https://api.github.com/users/richfitz/repos","events_url":"https://api.github.com/users/richfitz/events{/privacy}","received_events_url":"https://api.github.com/users/richfitz/received_events","type":"User","site_admin":false},"body":"Also, the name `main.py` should probably be bb8 so that running `bb8 --help` gives more understandable output","created_at":"2018-04-26T11:21:48Z","updated_at":"2018-04-26T11:25:33Z","html_url":"https://github.com/vimc/bb8/pull/21#discussion_r184354153","pull_request_url":"https://api.github.com/repos/vimc/bb8/pulls/21","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/vimc/bb8/pulls/comments/184354153"},"html":{"href":"https://github.com/vimc/bb8/pull/21#discussion_r184354153"},"pull_request":{"href":"https://api.github.com/repos/vimc/bb8/pulls/21"}},"in_reply_to_id":184353982},"pull_request":{"url":"https://api.github.com/repos/vimc/bb8/pulls/21","id":183059688,"html_url":"https://github.com/vimc/bb8/pull/21","diff_url":"https://github.com/vimc/bb8/pull/21.diff","patch_url":"https://github.com/vimc/bb8/pull/21.patch","issue_url":"https://api.github.com/repos/vimc/bb8/issues/21","number":21,"state":"open","locked":false,"title":"i1690: Add log viewing capabilities, and log each run to separate file","user":{"login":"MartinEden","id":1148055,"avatar_url":"https://avatars3.githubusercontent.com/u/1148055?v=4","gravatar_id":"","url":"https://api.github.com/users/MartinEden","html_url":"https://github.com/MartinEden","followers_url":"https://api.github.com/users/MartinEden/followers","following_url":"https://api.github.com/users/MartinEden/following{/other_user}","gists_url":"https://api.github.com/users/MartinEden/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinEden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinEden/subscriptions","organizations_url":"https://api.github.com/users/MartinEden/orgs","repos_url":"https://api.github.com/users/MartinEden/repos","events_url":"https://api.github.com/users/MartinEden/events{/privacy}","received_events_url":"https://api.github.com/users/MartinEden/received_events","type":"User","site_admin":false},"body":"https://vimc.myjetbrains.com/youtrack/issue/VIMC-1690\r\n\r\nWith this change you can run `bb8 log` to view the most recent log, no muss, no fuss. There are also options to list available log files, and to view a particular one.\r\n\r\nRich, I decided I was overthinking this: If you want to use `less`, you can just run `bb8 log | less`. This might take a few seconds if its a big log file while the whole thing travels via the pipe, as opposed to less reading as it needs to, but I think that's acceptable.","created_at":"2018-04-20T13:17:56Z","updated_at":"2018-04-26T11:25:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f0105595f89e461779e9c6b7bf5b040914b79bf","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vimc/bb8/pulls/21/commits","review_comments_url":"https://api.github.com/repos/vimc/bb8/pulls/21/comments","review_comment_url":"https://api.github.com/repos/vimc/bb8/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vimc/bb8/issues/21/comments","statuses_url":"https://api.github.com/repos/vimc/bb8/statuses/7d57721a85e35f5c0cfcda014740830834eba4aa","head":{"label":"vimc:i1690","ref":"i1690","sha":"7d57721a85e35f5c0cfcda014740830834eba4aa","user":{"login":"vimc","id":26278316,"avatar_url":"https://avatars1.githubusercontent.com/u/26278316?v=4","gravatar_id":"","url":"https://api.github.com/users/vimc","html_url":"https://github.com/vimc","followers_url":"https://api.github.com/users/vimc/followers","following_url":"https://api.github.com/users/vimc/following{/other_user}","gists_url":"https://api.github.com/users/vimc/gists{/gist_id}","starred_url":"https://api.github.com/users/vimc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimc/subscriptions","organizations_url":"https://api.github.com/users/vimc/orgs","repos_url":"https://api.github.com/users/vimc/repos","events_url":"https://api.github.com/users/vimc/events{/privacy}","received_events_url":"https://api.github.com/users/vimc/received_events","type":"Organization","site_admin":false},"repo":{"id":118003111,"name":"bb8","full_name":"vimc/bb8","owner":{"login":"vimc","id":26278316,"avatar_url":"https://avatars1.githubusercontent.com/u/26278316?v=4","gravatar_id":"","url":"https://api.github.com/users/vimc","html_url":"https://github.com/vimc","followers_url":"https://api.github.com/users/vimc/followers","following_url":"https://api.github.com/users/vimc/following{/other_user}","gists_url":"https://api.github.com/users/vimc/gists{/gist_id}","starred_url":"https://api.github.com/users/vimc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimc/subscriptions","organizations_url":"https://api.github.com/users/vimc/orgs","repos_url":"https://api.github.com/users/vimc/repos","events_url":"https://api.github.com/users/vimc/events{/privacy}","received_events_url":"https://api.github.com/users/vimc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vimc/bb8","description":"Backs up files from one local server to another","fork":false,"url":"https://api.github.com/repos/vimc/bb8","forks_url":"https://api.github.com/repos/vimc/bb8/forks","keys_url":"https://api.github.com/repos/vimc/bb8/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vimc/bb8/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vimc/bb8/teams","hooks_url":"https://api.github.com/repos/vimc/bb8/hooks","issue_events_url":"https://api.github.com/repos/vimc/bb8/issues/events{/number}","events_url":"https://api.github.com/repos/vimc/bb8/events","assignees_url":"https://api.github.com/repos/vimc/bb8/assignees{/user}","branches_url":"https://api.github.com/repos/vimc/bb8/branches{/branch}","tags_url":"https://api.github.com/repos/vimc/bb8/tags","blobs_url":"https://api.github.com/repos/vimc/bb8/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vimc/bb8/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vimc/bb8/git/refs{/sha}","trees_url":"https://api.github.com/repos/vimc/bb8/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vimc/bb8/statuses/{sha}","languages_url":"https://api.github.com/repos/vimc/bb8/languages","stargazers_url":"https://api.github.com/repos/vimc/bb8/stargazers","contributors_url":"https://api.github.com/repos/vimc/bb8/contributors","subscribers_url":"https://api.github.com/repos/vimc/bb8/subscribers","subscription_url":"https://api.github.com/repos/vimc/bb8/subscription","commits_url":"https://api.github.com/repos/vimc/bb8/commits{/sha}","git_commits_url":"https://api.github.com/repos/vimc/bb8/git/commits{/sha}","comments_url":"https://api.github.com/repos/vimc/bb8/comments{/number}","issue_comment_url":"https://api.github.com/repos/vimc/bb8/issues/comments{/number}","contents_url":"https://api.github.com/repos/vimc/bb8/contents/{+path}","compare_url":"https://api.github.com/repos/vimc/bb8/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vimc/bb8/merges","archive_url":"https://api.github.com/repos/vimc/bb8/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vimc/bb8/downloads","issues_url":"https://api.github.com/repos/vimc/bb8/issues{/number}","pulls_url":"https://api.github.com/repos/vimc/bb8/pulls{/number}","milestones_url":"https://api.github.com/repos/vimc/bb8/milestones{/number}","notifications_url":"https://api.github.com/repos/vimc/bb8/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vimc/bb8/labels{/name}","releases_url":"https://api.github.com/repos/vimc/bb8/releases{/id}","deployments_url":"https://api.github.com/repos/vimc/bb8/deployments","created_at":"2018-01-18T15:46:17Z","updated_at":"2018-04-23T14:27:29Z","pushed_at":"2018-04-26T11:14:24Z","git_url":"git://github.com/vimc/bb8.git","ssh_url":"git@github.com:vimc/bb8.git","clone_url":"https://github.com/vimc/bb8.git","svn_url":"https://github.com/vimc/bb8","homepage":null,"size":114,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"vimc:master","ref":"master","sha":"4c05e13e035f8fb703c77e4436d969dbfeed78ab","user":{"login":"vimc","id":26278316,"avatar_url":"https://avatars1.githubusercontent.com/u/26278316?v=4","gravatar_id":"","url":"https://api.github.com/users/vimc","html_url":"https://github.com/vimc","followers_url":"https://api.github.com/users/vimc/followers","following_url":"https://api.github.com/users/vimc/following{/other_user}","gists_url":"https://api.github.com/users/vimc/gists{/gist_id}","starred_url":"https://api.github.com/users/vimc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimc/subscriptions","organizations_url":"https://api.github.com/users/vimc/orgs","repos_url":"https://api.github.com/users/vimc/repos","events_url":"https://api.github.com/users/vimc/events{/privacy}","received_events_url":"https://api.github.com/users/vimc/received_events","type":"Organization","site_admin":false},"repo":{"id":118003111,"name":"bb8","full_name":"vimc/bb8","owner":{"login":"vimc","id":26278316,"avatar_url":"https://avatars1.githubusercontent.com/u/26278316?v=4","gravatar_id":"","url":"https://api.github.com/users/vimc","html_url":"https://github.com/vimc","followers_url":"https://api.github.com/users/vimc/followers","following_url":"https://api.github.com/users/vimc/following{/other_user}","gists_url":"https://api.github.com/users/vimc/gists{/gist_id}","starred_url":"https://api.github.com/users/vimc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimc/subscriptions","organizations_url":"https://api.github.com/users/vimc/orgs","repos_url":"https://api.github.com/users/vimc/repos","events_url":"https://api.github.com/users/vimc/events{/privacy}","received_events_url":"https://api.github.com/users/vimc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vimc/bb8","description":"Backs up files from one local server to another","fork":false,"url":"https://api.github.com/repos/vimc/bb8","forks_url":"https://api.github.com/repos/vimc/bb8/forks","keys_url":"https://api.github.com/repos/vimc/bb8/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vimc/bb8/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vimc/bb8/teams","hooks_url":"https://api.github.com/repos/vimc/bb8/hooks","issue_events_url":"https://api.github.com/repos/vimc/bb8/issues/events{/number}","events_url":"https://api.github.com/repos/vimc/bb8/events","assignees_url":"https://api.github.com/repos/vimc/bb8/assignees{/user}","branches_url":"https://api.github.com/repos/vimc/bb8/branches{/branch}","tags_url":"https://api.github.com/repos/vimc/bb8/tags","blobs_url":"https://api.github.com/repos/vimc/bb8/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vimc/bb8/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vimc/bb8/git/refs{/sha}","trees_url":"https://api.github.com/repos/vimc/bb8/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vimc/bb8/statuses/{sha}","languages_url":"https://api.github.com/repos/vimc/bb8/languages","stargazers_url":"https://api.github.com/repos/vimc/bb8/stargazers","contributors_url":"https://api.github.com/repos/vimc/bb8/contributors","subscribers_url":"https://api.github.com/repos/vimc/bb8/subscribers","subscription_url":"https://api.github.com/repos/vimc/bb8/subscription","commits_url":"https://api.github.com/repos/vimc/bb8/commits{/sha}","git_commits_url":"https://api.github.com/repos/vimc/bb8/git/commits{/sha}","comments_url":"https://api.github.com/repos/vimc/bb8/comments{/number}","issue_comment_url":"https://api.github.com/repos/vimc/bb8/issues/comments{/number}","contents_url":"https://api.github.com/repos/vimc/bb8/contents/{+path}","compare_url":"https://api.github.com/repos/vimc/bb8/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vimc/bb8/merges","archive_url":"https://api.github.com/repos/vimc/bb8/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vimc/bb8/downloads","issues_url":"https://api.github.com/repos/vimc/bb8/issues{/number}","pulls_url":"https://api.github.com/repos/vimc/bb8/pulls{/number}","milestones_url":"https://api.github.com/repos/vimc/bb8/milestones{/number}","notifications_url":"https://api.github.com/repos/vimc/bb8/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vimc/bb8/labels{/name}","releases_url":"https://api.github.com/repos/vimc/bb8/releases{/id}","deployments_url":"https://api.github.com/repos/vimc/bb8/deployments","created_at":"2018-01-18T15:46:17Z","updated_at":"2018-04-23T14:27:29Z","pushed_at":"2018-04-26T11:14:24Z","git_url":"git://github.com/vimc/bb8.git","ssh_url":"git@github.com:vimc/bb8.git","clone_url":"https://github.com/vimc/bb8.git","svn_url":"https://github.com/vimc/bb8","homepage":null,"size":114,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vimc/bb8/pulls/21"},"html":{"href":"https://github.com/vimc/bb8/pull/21"},"issue":{"href":"https://api.github.com/repos/vimc/bb8/issues/21"},"comments":{"href":"https://api.github.com/repos/vimc/bb8/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/vimc/bb8/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/vimc/bb8/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vimc/bb8/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/vimc/bb8/statuses/7d57721a85e35f5c0cfcda014740830834eba4aa"}},"author_association":"OWNER"}}
{"actor":{"display_login":"richfitz"}}