{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/jooray/motion-detection/pulls/2","id":37510460,"html_url":"https://github.com/jooray/motion-detection/pull/2","diff_url":"https://github.com/jooray/motion-detection/pull/2.diff","patch_url":"https://github.com/jooray/motion-detection/pull/2.patch","issue_url":"https://api.github.com/repos/jooray/motion-detection/issues/2","number":2,"state":"closed","locked":false,"title":"incorrect counter for image names (fixes ffb41ab)","user":{"login":"dset0x","id":8993055,"avatar_url":"https://avatars.githubusercontent.com/u/8993055?v=3","gravatar_id":"","url":"https://api.github.com/users/dset0x","html_url":"https://github.com/dset0x","followers_url":"https://api.github.com/users/dset0x/followers","following_url":"https://api.github.com/users/dset0x/following{/other_user}","gists_url":"https://api.github.com/users/dset0x/gists{/gist_id}","starred_url":"https://api.github.com/users/dset0x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dset0x/subscriptions","organizations_url":"https://api.github.com/users/dset0x/orgs","repos_url":"https://api.github.com/users/dset0x/repos","events_url":"https://api.github.com/users/dset0x/events{/privacy}","received_events_url":"https://api.github.com/users/dset0x/received_events","type":"User","site_admin":false},"body":"Big whoops in the last PR!\r\n\r\n`number_of_sequence` counts the number of the image in the *current* sequence of changes, hence it gets reset often. This means that images were eventually overwritten.","created_at":"2015-06-11T21:25:31Z","updated_at":"2015-06-12T10:36:10Z","closed_at":"2015-06-12T10:36:10Z","merged_at":"2015-06-12T10:36:10Z","merge_commit_sha":"d9ab84638895471dbbb0f2af9190d1730d475ca3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jooray/motion-detection/pulls/2/commits","review_comments_url":"https://api.github.com/repos/jooray/motion-detection/pulls/2/comments","review_comment_url":"https://api.github.com/repos/jooray/motion-detection/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jooray/motion-detection/issues/2/comments","statuses_url":"https://api.github.com/repos/jooray/motion-detection/statuses/614655703a466ed0720f38dd304566bb2d21b051","head":{"label":"dset0x:fix_correspondence","ref":"fix_correspondence","sha":"614655703a466ed0720f38dd304566bb2d21b051","user":{"login":"dset0x","id":8993055,"avatar_url":"https://avatars.githubusercontent.com/u/8993055?v=3","gravatar_id":"","url":"https://api.github.com/users/dset0x","html_url":"https://github.com/dset0x","followers_url":"https://api.github.com/users/dset0x/followers","following_url":"https://api.github.com/users/dset0x/following{/other_user}","gists_url":"https://api.github.com/users/dset0x/gists{/gist_id}","starred_url":"https://api.github.com/users/dset0x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dset0x/subscriptions","organizations_url":"https://api.github.com/users/dset0x/orgs","repos_url":"https://api.github.com/users/dset0x/repos","events_url":"https://api.github.com/users/dset0x/events{/privacy}","received_events_url":"https://api.github.com/users/dset0x/received_events","type":"User","site_admin":false},"repo":{"id":37214899,"name":"motion-detection","full_name":"dset0x/motion-detection","owner":{"login":"dset0x","id":8993055,"avatar_url":"https://avatars.githubusercontent.com/u/8993055?v=3","gravatar_id":"","url":"https://api.github.com/users/dset0x","html_url":"https://github.com/dset0x","followers_url":"https://api.github.com/users/dset0x/followers","following_url":"https://api.github.com/users/dset0x/following{/other_user}","gists_url":"https://api.github.com/users/dset0x/gists{/gist_id}","starred_url":"https://api.github.com/users/dset0x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dset0x/subscriptions","organizations_url":"https://api.github.com/users/dset0x/orgs","repos_url":"https://api.github.com/users/dset0x/repos","events_url":"https://api.github.com/users/dset0x/events{/privacy}","received_events_url":"https://api.github.com/users/dset0x/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dset0x/motion-detection","description":"OpenCV motion detection for Raspberry Pi + Web interface","fork":true,"url":"https://api.github.com/repos/dset0x/motion-detection","forks_url":"https://api.github.com/repos/dset0x/motion-detection/forks","keys_url":"https://api.github.com/repos/dset0x/motion-detection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dset0x/motion-detection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dset0x/motion-detection/teams","hooks_url":"https://api.github.com/repos/dset0x/motion-detection/hooks","issue_events_url":"https://api.github.com/repos/dset0x/motion-detection/issues/events{/number}","events_url":"https://api.github.com/repos/dset0x/motion-detection/events","assignees_url":"https://api.github.com/repos/dset0x/motion-detection/assignees{/user}","branches_url":"https://api.github.com/repos/dset0x/motion-detection/branches{/branch}","tags_url":"https://api.github.com/repos/dset0x/motion-detection/tags","blobs_url":"https://api.github.com/repos/dset0x/motion-detection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dset0x/motion-detection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dset0x/motion-detection/git/refs{/sha}","trees_url":"https://api.github.com/repos/dset0x/motion-detection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dset0x/motion-detection/statuses/{sha}","languages_url":"https://api.github.com/repos/dset0x/motion-detection/languages","stargazers_url":"https://api.github.com/repos/dset0x/motion-detection/stargazers","contributors_url":"https://api.github.com/repos/dset0x/motion-detection/contributors","subscribers_url":"https://api.github.com/repos/dset0x/motion-detection/subscribers","subscription_url":"https://api.github.com/repos/dset0x/motion-detection/subscription","commits_url":"https://api.github.com/repos/dset0x/motion-detection/commits{/sha}","git_commits_url":"https://api.github.com/repos/dset0x/motion-detection/git/commits{/sha}","comments_url":"https://api.github.com/repos/dset0x/motion-detection/comments{/number}","issue_comment_url":"https://api.github.com/repos/dset0x/motion-detection/issues/comments{/number}","contents_url":"https://api.github.com/repos/dset0x/motion-detection/contents/{+path}","compare_url":"https://api.github.com/repos/dset0x/motion-detection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dset0x/motion-detection/merges","archive_url":"https://api.github.com/repos/dset0x/motion-detection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dset0x/motion-detection/downloads","issues_url":"https://api.github.com/repos/dset0x/motion-detection/issues{/number}","pulls_url":"https://api.github.com/repos/dset0x/motion-detection/pulls{/number}","milestones_url":"https://api.github.com/repos/dset0x/motion-detection/milestones{/number}","notifications_url":"https://api.github.com/repos/dset0x/motion-detection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dset0x/motion-detection/labels{/name}","releases_url":"https://api.github.com/repos/dset0x/motion-detection/releases{/id}","created_at":"2015-06-10T18:27:41Z","updated_at":"2015-06-10T18:27:42Z","pushed_at":"2015-06-11T21:24:59Z","git_url":"git://github.com/dset0x/motion-detection.git","ssh_url":"git@github.com:dset0x/motion-detection.git","clone_url":"https://github.com/dset0x/motion-detection.git","svn_url":"https://github.com/dset0x/motion-detection","homepage":"","size":646,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"jooray:master","ref":"master","sha":"381abe6453ea0d2e1007412abd5edd4215a000fe","user":{"login":"jooray","id":1028688,"avatar_url":"https://avatars.githubusercontent.com/u/1028688?v=3","gravatar_id":"","url":"https://api.github.com/users/jooray","html_url":"https://github.com/jooray","followers_url":"https://api.github.com/users/jooray/followers","following_url":"https://api.github.com/users/jooray/following{/other_user}","gists_url":"https://api.github.com/users/jooray/gists{/gist_id}","starred_url":"https://api.github.com/users/jooray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jooray/subscriptions","organizations_url":"https://api.github.com/users/jooray/orgs","repos_url":"https://api.github.com/users/jooray/repos","events_url":"https://api.github.com/users/jooray/events{/privacy}","received_events_url":"https://api.github.com/users/jooray/received_events","type":"User","site_admin":false},"repo":{"id":37075365,"name":"motion-detection","full_name":"jooray/motion-detection","owner":{"login":"jooray","id":1028688,"avatar_url":"https://avatars.githubusercontent.com/u/1028688?v=3","gravatar_id":"","url":"https://api.github.com/users/jooray","html_url":"https://github.com/jooray","followers_url":"https://api.github.com/users/jooray/followers","following_url":"https://api.github.com/users/jooray/following{/other_user}","gists_url":"https://api.github.com/users/jooray/gists{/gist_id}","starred_url":"https://api.github.com/users/jooray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jooray/subscriptions","organizations_url":"https://api.github.com/users/jooray/orgs","repos_url":"https://api.github.com/users/jooray/repos","events_url":"https://api.github.com/users/jooray/events{/privacy}","received_events_url":"https://api.github.com/users/jooray/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jooray/motion-detection","description":"OpenCV motion detection for Raspberry Pi + Web interface","fork":true,"url":"https://api.github.com/repos/jooray/motion-detection","forks_url":"https://api.github.com/repos/jooray/motion-detection/forks","keys_url":"https://api.github.com/repos/jooray/motion-detection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jooray/motion-detection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jooray/motion-detection/teams","hooks_url":"https://api.github.com/repos/jooray/motion-detection/hooks","issue_events_url":"https://api.github.com/repos/jooray/motion-detection/issues/events{/number}","events_url":"https://api.github.com/repos/jooray/motion-detection/events","assignees_url":"https://api.github.com/repos/jooray/motion-detection/assignees{/user}","branches_url":"https://api.github.com/repos/jooray/motion-detection/branches{/branch}","tags_url":"https://api.github.com/repos/jooray/motion-detection/tags","blobs_url":"https://api.github.com/repos/jooray/motion-detection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jooray/motion-detection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jooray/motion-detection/git/refs{/sha}","trees_url":"https://api.github.com/repos/jooray/motion-detection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jooray/motion-detection/statuses/{sha}","languages_url":"https://api.github.com/repos/jooray/motion-detection/languages","stargazers_url":"https://api.github.com/repos/jooray/motion-detection/stargazers","contributors_url":"https://api.github.com/repos/jooray/motion-detection/contributors","subscribers_url":"https://api.github.com/repos/jooray/motion-detection/subscribers","subscription_url":"https://api.github.com/repos/jooray/motion-detection/subscription","commits_url":"https://api.github.com/repos/jooray/motion-detection/commits{/sha}","git_commits_url":"https://api.github.com/repos/jooray/motion-detection/git/commits{/sha}","comments_url":"https://api.github.com/repos/jooray/motion-detection/comments{/number}","issue_comment_url":"https://api.github.com/repos/jooray/motion-detection/issues/comments{/number}","contents_url":"https://api.github.com/repos/jooray/motion-detection/contents/{+path}","compare_url":"https://api.github.com/repos/jooray/motion-detection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jooray/motion-detection/merges","archive_url":"https://api.github.com/repos/jooray/motion-detection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jooray/motion-detection/downloads","issues_url":"https://api.github.com/repos/jooray/motion-detection/issues{/number}","pulls_url":"https://api.github.com/repos/jooray/motion-detection/pulls{/number}","milestones_url":"https://api.github.com/repos/jooray/motion-detection/milestones{/number}","notifications_url":"https://api.github.com/repos/jooray/motion-detection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jooray/motion-detection/labels{/name}","releases_url":"https://api.github.com/repos/jooray/motion-detection/releases{/id}","created_at":"2015-06-08T15:27:12Z","updated_at":"2015-06-09T15:18:44Z","pushed_at":"2015-06-12T10:36:09Z","git_url":"git://github.com/jooray/motion-detection.git","ssh_url":"git@github.com:jooray/motion-detection.git","clone_url":"https://github.com/jooray/motion-detection.git","svn_url":"https://github.com/jooray/motion-detection","homepage":"","size":646,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jooray/motion-detection/pulls/2"},"html":{"href":"https://github.com/jooray/motion-detection/pull/2"},"issue":{"href":"https://api.github.com/repos/jooray/motion-detection/issues/2"},"comments":{"href":"https://api.github.com/repos/jooray/motion-detection/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/jooray/motion-detection/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/jooray/motion-detection/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jooray/motion-detection/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/jooray/motion-detection/statuses/614655703a466ed0720f38dd304566bb2d21b051"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jooray","id":1028688,"avatar_url":"https://avatars.githubusercontent.com/u/1028688?v=3","gravatar_id":"","url":"https://api.github.com/users/jooray","html_url":"https://github.com/jooray","followers_url":"https://api.github.com/users/jooray/followers","following_url":"https://api.github.com/users/jooray/following{/other_user}","gists_url":"https://api.github.com/users/jooray/gists{/gist_id}","starred_url":"https://api.github.com/users/jooray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jooray/subscriptions","organizations_url":"https://api.github.com/users/jooray/orgs","repos_url":"https://api.github.com/users/jooray/repos","events_url":"https://api.github.com/users/jooray/events{/privacy}","received_events_url":"https://api.github.com/users/jooray/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":5,"changed_files":1}}