{"action":"closed","number":200,"pull_request":{"url":"https://api.github.com/repos/twisted/txmongo/pulls/200","id":90385881,"html_url":"https://github.com/twisted/txmongo/pull/200","diff_url":"https://github.com/twisted/txmongo/pull/200.diff","patch_url":"https://github.com/twisted/txmongo/pull/200.patch","issue_url":"https://api.github.com/repos/twisted/txmongo/issues/200","number":200,"state":"closed","locked":false,"title":"Retrieve the number of versions of any given file","user":{"login":"oddjobz","id":7396121,"avatar_url":"https://avatars.githubusercontent.com/u/7396121?v=3","gravatar_id":"","url":"https://api.github.com/users/oddjobz","html_url":"https://github.com/oddjobz","followers_url":"https://api.github.com/users/oddjobz/followers","following_url":"https://api.github.com/users/oddjobz/following{/other_user}","gists_url":"https://api.github.com/users/oddjobz/gists{/gist_id}","starred_url":"https://api.github.com/users/oddjobz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oddjobz/subscriptions","organizations_url":"https://api.github.com/users/oddjobz/orgs","repos_url":"https://api.github.com/users/oddjobz/repos","events_url":"https://api.github.com/users/oddjobz/events{/privacy}","received_events_url":"https://api.github.com/users/oddjobz/received_events","type":"User","site_admin":false},"body":"This seems like missing critical functionality, once you start building versions of a given file, you really need (at some point) to be able to determine how many versions of that file you have. Cycling through previous would seems to be a horribly inefficient mechanism. This method is 'better', although maybe someone with a better grasp of txmongo's internals could improve it .. for now tho' it provides the functionality and I've added a basic test to show it works.","created_at":"2016-10-21T13:45:42Z","updated_at":"2016-10-22T10:58:29Z","closed_at":"2016-10-22T10:58:29Z","merged_at":"2016-10-22T10:58:29Z","merge_commit_sha":"65243f542889de8b60fb517245524e134c839617","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/twisted/txmongo/pulls/200/commits","review_comments_url":"https://api.github.com/repos/twisted/txmongo/pulls/200/comments","review_comment_url":"https://api.github.com/repos/twisted/txmongo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twisted/txmongo/issues/200/comments","statuses_url":"https://api.github.com/repos/twisted/txmongo/statuses/9406ac0bb828c46b113d5d5dd8f05930f7c69e4f","head":{"label":"oddjobz:master","ref":"master","sha":"9406ac0bb828c46b113d5d5dd8f05930f7c69e4f","user":{"login":"oddjobz","id":7396121,"avatar_url":"https://avatars.githubusercontent.com/u/7396121?v=3","gravatar_id":"","url":"https://api.github.com/users/oddjobz","html_url":"https://github.com/oddjobz","followers_url":"https://api.github.com/users/oddjobz/followers","following_url":"https://api.github.com/users/oddjobz/following{/other_user}","gists_url":"https://api.github.com/users/oddjobz/gists{/gist_id}","starred_url":"https://api.github.com/users/oddjobz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oddjobz/subscriptions","organizations_url":"https://api.github.com/users/oddjobz/orgs","repos_url":"https://api.github.com/users/oddjobz/repos","events_url":"https://api.github.com/users/oddjobz/events{/privacy}","received_events_url":"https://api.github.com/users/oddjobz/received_events","type":"User","site_admin":false},"repo":{"id":69946538,"name":"txmongo","full_name":"oddjobz/txmongo","owner":{"login":"oddjobz","id":7396121,"avatar_url":"https://avatars.githubusercontent.com/u/7396121?v=3","gravatar_id":"","url":"https://api.github.com/users/oddjobz","html_url":"https://github.com/oddjobz","followers_url":"https://api.github.com/users/oddjobz/followers","following_url":"https://api.github.com/users/oddjobz/following{/other_user}","gists_url":"https://api.github.com/users/oddjobz/gists{/gist_id}","starred_url":"https://api.github.com/users/oddjobz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oddjobz/subscriptions","organizations_url":"https://api.github.com/users/oddjobz/orgs","repos_url":"https://api.github.com/users/oddjobz/repos","events_url":"https://api.github.com/users/oddjobz/events{/privacy}","received_events_url":"https://api.github.com/users/oddjobz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oddjobz/txmongo","description":"asynchronous python driver for mongo","fork":true,"url":"https://api.github.com/repos/oddjobz/txmongo","forks_url":"https://api.github.com/repos/oddjobz/txmongo/forks","keys_url":"https://api.github.com/repos/oddjobz/txmongo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oddjobz/txmongo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oddjobz/txmongo/teams","hooks_url":"https://api.github.com/repos/oddjobz/txmongo/hooks","issue_events_url":"https://api.github.com/repos/oddjobz/txmongo/issues/events{/number}","events_url":"https://api.github.com/repos/oddjobz/txmongo/events","assignees_url":"https://api.github.com/repos/oddjobz/txmongo/assignees{/user}","branches_url":"https://api.github.com/repos/oddjobz/txmongo/branches{/branch}","tags_url":"https://api.github.com/repos/oddjobz/txmongo/tags","blobs_url":"https://api.github.com/repos/oddjobz/txmongo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oddjobz/txmongo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oddjobz/txmongo/git/refs{/sha}","trees_url":"https://api.github.com/repos/oddjobz/txmongo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oddjobz/txmongo/statuses/{sha}","languages_url":"https://api.github.com/repos/oddjobz/txmongo/languages","stargazers_url":"https://api.github.com/repos/oddjobz/txmongo/stargazers","contributors_url":"https://api.github.com/repos/oddjobz/txmongo/contributors","subscribers_url":"https://api.github.com/repos/oddjobz/txmongo/subscribers","subscription_url":"https://api.github.com/repos/oddjobz/txmongo/subscription","commits_url":"https://api.github.com/repos/oddjobz/txmongo/commits{/sha}","git_commits_url":"https://api.github.com/repos/oddjobz/txmongo/git/commits{/sha}","comments_url":"https://api.github.com/repos/oddjobz/txmongo/comments{/number}","issue_comment_url":"https://api.github.com/repos/oddjobz/txmongo/issues/comments{/number}","contents_url":"https://api.github.com/repos/oddjobz/txmongo/contents/{+path}","compare_url":"https://api.github.com/repos/oddjobz/txmongo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oddjobz/txmongo/merges","archive_url":"https://api.github.com/repos/oddjobz/txmongo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oddjobz/txmongo/downloads","issues_url":"https://api.github.com/repos/oddjobz/txmongo/issues{/number}","pulls_url":"https://api.github.com/repos/oddjobz/txmongo/pulls{/number}","milestones_url":"https://api.github.com/repos/oddjobz/txmongo/milestones{/number}","notifications_url":"https://api.github.com/repos/oddjobz/txmongo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oddjobz/txmongo/labels{/name}","releases_url":"https://api.github.com/repos/oddjobz/txmongo/releases{/id}","deployments_url":"https://api.github.com/repos/oddjobz/txmongo/deployments","created_at":"2016-10-04T08:26:56Z","updated_at":"2016-10-04T08:26:57Z","pushed_at":"2016-10-22T10:25:53Z","git_url":"git://github.com/oddjobz/txmongo.git","ssh_url":"git@github.com:oddjobz/txmongo.git","clone_url":"https://github.com/oddjobz/txmongo.git","svn_url":"https://github.com/oddjobz/txmongo","homepage":"","size":945,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"twisted:master","ref":"master","sha":"da3870ef897f2f128c95a941c5e2378db8766d7e","user":{"login":"twisted","id":716546,"avatar_url":"https://avatars.githubusercontent.com/u/716546?v=3","gravatar_id":"","url":"https://api.github.com/users/twisted","html_url":"https://github.com/twisted","followers_url":"https://api.github.com/users/twisted/followers","following_url":"https://api.github.com/users/twisted/following{/other_user}","gists_url":"https://api.github.com/users/twisted/gists{/gist_id}","starred_url":"https://api.github.com/users/twisted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twisted/subscriptions","organizations_url":"https://api.github.com/users/twisted/orgs","repos_url":"https://api.github.com/users/twisted/repos","events_url":"https://api.github.com/users/twisted/events{/privacy}","received_events_url":"https://api.github.com/users/twisted/received_events","type":"Organization","site_admin":false},"repo":{"id":318058,"name":"txmongo","full_name":"twisted/txmongo","owner":{"login":"twisted","id":716546,"avatar_url":"https://avatars.githubusercontent.com/u/716546?v=3","gravatar_id":"","url":"https://api.github.com/users/twisted","html_url":"https://github.com/twisted","followers_url":"https://api.github.com/users/twisted/followers","following_url":"https://api.github.com/users/twisted/following{/other_user}","gists_url":"https://api.github.com/users/twisted/gists{/gist_id}","starred_url":"https://api.github.com/users/twisted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twisted/subscriptions","organizations_url":"https://api.github.com/users/twisted/orgs","repos_url":"https://api.github.com/users/twisted/repos","events_url":"https://api.github.com/users/twisted/events{/privacy}","received_events_url":"https://api.github.com/users/twisted/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twisted/txmongo","description":"asynchronous python driver for mongo","fork":false,"url":"https://api.github.com/repos/twisted/txmongo","forks_url":"https://api.github.com/repos/twisted/txmongo/forks","keys_url":"https://api.github.com/repos/twisted/txmongo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twisted/txmongo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twisted/txmongo/teams","hooks_url":"https://api.github.com/repos/twisted/txmongo/hooks","issue_events_url":"https://api.github.com/repos/twisted/txmongo/issues/events{/number}","events_url":"https://api.github.com/repos/twisted/txmongo/events","assignees_url":"https://api.github.com/repos/twisted/txmongo/assignees{/user}","branches_url":"https://api.github.com/repos/twisted/txmongo/branches{/branch}","tags_url":"https://api.github.com/repos/twisted/txmongo/tags","blobs_url":"https://api.github.com/repos/twisted/txmongo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twisted/txmongo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twisted/txmongo/git/refs{/sha}","trees_url":"https://api.github.com/repos/twisted/txmongo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twisted/txmongo/statuses/{sha}","languages_url":"https://api.github.com/repos/twisted/txmongo/languages","stargazers_url":"https://api.github.com/repos/twisted/txmongo/stargazers","contributors_url":"https://api.github.com/repos/twisted/txmongo/contributors","subscribers_url":"https://api.github.com/repos/twisted/txmongo/subscribers","subscription_url":"https://api.github.com/repos/twisted/txmongo/subscription","commits_url":"https://api.github.com/repos/twisted/txmongo/commits{/sha}","git_commits_url":"https://api.github.com/repos/twisted/txmongo/git/commits{/sha}","comments_url":"https://api.github.com/repos/twisted/txmongo/comments{/number}","issue_comment_url":"https://api.github.com/repos/twisted/txmongo/issues/comments{/number}","contents_url":"https://api.github.com/repos/twisted/txmongo/contents/{+path}","compare_url":"https://api.github.com/repos/twisted/txmongo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twisted/txmongo/merges","archive_url":"https://api.github.com/repos/twisted/txmongo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twisted/txmongo/downloads","issues_url":"https://api.github.com/repos/twisted/txmongo/issues{/number}","pulls_url":"https://api.github.com/repos/twisted/txmongo/pulls{/number}","milestones_url":"https://api.github.com/repos/twisted/txmongo/milestones{/number}","notifications_url":"https://api.github.com/repos/twisted/txmongo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twisted/txmongo/labels{/name}","releases_url":"https://api.github.com/repos/twisted/txmongo/releases{/id}","deployments_url":"https://api.github.com/repos/twisted/txmongo/deployments","created_at":"2009-09-26T06:00:05Z","updated_at":"2016-09-29T08:09:01Z","pushed_at":"2016-10-22T10:58:29Z","git_url":"git://github.com/twisted/txmongo.git","ssh_url":"git@github.com:twisted/txmongo.git","clone_url":"https://github.com/twisted/txmongo.git","svn_url":"https://github.com/twisted/txmongo","homepage":"","size":1009,"stargazers_count":282,"watchers_count":282,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":83,"mirror_url":null,"open_issues_count":7,"forks":83,"open_issues":7,"watchers":282,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/twisted/txmongo/pulls/200"},"html":{"href":"https://github.com/twisted/txmongo/pull/200"},"issue":{"href":"https://api.github.com/repos/twisted/txmongo/issues/200"},"comments":{"href":"https://api.github.com/repos/twisted/txmongo/issues/200/comments"},"review_comments":{"href":"https://api.github.com/repos/twisted/txmongo/pulls/200/comments"},"review_comment":{"href":"https://api.github.com/repos/twisted/txmongo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twisted/txmongo/pulls/200/commits"},"statuses":{"href":"https://api.github.com/repos/twisted/txmongo/statuses/9406ac0bb828c46b113d5d5dd8f05930f7c69e4f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"IlyaSkriblovsky","id":909638,"avatar_url":"https://avatars.githubusercontent.com/u/909638?v=3","gravatar_id":"","url":"https://api.github.com/users/IlyaSkriblovsky","html_url":"https://github.com/IlyaSkriblovsky","followers_url":"https://api.github.com/users/IlyaSkriblovsky/followers","following_url":"https://api.github.com/users/IlyaSkriblovsky/following{/other_user}","gists_url":"https://api.github.com/users/IlyaSkriblovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/IlyaSkriblovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IlyaSkriblovsky/subscriptions","organizations_url":"https://api.github.com/users/IlyaSkriblovsky/orgs","repos_url":"https://api.github.com/users/IlyaSkriblovsky/repos","events_url":"https://api.github.com/users/IlyaSkriblovsky/events{/privacy}","received_events_url":"https://api.github.com/users/IlyaSkriblovsky/received_events","type":"User","site_admin":false},"comments":9,"review_comments":6,"commits":26,"additions":60,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"IlyaSkriblovsky"}}