{"action":"closed","number":40,"pull_request":{"url":"https://api.github.com/repos/digitalocean/captainslog/pulls/40","id":65828150,"html_url":"https://github.com/digitalocean/captainslog/pull/40","diff_url":"https://github.com/digitalocean/captainslog/pull/40.diff","patch_url":"https://github.com/digitalocean/captainslog/pull/40.patch","issue_url":"https://api.github.com/repos/digitalocean/captainslog/issues/40","number":40,"state":"closed","locked":false,"title":"Problem: want to tag logs with durations","user":{"login":"taotetek","id":206719,"avatar_url":"https://avatars.githubusercontent.com/u/206719?v=3","gravatar_id":"","url":"https://api.github.com/users/taotetek","html_url":"https://github.com/taotetek","followers_url":"https://api.github.com/users/taotetek/followers","following_url":"https://api.github.com/users/taotetek/following{/other_user}","gists_url":"https://api.github.com/users/taotetek/gists{/gist_id}","starred_url":"https://api.github.com/users/taotetek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taotetek/subscriptions","organizations_url":"https://api.github.com/users/taotetek/orgs","repos_url":"https://api.github.com/users/taotetek/repos","events_url":"https://api.github.com/users/taotetek/events{/privacy}","received_events_url":"https://api.github.com/users/taotetek/received_events","type":"User","site_admin":false},"body":"To solve a problem we needed the ability to tag logs with a duration since the last time a log that matched characteristics of that log line was seen.  The PR adds TimeSinceTransformer, a transformer which serves this purpose.","created_at":"2016-04-08T18:32:29Z","updated_at":"2016-04-08T18:40:57Z","closed_at":"2016-04-08T18:40:57Z","merged_at":"2016-04-08T18:40:57Z","merge_commit_sha":"516e170a24fe83563d816a99fc58f7e903a72065","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/digitalocean/captainslog/pulls/40/commits","review_comments_url":"https://api.github.com/repos/digitalocean/captainslog/pulls/40/comments","review_comment_url":"https://api.github.com/repos/digitalocean/captainslog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/digitalocean/captainslog/issues/40/comments","statuses_url":"https://api.github.com/repos/digitalocean/captainslog/statuses/0134bfbb01229054cb15d5a9d4202de964e4c31a","head":{"label":"taotetek:master","ref":"master","sha":"0134bfbb01229054cb15d5a9d4202de964e4c31a","user":{"login":"taotetek","id":206719,"avatar_url":"https://avatars.githubusercontent.com/u/206719?v=3","gravatar_id":"","url":"https://api.github.com/users/taotetek","html_url":"https://github.com/taotetek","followers_url":"https://api.github.com/users/taotetek/followers","following_url":"https://api.github.com/users/taotetek/following{/other_user}","gists_url":"https://api.github.com/users/taotetek/gists{/gist_id}","starred_url":"https://api.github.com/users/taotetek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taotetek/subscriptions","organizations_url":"https://api.github.com/users/taotetek/orgs","repos_url":"https://api.github.com/users/taotetek/repos","events_url":"https://api.github.com/users/taotetek/events{/privacy}","received_events_url":"https://api.github.com/users/taotetek/received_events","type":"User","site_admin":false},"repo":{"id":54788700,"name":"captainslog","full_name":"taotetek/captainslog","owner":{"login":"taotetek","id":206719,"avatar_url":"https://avatars.githubusercontent.com/u/206719?v=3","gravatar_id":"","url":"https://api.github.com/users/taotetek","html_url":"https://github.com/taotetek","followers_url":"https://api.github.com/users/taotetek/followers","following_url":"https://api.github.com/users/taotetek/following{/other_user}","gists_url":"https://api.github.com/users/taotetek/gists{/gist_id}","starred_url":"https://api.github.com/users/taotetek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taotetek/subscriptions","organizations_url":"https://api.github.com/users/taotetek/orgs","repos_url":"https://api.github.com/users/taotetek/repos","events_url":"https://api.github.com/users/taotetek/events{/privacy}","received_events_url":"https://api.github.com/users/taotetek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/taotetek/captainslog","description":"A Syslog Protocol Tool","fork":true,"url":"https://api.github.com/repos/taotetek/captainslog","forks_url":"https://api.github.com/repos/taotetek/captainslog/forks","keys_url":"https://api.github.com/repos/taotetek/captainslog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taotetek/captainslog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taotetek/captainslog/teams","hooks_url":"https://api.github.com/repos/taotetek/captainslog/hooks","issue_events_url":"https://api.github.com/repos/taotetek/captainslog/issues/events{/number}","events_url":"https://api.github.com/repos/taotetek/captainslog/events","assignees_url":"https://api.github.com/repos/taotetek/captainslog/assignees{/user}","branches_url":"https://api.github.com/repos/taotetek/captainslog/branches{/branch}","tags_url":"https://api.github.com/repos/taotetek/captainslog/tags","blobs_url":"https://api.github.com/repos/taotetek/captainslog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taotetek/captainslog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taotetek/captainslog/git/refs{/sha}","trees_url":"https://api.github.com/repos/taotetek/captainslog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taotetek/captainslog/statuses/{sha}","languages_url":"https://api.github.com/repos/taotetek/captainslog/languages","stargazers_url":"https://api.github.com/repos/taotetek/captainslog/stargazers","contributors_url":"https://api.github.com/repos/taotetek/captainslog/contributors","subscribers_url":"https://api.github.com/repos/taotetek/captainslog/subscribers","subscription_url":"https://api.github.com/repos/taotetek/captainslog/subscription","commits_url":"https://api.github.com/repos/taotetek/captainslog/commits{/sha}","git_commits_url":"https://api.github.com/repos/taotetek/captainslog/git/commits{/sha}","comments_url":"https://api.github.com/repos/taotetek/captainslog/comments{/number}","issue_comment_url":"https://api.github.com/repos/taotetek/captainslog/issues/comments{/number}","contents_url":"https://api.github.com/repos/taotetek/captainslog/contents/{+path}","compare_url":"https://api.github.com/repos/taotetek/captainslog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taotetek/captainslog/merges","archive_url":"https://api.github.com/repos/taotetek/captainslog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taotetek/captainslog/downloads","issues_url":"https://api.github.com/repos/taotetek/captainslog/issues{/number}","pulls_url":"https://api.github.com/repos/taotetek/captainslog/pulls{/number}","milestones_url":"https://api.github.com/repos/taotetek/captainslog/milestones{/number}","notifications_url":"https://api.github.com/repos/taotetek/captainslog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taotetek/captainslog/labels{/name}","releases_url":"https://api.github.com/repos/taotetek/captainslog/releases{/id}","deployments_url":"https://api.github.com/repos/taotetek/captainslog/deployments","created_at":"2016-03-26T16:41:51Z","updated_at":"2016-03-26T16:41:52Z","pushed_at":"2016-04-08T18:36:12Z","git_url":"git://github.com/taotetek/captainslog.git","ssh_url":"git@github.com:taotetek/captainslog.git","clone_url":"https://github.com/taotetek/captainslog.git","svn_url":"https://github.com/taotetek/captainslog","homepage":null,"size":102,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"digitalocean:master","ref":"master","sha":"ffdf500cbbba46ab064e33390bf5bcd456644a50","user":{"login":"digitalocean","id":4650108,"avatar_url":"https://avatars.githubusercontent.com/u/4650108?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalocean","html_url":"https://github.com/digitalocean","followers_url":"https://api.github.com/users/digitalocean/followers","following_url":"https://api.github.com/users/digitalocean/following{/other_user}","gists_url":"https://api.github.com/users/digitalocean/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalocean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalocean/subscriptions","organizations_url":"https://api.github.com/users/digitalocean/orgs","repos_url":"https://api.github.com/users/digitalocean/repos","events_url":"https://api.github.com/users/digitalocean/events{/privacy}","received_events_url":"https://api.github.com/users/digitalocean/received_events","type":"Organization","site_admin":false},"repo":{"id":47692333,"name":"captainslog","full_name":"digitalocean/captainslog","owner":{"login":"digitalocean","id":4650108,"avatar_url":"https://avatars.githubusercontent.com/u/4650108?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalocean","html_url":"https://github.com/digitalocean","followers_url":"https://api.github.com/users/digitalocean/followers","following_url":"https://api.github.com/users/digitalocean/following{/other_user}","gists_url":"https://api.github.com/users/digitalocean/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalocean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalocean/subscriptions","organizations_url":"https://api.github.com/users/digitalocean/orgs","repos_url":"https://api.github.com/users/digitalocean/repos","events_url":"https://api.github.com/users/digitalocean/events{/privacy}","received_events_url":"https://api.github.com/users/digitalocean/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/digitalocean/captainslog","description":"A Syslog Protocol Tool","fork":false,"url":"https://api.github.com/repos/digitalocean/captainslog","forks_url":"https://api.github.com/repos/digitalocean/captainslog/forks","keys_url":"https://api.github.com/repos/digitalocean/captainslog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digitalocean/captainslog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digitalocean/captainslog/teams","hooks_url":"https://api.github.com/repos/digitalocean/captainslog/hooks","issue_events_url":"https://api.github.com/repos/digitalocean/captainslog/issues/events{/number}","events_url":"https://api.github.com/repos/digitalocean/captainslog/events","assignees_url":"https://api.github.com/repos/digitalocean/captainslog/assignees{/user}","branches_url":"https://api.github.com/repos/digitalocean/captainslog/branches{/branch}","tags_url":"https://api.github.com/repos/digitalocean/captainslog/tags","blobs_url":"https://api.github.com/repos/digitalocean/captainslog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digitalocean/captainslog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digitalocean/captainslog/git/refs{/sha}","trees_url":"https://api.github.com/repos/digitalocean/captainslog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digitalocean/captainslog/statuses/{sha}","languages_url":"https://api.github.com/repos/digitalocean/captainslog/languages","stargazers_url":"https://api.github.com/repos/digitalocean/captainslog/stargazers","contributors_url":"https://api.github.com/repos/digitalocean/captainslog/contributors","subscribers_url":"https://api.github.com/repos/digitalocean/captainslog/subscribers","subscription_url":"https://api.github.com/repos/digitalocean/captainslog/subscription","commits_url":"https://api.github.com/repos/digitalocean/captainslog/commits{/sha}","git_commits_url":"https://api.github.com/repos/digitalocean/captainslog/git/commits{/sha}","comments_url":"https://api.github.com/repos/digitalocean/captainslog/comments{/number}","issue_comment_url":"https://api.github.com/repos/digitalocean/captainslog/issues/comments{/number}","contents_url":"https://api.github.com/repos/digitalocean/captainslog/contents/{+path}","compare_url":"https://api.github.com/repos/digitalocean/captainslog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digitalocean/captainslog/merges","archive_url":"https://api.github.com/repos/digitalocean/captainslog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digitalocean/captainslog/downloads","issues_url":"https://api.github.com/repos/digitalocean/captainslog/issues{/number}","pulls_url":"https://api.github.com/repos/digitalocean/captainslog/pulls{/number}","milestones_url":"https://api.github.com/repos/digitalocean/captainslog/milestones{/number}","notifications_url":"https://api.github.com/repos/digitalocean/captainslog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digitalocean/captainslog/labels{/name}","releases_url":"https://api.github.com/repos/digitalocean/captainslog/releases{/id}","deployments_url":"https://api.github.com/repos/digitalocean/captainslog/deployments","created_at":"2015-12-09T13:14:54Z","updated_at":"2016-04-04T08:29:17Z","pushed_at":"2016-04-08T18:40:57Z","git_url":"git://github.com/digitalocean/captainslog.git","ssh_url":"git@github.com:digitalocean/captainslog.git","clone_url":"https://github.com/digitalocean/captainslog.git","svn_url":"https://github.com/digitalocean/captainslog","homepage":null,"size":95,"stargazers_count":28,"watchers_count":28,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":0,"forks":6,"open_issues":0,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/digitalocean/captainslog/pulls/40"},"html":{"href":"https://github.com/digitalocean/captainslog/pull/40"},"issue":{"href":"https://api.github.com/repos/digitalocean/captainslog/issues/40"},"comments":{"href":"https://api.github.com/repos/digitalocean/captainslog/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/digitalocean/captainslog/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/digitalocean/captainslog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/digitalocean/captainslog/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/digitalocean/captainslog/statuses/0134bfbb01229054cb15d5a9d4202de964e4c31a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"marc-lebourdais","id":4622295,"avatar_url":"https://avatars.githubusercontent.com/u/4622295?v=3","gravatar_id":"","url":"https://api.github.com/users/marc-lebourdais","html_url":"https://github.com/marc-lebourdais","followers_url":"https://api.github.com/users/marc-lebourdais/followers","following_url":"https://api.github.com/users/marc-lebourdais/following{/other_user}","gists_url":"https://api.github.com/users/marc-lebourdais/gists{/gist_id}","starred_url":"https://api.github.com/users/marc-lebourdais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marc-lebourdais/subscriptions","organizations_url":"https://api.github.com/users/marc-lebourdais/orgs","repos_url":"https://api.github.com/users/marc-lebourdais/repos","events_url":"https://api.github.com/users/marc-lebourdais/events{/privacy}","received_events_url":"https://api.github.com/users/marc-lebourdais/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":4,"additions":186,"deletions":29,"changed_files":8}}