{"action":"created","comment":{"url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/pulls/comments/200838169","pull_request_review_id":135230499,"id":200838169,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDgzODE2OQ==","diff_hunk":"@@ -33,71 +37,85 @@ escape_quotes() {\n                 fi\n             fi\n         fi\n-\n         result+=\"$char\"\n     done\n \n     echo \"$result\"\n }\n \n-passed_args=(\"$@\")\n-pipe_message_args=()\n-\n-logfile=\"${XDG_CACHE_HOME:-$HOME/.cache}/activitywatch/log/aw-watcher-terminal/aw-watcher-bash.log\"\n-fifo_path=\"${XDG_DATA_HOME:-$HOME/.local/share}/activitywatch/aw-watcher-terminal/aw-watcher-terminal-fifo\"\n-\n-# add_arg\n-# Add an argument (e.g. --pid 1234) to the args array and escape the quotes\n-# $1: key\n-# $2: val (or --first-val)\n-# $3: --shift or --no-shift  (use this to remove the latest value)\n-add_arg() {\n-    key=\"$1\"\n-    val=\"$2\"\n-    if [[ \"$val\" = \"--first-val\" ]] || [[ \"$val\" = \"\" ]]; then\n-        val=\"${passed_args[0]}\"\n-    fi\n-    pipe_message_args+=(\"$key \\\"$(escape_quotes \"$val\")\\\"\")\n-    if [[ \"$3\" = \"--shift\" ]] || [[ \"$3\" = \"\" ]]; then\n-        passed_args=(\"${passed_args[@]:1}\")\n-    fi\n-}\n-\n-# Reserved arguments\n-add_arg '--pid'\n-add_arg '--shell'\n-add_arg '--time'\n-\n-event=\"${passed_args[0]}\"\n-add_arg '--event'\n-add_arg '--path' \"$PWD\" --no-shift\n-\n \n-# Add arguments depending on event type\n-case \"$event\" in\n-    'preopen')\n-        ;;\n-    'preexec')\n-        add_arg '--command'\n-        ;;\n-    'precmd')\n-        add_arg '--exit-code'\n-        ;;\n-    'preclose')\n-        ;;\n-    *)\n-        echo \"Unknown event: $event\" >> \"$logfile\"\n+function send_event() {\n+    # aw-watcher-bash \"$BASHPID\" \"$(date --iso-8601=ns)\" 'preexec' 'ls' 'bash'\n+    # for an accurate version of the parameters see add_arg\n+    pipe_message_args=()\n+    event=$1\n+    pid=$2\n+    extra_arg=$3\n+\n+    logfile=\"${XDG_CACHE_HOME:-$HOME/.cache}/activitywatch/log/aw-watcher-terminal/aw-watcher-bash.log\"\n+    fifo_path=\"${XDG_DATA_HOME:-$HOME/.local/share}/activitywatch/aw-watcher-terminal/aw-watcher-terminal-fifo\"\n+\n+    function add_arg() {\n+        # Add an argument (e.g. --pid 1234) to the args array and escape the quotes\n+        # $1: key\n+        # $2: val (or --first-val)\n+        # $3: --shift or --no-shift  (use this to remove the latest value)\n+        key=\"$1\"\n+        val=\"$2\"\n+        pipe_message_args+=(\"$key \\\"$(escape_quotes \"$val\")\\\"\")\n+    }\n+\n+    add_arg '--event' \"$event\"\n+    add_arg '--pid' \"$2\"\n+    add_arg '--path' \"$PWD\"\n+    add_arg '--time ' \"$(date --iso-8601=ns)\"\n+    add_arg '--shell' \"$current_shell\"\n+\n+\n+    # Add arguments depending on event type\n+    case \"$event\" in\n+        'preopen')\n+            ;;\n+        'preexec')\n+            add_arg '--command' \"$extra_arg\"\n+            ;;\n+        'precmd')\n+            add_arg '--exit-code' \"$extra_arg\"\n+            ;;\n+        'preclose')\n+            ;;\n+        *)\n+            echo \"Unknown event: $event\" >> \"$logfile\"\n+            ;;\n+    esac\n+\n+    # send message to pipe\n+    message=\"${pipe_message_args[*]} --send-heartbeat\"\n+    echo \"$message\" > \"$fifo_path\" &\n+\n+    # The background process would keep open if the pipe was not opened for reading at the time of execution\n+    # Therefore delete background process after delay\n+    pipe_sender_pid=\"$!\"\n+    sleep 5 && kill \"$pipe_sender_pid\" &> /dev/null &\n+}\n \n-esac\n+send_aw_watcher_bash_event() {\n+    # Call send_event in a background process to\n+    # prevent blocking and in a subshell to prevent logging\n+    (send_event \"$1\" \"$PPID\" \"$2\" &)\n+}\n \n+aw_watcher_terminal_preclose() {\n+    send_aw_watcher_bash_event 'preclose'\n+}\n \n-message=\"${pipe_message_args[*]} --send-heartbeat\"\n+send_aw_watcher_bash_event 'preopen'\n+trap aw_watcher_terminal_preclose TERM EXIT\n \n-# send message to pipe and logfile\n-echo \"$message\" > \"$fifo_path\" &\n-echo \"$message\" >> \"$logfile\"","path":"aw-watcher-bash.sh","position":null,"original_position":179,"commit_id":"995d1edb5189692c0e54e4f724fa1bfe14e4d8eb","original_commit_id":"681295b224084faa4068b0f480f4e1cc47993343","user":{"login":"johan-bjareholt","id":1398500,"node_id":"MDQ6VXNlcjEzOTg1MDA=","avatar_url":"https://avatars1.githubusercontent.com/u/1398500?v=4","gravatar_id":"","url":"https://api.github.com/users/johan-bjareholt","html_url":"https://github.com/johan-bjareholt","followers_url":"https://api.github.com/users/johan-bjareholt/followers","following_url":"https://api.github.com/users/johan-bjareholt/following{/other_user}","gists_url":"https://api.github.com/users/johan-bjareholt/gists{/gist_id}","starred_url":"https://api.github.com/users/johan-bjareholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johan-bjareholt/subscriptions","organizations_url":"https://api.github.com/users/johan-bjareholt/orgs","repos_url":"https://api.github.com/users/johan-bjareholt/repos","events_url":"https://api.github.com/users/johan-bjareholt/events{/privacy}","received_events_url":"https://api.github.com/users/johan-bjareholt/received_events","type":"User","site_admin":false},"body":"Just thought it was unnecessary, might become large after a few months. We could possibly keep it commented out though to easily enable debugging.","created_at":"2018-07-08T11:58:27Z","updated_at":"2018-07-08T11:58:52Z","html_url":"https://github.com/Otto-AA/aw-watcher-bash/pull/6#discussion_r200838169","pull_request_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/pulls/6","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/pulls/comments/200838169"},"html":{"href":"https://github.com/Otto-AA/aw-watcher-bash/pull/6#discussion_r200838169"},"pull_request":{"href":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/pulls/6"}},"in_reply_to_id":200816523},"pull_request":{"url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/pulls/6","id":199889885,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5ODg5ODg1","html_url":"https://github.com/Otto-AA/aw-watcher-bash/pull/6","diff_url":"https://github.com/Otto-AA/aw-watcher-bash/pull/6.diff","patch_url":"https://github.com/Otto-AA/aw-watcher-bash/pull/6.patch","issue_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/issues/6","number":6,"state":"open","locked":false,"title":"WIP: Merge aw-watcher-bash-preexec into aw-watcher-bash.sh","user":{"login":"johan-bjareholt","id":1398500,"node_id":"MDQ6VXNlcjEzOTg1MDA=","avatar_url":"https://avatars1.githubusercontent.com/u/1398500?v=4","gravatar_id":"","url":"https://api.github.com/users/johan-bjareholt","html_url":"https://github.com/johan-bjareholt","followers_url":"https://api.github.com/users/johan-bjareholt/followers","following_url":"https://api.github.com/users/johan-bjareholt/following{/other_user}","gists_url":"https://api.github.com/users/johan-bjareholt/gists{/gist_id}","starred_url":"https://api.github.com/users/johan-bjareholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johan-bjareholt/subscriptions","organizations_url":"https://api.github.com/users/johan-bjareholt/orgs","repos_url":"https://api.github.com/users/johan-bjareholt/repos","events_url":"https://api.github.com/users/johan-bjareholt/events{/privacy}","received_events_url":"https://api.github.com/users/johan-bjareholt/received_events","type":"User","site_admin":false},"body":"Works, but have not tested properly yet and still don't fully understand the implementation so there is likely multiple errors.\r\nDon't have time to work on it anymore today (but hopefully will tomorrow) so I open this review to let @Otto-AA be able to see the changes in the mean time.\r\n\r\nFixes #5 ","created_at":"2018-07-07T09:53:46Z","updated_at":"2018-07-08T11:58:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0568d6d7a48fa0db70e14ffcae19992dbf41d9a2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/pulls/6/commits","review_comments_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/pulls/6/comments","review_comment_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/issues/6/comments","statuses_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/statuses/995d1edb5189692c0e54e4f724fa1bfe14e4d8eb","head":{"label":"johan-bjareholt:dev","ref":"dev","sha":"995d1edb5189692c0e54e4f724fa1bfe14e4d8eb","user":{"login":"johan-bjareholt","id":1398500,"node_id":"MDQ6VXNlcjEzOTg1MDA=","avatar_url":"https://avatars1.githubusercontent.com/u/1398500?v=4","gravatar_id":"","url":"https://api.github.com/users/johan-bjareholt","html_url":"https://github.com/johan-bjareholt","followers_url":"https://api.github.com/users/johan-bjareholt/followers","following_url":"https://api.github.com/users/johan-bjareholt/following{/other_user}","gists_url":"https://api.github.com/users/johan-bjareholt/gists{/gist_id}","starred_url":"https://api.github.com/users/johan-bjareholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johan-bjareholt/subscriptions","organizations_url":"https://api.github.com/users/johan-bjareholt/orgs","repos_url":"https://api.github.com/users/johan-bjareholt/repos","events_url":"https://api.github.com/users/johan-bjareholt/events{/privacy}","received_events_url":"https://api.github.com/users/johan-bjareholt/received_events","type":"User","site_admin":false},"repo":{"id":140010221,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAwMTAyMjE=","name":"aw-watcher-bash","full_name":"johan-bjareholt/aw-watcher-bash","owner":{"login":"johan-bjareholt","id":1398500,"node_id":"MDQ6VXNlcjEzOTg1MDA=","avatar_url":"https://avatars1.githubusercontent.com/u/1398500?v=4","gravatar_id":"","url":"https://api.github.com/users/johan-bjareholt","html_url":"https://github.com/johan-bjareholt","followers_url":"https://api.github.com/users/johan-bjareholt/followers","following_url":"https://api.github.com/users/johan-bjareholt/following{/other_user}","gists_url":"https://api.github.com/users/johan-bjareholt/gists{/gist_id}","starred_url":"https://api.github.com/users/johan-bjareholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johan-bjareholt/subscriptions","organizations_url":"https://api.github.com/users/johan-bjareholt/orgs","repos_url":"https://api.github.com/users/johan-bjareholt/repos","events_url":"https://api.github.com/users/johan-bjareholt/events{/privacy}","received_events_url":"https://api.github.com/users/johan-bjareholt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johan-bjareholt/aw-watcher-bash","description":null,"fork":true,"url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash","forks_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/forks","keys_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/teams","hooks_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/hooks","issue_events_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/issues/events{/number}","events_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/events","assignees_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/assignees{/user}","branches_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/branches{/branch}","tags_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/tags","blobs_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/git/refs{/sha}","trees_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/statuses/{sha}","languages_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/languages","stargazers_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/stargazers","contributors_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/contributors","subscribers_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/subscribers","subscription_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/subscription","commits_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/commits{/sha}","git_commits_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/git/commits{/sha}","comments_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/comments{/number}","issue_comment_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/issues/comments{/number}","contents_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/contents/{+path}","compare_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/merges","archive_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/downloads","issues_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/issues{/number}","pulls_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/pulls{/number}","milestones_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/milestones{/number}","notifications_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/labels{/name}","releases_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/releases{/id}","deployments_url":"https://api.github.com/repos/johan-bjareholt/aw-watcher-bash/deployments","created_at":"2018-07-06T16:55:36Z","updated_at":"2018-07-07T07:21:06Z","pushed_at":"2018-07-08T11:58:47Z","git_url":"git://github.com/johan-bjareholt/aw-watcher-bash.git","ssh_url":"git@github.com:johan-bjareholt/aw-watcher-bash.git","clone_url":"https://github.com/johan-bjareholt/aw-watcher-bash.git","svn_url":"https://github.com/johan-bjareholt/aw-watcher-bash","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"Otto-AA:master","ref":"master","sha":"85194bb88651ff53acdc53785ef0e0a634281b5c","user":{"login":"Otto-AA","id":21040751,"node_id":"MDQ6VXNlcjIxMDQwNzUx","avatar_url":"https://avatars2.githubusercontent.com/u/21040751?v=4","gravatar_id":"","url":"https://api.github.com/users/Otto-AA","html_url":"https://github.com/Otto-AA","followers_url":"https://api.github.com/users/Otto-AA/followers","following_url":"https://api.github.com/users/Otto-AA/following{/other_user}","gists_url":"https://api.github.com/users/Otto-AA/gists{/gist_id}","starred_url":"https://api.github.com/users/Otto-AA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Otto-AA/subscriptions","organizations_url":"https://api.github.com/users/Otto-AA/orgs","repos_url":"https://api.github.com/users/Otto-AA/repos","events_url":"https://api.github.com/users/Otto-AA/events{/privacy}","received_events_url":"https://api.github.com/users/Otto-AA/received_events","type":"User","site_admin":false},"repo":{"id":138787382,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg3ODczODI=","name":"aw-watcher-bash","full_name":"Otto-AA/aw-watcher-bash","owner":{"login":"Otto-AA","id":21040751,"node_id":"MDQ6VXNlcjIxMDQwNzUx","avatar_url":"https://avatars2.githubusercontent.com/u/21040751?v=4","gravatar_id":"","url":"https://api.github.com/users/Otto-AA","html_url":"https://github.com/Otto-AA","followers_url":"https://api.github.com/users/Otto-AA/followers","following_url":"https://api.github.com/users/Otto-AA/following{/other_user}","gists_url":"https://api.github.com/users/Otto-AA/gists{/gist_id}","starred_url":"https://api.github.com/users/Otto-AA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Otto-AA/subscriptions","organizations_url":"https://api.github.com/users/Otto-AA/orgs","repos_url":"https://api.github.com/users/Otto-AA/repos","events_url":"https://api.github.com/users/Otto-AA/events{/privacy}","received_events_url":"https://api.github.com/users/Otto-AA/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Otto-AA/aw-watcher-bash","description":null,"fork":false,"url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash","forks_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/forks","keys_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/teams","hooks_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/hooks","issue_events_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/issues/events{/number}","events_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/events","assignees_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/assignees{/user}","branches_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/branches{/branch}","tags_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/tags","blobs_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/git/refs{/sha}","trees_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/statuses/{sha}","languages_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/languages","stargazers_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/stargazers","contributors_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/contributors","subscribers_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/subscribers","subscription_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/subscription","commits_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/commits{/sha}","git_commits_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/git/commits{/sha}","comments_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/comments{/number}","issue_comment_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/issues/comments{/number}","contents_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/contents/{+path}","compare_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/merges","archive_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/downloads","issues_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/issues{/number}","pulls_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/pulls{/number}","milestones_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/milestones{/number}","notifications_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/labels{/name}","releases_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/releases{/id}","deployments_url":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/deployments","created_at":"2018-06-26T20:06:25Z","updated_at":"2018-07-07T09:24:14Z","pushed_at":"2018-07-08T11:58:48Z","git_url":"git://github.com/Otto-AA/aw-watcher-bash.git","ssh_url":"git@github.com:Otto-AA/aw-watcher-bash.git","clone_url":"https://github.com/Otto-AA/aw-watcher-bash.git","svn_url":"https://github.com/Otto-AA/aw-watcher-bash","homepage":null,"size":10,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/pulls/6"},"html":{"href":"https://github.com/Otto-AA/aw-watcher-bash/pull/6"},"issue":{"href":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/issues/6"},"comments":{"href":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/Otto-AA/aw-watcher-bash/statuses/995d1edb5189692c0e54e4f724fa1bfe14e4d8eb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"johan-bjareholt"}}