{"action":"closed","number":13,"pull_request":{"url":"https://api.github.com/repos/remeh/upd/pulls/13","id":52742966,"html_url":"https://github.com/remeh/upd/pull/13","diff_url":"https://github.com/remeh/upd/pull/13.diff","patch_url":"https://github.com/remeh/upd/pull/13.patch","issue_url":"https://api.github.com/repos/remeh/upd/issues/13","number":13,"state":"closed","locked":false,"title":"last uploaded: don't add an entry to the response if its metadata is empty","user":{"login":"vrischmann","id":1916079,"avatar_url":"https://avatars.githubusercontent.com/u/1916079?v=3","gravatar_id":"","url":"https://api.github.com/users/vrischmann","html_url":"https://github.com/vrischmann","followers_url":"https://api.github.com/users/vrischmann/followers","following_url":"https://api.github.com/users/vrischmann/following{/other_user}","gists_url":"https://api.github.com/users/vrischmann/gists{/gist_id}","starred_url":"https://api.github.com/users/vrischmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrischmann/subscriptions","organizations_url":"https://api.github.com/users/vrischmann/orgs","repos_url":"https://api.github.com/users/vrischmann/repos","events_url":"https://api.github.com/users/vrischmann/events{/privacy}","received_events_url":"https://api.github.com/users/vrischmann/received_events","type":"User","site_admin":false},"body":"I have some entries returned by GetLastUploaded() that don't exist (I assume because they're deleted). This PR ignores them.","created_at":"2015-12-05T01:47:16Z","updated_at":"2015-12-05T11:42:08Z","closed_at":"2015-12-05T11:42:08Z","merged_at":"2015-12-05T11:42:08Z","merge_commit_sha":"a0dd6cfc30406b7b6a372055c84192e9f8b60449","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/remeh/upd/pulls/13/commits","review_comments_url":"https://api.github.com/repos/remeh/upd/pulls/13/comments","review_comment_url":"https://api.github.com/repos/remeh/upd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/remeh/upd/issues/13/comments","statuses_url":"https://api.github.com/repos/remeh/upd/statuses/3d7256f07082c0c5256c04f9592e433db815459b","head":{"label":"vrischmann:fix-last-uploaded","ref":"fix-last-uploaded","sha":"3d7256f07082c0c5256c04f9592e433db815459b","user":{"login":"vrischmann","id":1916079,"avatar_url":"https://avatars.githubusercontent.com/u/1916079?v=3","gravatar_id":"","url":"https://api.github.com/users/vrischmann","html_url":"https://github.com/vrischmann","followers_url":"https://api.github.com/users/vrischmann/followers","following_url":"https://api.github.com/users/vrischmann/following{/other_user}","gists_url":"https://api.github.com/users/vrischmann/gists{/gist_id}","starred_url":"https://api.github.com/users/vrischmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrischmann/subscriptions","organizations_url":"https://api.github.com/users/vrischmann/orgs","repos_url":"https://api.github.com/users/vrischmann/repos","events_url":"https://api.github.com/users/vrischmann/events{/privacy}","received_events_url":"https://api.github.com/users/vrischmann/received_events","type":"User","site_admin":false},"repo":{"id":37878586,"name":"upd","full_name":"vrischmann/upd","owner":{"login":"vrischmann","id":1916079,"avatar_url":"https://avatars.githubusercontent.com/u/1916079?v=3","gravatar_id":"","url":"https://api.github.com/users/vrischmann","html_url":"https://github.com/vrischmann","followers_url":"https://api.github.com/users/vrischmann/followers","following_url":"https://api.github.com/users/vrischmann/following{/other_user}","gists_url":"https://api.github.com/users/vrischmann/gists{/gist_id}","starred_url":"https://api.github.com/users/vrischmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrischmann/subscriptions","organizations_url":"https://api.github.com/users/vrischmann/orgs","repos_url":"https://api.github.com/users/vrischmann/repos","events_url":"https://api.github.com/users/vrischmann/events{/privacy}","received_events_url":"https://api.github.com/users/vrischmann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vrischmann/upd","description":"Upload from the command-line, share with your browsers.","fork":true,"url":"https://api.github.com/repos/vrischmann/upd","forks_url":"https://api.github.com/repos/vrischmann/upd/forks","keys_url":"https://api.github.com/repos/vrischmann/upd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vrischmann/upd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vrischmann/upd/teams","hooks_url":"https://api.github.com/repos/vrischmann/upd/hooks","issue_events_url":"https://api.github.com/repos/vrischmann/upd/issues/events{/number}","events_url":"https://api.github.com/repos/vrischmann/upd/events","assignees_url":"https://api.github.com/repos/vrischmann/upd/assignees{/user}","branches_url":"https://api.github.com/repos/vrischmann/upd/branches{/branch}","tags_url":"https://api.github.com/repos/vrischmann/upd/tags","blobs_url":"https://api.github.com/repos/vrischmann/upd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vrischmann/upd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vrischmann/upd/git/refs{/sha}","trees_url":"https://api.github.com/repos/vrischmann/upd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vrischmann/upd/statuses/{sha}","languages_url":"https://api.github.com/repos/vrischmann/upd/languages","stargazers_url":"https://api.github.com/repos/vrischmann/upd/stargazers","contributors_url":"https://api.github.com/repos/vrischmann/upd/contributors","subscribers_url":"https://api.github.com/repos/vrischmann/upd/subscribers","subscription_url":"https://api.github.com/repos/vrischmann/upd/subscription","commits_url":"https://api.github.com/repos/vrischmann/upd/commits{/sha}","git_commits_url":"https://api.github.com/repos/vrischmann/upd/git/commits{/sha}","comments_url":"https://api.github.com/repos/vrischmann/upd/comments{/number}","issue_comment_url":"https://api.github.com/repos/vrischmann/upd/issues/comments{/number}","contents_url":"https://api.github.com/repos/vrischmann/upd/contents/{+path}","compare_url":"https://api.github.com/repos/vrischmann/upd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vrischmann/upd/merges","archive_url":"https://api.github.com/repos/vrischmann/upd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vrischmann/upd/downloads","issues_url":"https://api.github.com/repos/vrischmann/upd/issues{/number}","pulls_url":"https://api.github.com/repos/vrischmann/upd/pulls{/number}","milestones_url":"https://api.github.com/repos/vrischmann/upd/milestones{/number}","notifications_url":"https://api.github.com/repos/vrischmann/upd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vrischmann/upd/labels{/name}","releases_url":"https://api.github.com/repos/vrischmann/upd/releases{/id}","created_at":"2015-06-22T20:20:25Z","updated_at":"2015-06-22T20:20:26Z","pushed_at":"2015-12-05T01:51:00Z","git_url":"git://github.com/vrischmann/upd.git","ssh_url":"git@github.com:vrischmann/upd.git","clone_url":"https://github.com/vrischmann/upd.git","svn_url":"https://github.com/vrischmann/upd","homepage":"","size":86,"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":"remeh:master","ref":"master","sha":"30e7fed94fae0bc001b82175578bde529331cb30","user":{"login":"remeh","id":1798689,"avatar_url":"https://avatars.githubusercontent.com/u/1798689?v=3","gravatar_id":"","url":"https://api.github.com/users/remeh","html_url":"https://github.com/remeh","followers_url":"https://api.github.com/users/remeh/followers","following_url":"https://api.github.com/users/remeh/following{/other_user}","gists_url":"https://api.github.com/users/remeh/gists{/gist_id}","starred_url":"https://api.github.com/users/remeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remeh/subscriptions","organizations_url":"https://api.github.com/users/remeh/orgs","repos_url":"https://api.github.com/users/remeh/repos","events_url":"https://api.github.com/users/remeh/events{/privacy}","received_events_url":"https://api.github.com/users/remeh/received_events","type":"User","site_admin":false},"repo":{"id":29859076,"name":"upd","full_name":"remeh/upd","owner":{"login":"remeh","id":1798689,"avatar_url":"https://avatars.githubusercontent.com/u/1798689?v=3","gravatar_id":"","url":"https://api.github.com/users/remeh","html_url":"https://github.com/remeh","followers_url":"https://api.github.com/users/remeh/followers","following_url":"https://api.github.com/users/remeh/following{/other_user}","gists_url":"https://api.github.com/users/remeh/gists{/gist_id}","starred_url":"https://api.github.com/users/remeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remeh/subscriptions","organizations_url":"https://api.github.com/users/remeh/orgs","repos_url":"https://api.github.com/users/remeh/repos","events_url":"https://api.github.com/users/remeh/events{/privacy}","received_events_url":"https://api.github.com/users/remeh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/remeh/upd","description":"Upload from the command-line, share with your browsers.","fork":false,"url":"https://api.github.com/repos/remeh/upd","forks_url":"https://api.github.com/repos/remeh/upd/forks","keys_url":"https://api.github.com/repos/remeh/upd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/remeh/upd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/remeh/upd/teams","hooks_url":"https://api.github.com/repos/remeh/upd/hooks","issue_events_url":"https://api.github.com/repos/remeh/upd/issues/events{/number}","events_url":"https://api.github.com/repos/remeh/upd/events","assignees_url":"https://api.github.com/repos/remeh/upd/assignees{/user}","branches_url":"https://api.github.com/repos/remeh/upd/branches{/branch}","tags_url":"https://api.github.com/repos/remeh/upd/tags","blobs_url":"https://api.github.com/repos/remeh/upd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/remeh/upd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/remeh/upd/git/refs{/sha}","trees_url":"https://api.github.com/repos/remeh/upd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/remeh/upd/statuses/{sha}","languages_url":"https://api.github.com/repos/remeh/upd/languages","stargazers_url":"https://api.github.com/repos/remeh/upd/stargazers","contributors_url":"https://api.github.com/repos/remeh/upd/contributors","subscribers_url":"https://api.github.com/repos/remeh/upd/subscribers","subscription_url":"https://api.github.com/repos/remeh/upd/subscription","commits_url":"https://api.github.com/repos/remeh/upd/commits{/sha}","git_commits_url":"https://api.github.com/repos/remeh/upd/git/commits{/sha}","comments_url":"https://api.github.com/repos/remeh/upd/comments{/number}","issue_comment_url":"https://api.github.com/repos/remeh/upd/issues/comments{/number}","contents_url":"https://api.github.com/repos/remeh/upd/contents/{+path}","compare_url":"https://api.github.com/repos/remeh/upd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/remeh/upd/merges","archive_url":"https://api.github.com/repos/remeh/upd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/remeh/upd/downloads","issues_url":"https://api.github.com/repos/remeh/upd/issues{/number}","pulls_url":"https://api.github.com/repos/remeh/upd/pulls{/number}","milestones_url":"https://api.github.com/repos/remeh/upd/milestones{/number}","notifications_url":"https://api.github.com/repos/remeh/upd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/remeh/upd/labels{/name}","releases_url":"https://api.github.com/repos/remeh/upd/releases{/id}","created_at":"2015-01-26T11:59:06Z","updated_at":"2015-05-07T15:49:58Z","pushed_at":"2015-12-05T11:42:08Z","git_url":"git://github.com/remeh/upd.git","ssh_url":"git@github.com:remeh/upd.git","clone_url":"https://github.com/remeh/upd.git","svn_url":"https://github.com/remeh/upd","homepage":"","size":405,"stargazers_count":10,"watchers_count":10,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/remeh/upd/pulls/13"},"html":{"href":"https://github.com/remeh/upd/pull/13"},"issue":{"href":"https://api.github.com/repos/remeh/upd/issues/13"},"comments":{"href":"https://api.github.com/repos/remeh/upd/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/remeh/upd/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/remeh/upd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/remeh/upd/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/remeh/upd/statuses/3d7256f07082c0c5256c04f9592e433db815459b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"remeh","id":1798689,"avatar_url":"https://avatars.githubusercontent.com/u/1798689?v=3","gravatar_id":"","url":"https://api.github.com/users/remeh","html_url":"https://github.com/remeh","followers_url":"https://api.github.com/users/remeh/followers","following_url":"https://api.github.com/users/remeh/following{/other_user}","gists_url":"https://api.github.com/users/remeh/gists{/gist_id}","starred_url":"https://api.github.com/users/remeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remeh/subscriptions","organizations_url":"https://api.github.com/users/remeh/orgs","repos_url":"https://api.github.com/users/remeh/repos","events_url":"https://api.github.com/users/remeh/events{/privacy}","received_events_url":"https://api.github.com/users/remeh/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":2,"changed_files":2}}