GitHub PullRequestEvent at 2014-12-16 15:18:23
Repository: backdrop
Actor: mattrco
Payload: {"action":"closed","number":390,"pull_request":{"url":"https://api.github.com/repos/alphagov/backdrop/pulls/390","id":26093162,"html_url":"https://github.com/alphagov/backdrop/pull/390","diff_url":"https://github.com/alphagov/backdrop/pull/390.diff","patch_url":"https://github.com/alphagov/backdrop/pull/390.patch","issue_url":"https://api.github.com/repos/alphagov/backdrop/issues/390","number":390,"state":"closed","locked":false,"title":"Improve transform date range handling","user":{"login":"tombooth","id":108382,"avatar_url":"https://avatars.githubusercontent.com/u/108382?v=3","gravatar_id":"","url":"https://api.github.com/users/tombooth","html_url":"https://github.com/tombooth","followers_url":"https://api.github.com/users/tombooth/followers","following_url":"https://api.github.com/users/tombooth/following{/other_user}","gists_url":"https://api.github.com/users/tombooth/gists{/gist_id}","starred_url":"https://api.github.com/users/tombooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombooth/subscriptions","organizations_url":"https://api.github.com/users/tombooth/orgs","repos_url":"https://api.github.com/users/tombooth/repos","events_url":"https://api.github.com/users/tombooth/events{/privacy}","received_events_url":"https://api.github.com/users/tombooth/received_events","type":"User","site_admin":false},"body":"When a collector is run it will generally POST a single record into\r\nbackdrop. This will mean that the earliest and latest values sent\r\nthrough to the transform will be identical. When working with data that\r\nis aggregated by period this will result in no data being returned, so\r\nif this is the case we should change the request to pull in the latest\r\nperiod using the timestamp as the end_at. This should result in use\r\npulling out the aggregated period including the current timestamp.","created_at":"2014-12-15T19:11:46Z","updated_at":"2014-12-16T15:18:23Z","closed_at":"2014-12-16T15:18:23Z","merged_at":"2014-12-16T15:18:23Z","merge_commit_sha":"27ac0bff88077dcfdc2f29b7a12ff94fefcd0539","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/backdrop/pulls/390/commits","review_comments_url":"https://api.github.com/repos/alphagov/backdrop/pulls/390/comments","review_comment_url":"https://api.github.com/repos/alphagov/backdrop/pulls/comments/{number}","comments_url":"https://api.github.com/repos/alphagov/backdrop/issues/390/comments","statuses_url":"https://api.github.com/repos/alphagov/backdrop/statuses/3bca686ce1fdddc22a547a34e18b08bd002a6961","head":{"label":"alphagov:feature/better-ranges","ref":"feature/better-ranges","sha":"3bca686ce1fdddc22a547a34e18b08bd002a6961","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":8884773,"name":"backdrop","full_name":"alphagov/backdrop","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/backdrop","description":"Storing and querying data for the Performance Platform","fork":false,"url":"https://api.github.com/repos/alphagov/backdrop","forks_url":"https://api.github.com/repos/alphagov/backdrop/forks","keys_url":"https://api.github.com/repos/alphagov/backdrop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/backdrop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/backdrop/teams","hooks_url":"https://api.github.com/repos/alphagov/backdrop/hooks","issue_events_url":"https://api.github.com/repos/alphagov/backdrop/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/backdrop/events","assignees_url":"https://api.github.com/repos/alphagov/backdrop/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/backdrop/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/backdrop/tags","blobs_url":"https://api.github.com/repos/alphagov/backdrop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/backdrop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/backdrop/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/backdrop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/backdrop/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/backdrop/languages","stargazers_url":"https://api.github.com/repos/alphagov/backdrop/stargazers","contributors_url":"https://api.github.com/repos/alphagov/backdrop/contributors","subscribers_url":"https://api.github.com/repos/alphagov/backdrop/subscribers","subscription_url":"https://api.github.com/repos/alphagov/backdrop/subscription","commits_url":"https://api.github.com/repos/alphagov/backdrop/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/backdrop/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/backdrop/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/backdrop/issues/comments/{number}","contents_url":"https://api.github.com/repos/alphagov/backdrop/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/backdrop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/backdrop/merges","archive_url":"https://api.github.com/repos/alphagov/backdrop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/backdrop/downloads","issues_url":"https://api.github.com/repos/alphagov/backdrop/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/backdrop/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/backdrop/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/backdrop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/backdrop/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/backdrop/releases{/id}","created_at":"2013-03-19T17:35:45Z","updated_at":"2014-12-16T11:36:20Z","pushed_at":"2014-12-16T15:18:23Z","git_url":"git://github.com/alphagov/backdrop.git","ssh_url":"git@github.com:alphagov/backdrop.git","clone_url":"https://github.com/alphagov/backdrop.git","svn_url":"https://github.com/alphagov/backdrop","homepage":"","size":10193,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":9,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"e6bb5bf552bcda6dbfcc491bf7474523697400ae","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":8884773,"name":"backdrop","full_name":"alphagov/backdrop","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/backdrop","description":"Storing and querying data for the Performance Platform","fork":false,"url":"https://api.github.com/repos/alphagov/backdrop","forks_url":"https://api.github.com/repos/alphagov/backdrop/forks","keys_url":"https://api.github.com/repos/alphagov/backdrop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/backdrop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/backdrop/teams","hooks_url":"https://api.github.com/repos/alphagov/backdrop/hooks","issue_events_url":"https://api.github.com/repos/alphagov/backdrop/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/backdrop/events","assignees_url":"https://api.github.com/repos/alphagov/backdrop/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/backdrop/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/backdrop/tags","blobs_url":"https://api.github.com/repos/alphagov/backdrop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/backdrop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/backdrop/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/backdrop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/backdrop/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/backdrop/languages","stargazers_url":"https://api.github.com/repos/alphagov/backdrop/stargazers","contributors_url":"https://api.github.com/repos/alphagov/backdrop/contributors","subscribers_url":"https://api.github.com/repos/alphagov/backdrop/subscribers","subscription_url":"https://api.github.com/repos/alphagov/backdrop/subscription","commits_url":"https://api.github.com/repos/alphagov/backdrop/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/backdrop/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/backdrop/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/backdrop/issues/comments/{number}","contents_url":"https://api.github.com/repos/alphagov/backdrop/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/backdrop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/backdrop/merges","archive_url":"https://api.github.com/repos/alphagov/backdrop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/backdrop/downloads","issues_url":"https://api.github.com/repos/alphagov/backdrop/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/backdrop/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/backdrop/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/backdrop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/backdrop/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/backdrop/releases{/id}","created_at":"2013-03-19T17:35:45Z","updated_at":"2014-12-16T11:36:20Z","pushed_at":"2014-12-16T15:18:23Z","git_url":"git://github.com/alphagov/backdrop.git","ssh_url":"git@github.com:alphagov/backdrop.git","clone_url":"https://github.com/alphagov/backdrop.git","svn_url":"https://github.com/alphagov/backdrop","homepage":"","size":10193,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/backdrop/pulls/390"},"html":{"href":"https://github.com/alphagov/backdrop/pull/390"},"issue":{"href":"https://api.github.com/repos/alphagov/backdrop/issues/390"},"comments":{"href":"https://api.github.com/repos/alphagov/backdrop/issues/390/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/backdrop/pulls/390/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/backdrop/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/alphagov/backdrop/pulls/390/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/backdrop/statuses/3bca686ce1fdddc22a547a34e18b08bd002a6961"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mattrco","id":207735,"avatar_url":"https://avatars.githubusercontent.com/u/207735?v=3","gravatar_id":"","url":"https://api.github.com/users/mattrco","html_url":"https://github.com/mattrco","followers_url":"https://api.github.com/users/mattrco/followers","following_url":"https://api.github.com/users/mattrco/following{/other_user}","gists_url":"https://api.github.com/users/mattrco/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrco/subscriptions","organizations_url":"https://api.github.com/users/mattrco/orgs","repos_url":"https://api.github.com/users/mattrco/repos","events_url":"https://api.github.com/users/mattrco/events{/privacy}","received_events_url":"https://api.github.com/users/mattrco/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":3,"additions":136,"deletions":10,"changed_files":10}}