{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/gooddata/tmpcleaner/pulls/21","id":48710977,"html_url":"https://github.com/gooddata/tmpcleaner/pull/21","diff_url":"https://github.com/gooddata/tmpcleaner/pull/21.diff","patch_url":"https://github.com/gooddata/tmpcleaner/pull/21.patch","issue_url":"https://api.github.com/repos/gooddata/tmpcleaner/issues/21","number":21,"state":"open","locked":false,"title":"BUGFIX: PAAS-1931 fix invalid statistics","user":{"login":"pbenas","id":10399279,"avatar_url":"https://avatars.githubusercontent.com/u/10399279?v=3","gravatar_id":"","url":"https://api.github.com/users/pbenas","html_url":"https://github.com/pbenas","followers_url":"https://api.github.com/users/pbenas/followers","following_url":"https://api.github.com/users/pbenas/following{/other_user}","gists_url":"https://api.github.com/users/pbenas/gists{/gist_id}","starred_url":"https://api.github.com/users/pbenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbenas/subscriptions","organizations_url":"https://api.github.com/users/pbenas/orgs","repos_url":"https://api.github.com/users/pbenas/repos","events_url":"https://api.github.com/users/pbenas/events{/privacy}","received_events_url":"https://api.github.com/users/pbenas/received_events","type":"User","site_admin":false},"body":"Update the statistics only in case of successful removal.\r\nBefore this fix, nonempty directories were counted multiple times\r\nand files/dirs deleted by different tool than tmpcleaner were taken\r\ninto account too.","created_at":"2015-10-26T08:12:00Z","updated_at":"2015-10-26T08:12:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gooddata/tmpcleaner/pulls/21/commits","review_comments_url":"https://api.github.com/repos/gooddata/tmpcleaner/pulls/21/comments","review_comment_url":"https://api.github.com/repos/gooddata/tmpcleaner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gooddata/tmpcleaner/issues/21/comments","statuses_url":"https://api.github.com/repos/gooddata/tmpcleaner/statuses/b32658181638f7367446c931312a93296a9b289d","head":{"label":"pbenas:stats","ref":"stats","sha":"b32658181638f7367446c931312a93296a9b289d","user":{"login":"pbenas","id":10399279,"avatar_url":"https://avatars.githubusercontent.com/u/10399279?v=3","gravatar_id":"","url":"https://api.github.com/users/pbenas","html_url":"https://github.com/pbenas","followers_url":"https://api.github.com/users/pbenas/followers","following_url":"https://api.github.com/users/pbenas/following{/other_user}","gists_url":"https://api.github.com/users/pbenas/gists{/gist_id}","starred_url":"https://api.github.com/users/pbenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbenas/subscriptions","organizations_url":"https://api.github.com/users/pbenas/orgs","repos_url":"https://api.github.com/users/pbenas/repos","events_url":"https://api.github.com/users/pbenas/events{/privacy}","received_events_url":"https://api.github.com/users/pbenas/received_events","type":"User","site_admin":false},"repo":{"id":34054844,"name":"tmpcleaner","full_name":"pbenas/tmpcleaner","owner":{"login":"pbenas","id":10399279,"avatar_url":"https://avatars.githubusercontent.com/u/10399279?v=3","gravatar_id":"","url":"https://api.github.com/users/pbenas","html_url":"https://github.com/pbenas","followers_url":"https://api.github.com/users/pbenas/followers","following_url":"https://api.github.com/users/pbenas/following{/other_user}","gists_url":"https://api.github.com/users/pbenas/gists{/gist_id}","starred_url":"https://api.github.com/users/pbenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbenas/subscriptions","organizations_url":"https://api.github.com/users/pbenas/orgs","repos_url":"https://api.github.com/users/pbenas/repos","events_url":"https://api.github.com/users/pbenas/events{/privacy}","received_events_url":"https://api.github.com/users/pbenas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pbenas/tmpcleaner","description":"Advanced files/directories cleaner","fork":true,"url":"https://api.github.com/repos/pbenas/tmpcleaner","forks_url":"https://api.github.com/repos/pbenas/tmpcleaner/forks","keys_url":"https://api.github.com/repos/pbenas/tmpcleaner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pbenas/tmpcleaner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pbenas/tmpcleaner/teams","hooks_url":"https://api.github.com/repos/pbenas/tmpcleaner/hooks","issue_events_url":"https://api.github.com/repos/pbenas/tmpcleaner/issues/events{/number}","events_url":"https://api.github.com/repos/pbenas/tmpcleaner/events","assignees_url":"https://api.github.com/repos/pbenas/tmpcleaner/assignees{/user}","branches_url":"https://api.github.com/repos/pbenas/tmpcleaner/branches{/branch}","tags_url":"https://api.github.com/repos/pbenas/tmpcleaner/tags","blobs_url":"https://api.github.com/repos/pbenas/tmpcleaner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pbenas/tmpcleaner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pbenas/tmpcleaner/git/refs{/sha}","trees_url":"https://api.github.com/repos/pbenas/tmpcleaner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pbenas/tmpcleaner/statuses/{sha}","languages_url":"https://api.github.com/repos/pbenas/tmpcleaner/languages","stargazers_url":"https://api.github.com/repos/pbenas/tmpcleaner/stargazers","contributors_url":"https://api.github.com/repos/pbenas/tmpcleaner/contributors","subscribers_url":"https://api.github.com/repos/pbenas/tmpcleaner/subscribers","subscription_url":"https://api.github.com/repos/pbenas/tmpcleaner/subscription","commits_url":"https://api.github.com/repos/pbenas/tmpcleaner/commits{/sha}","git_commits_url":"https://api.github.com/repos/pbenas/tmpcleaner/git/commits{/sha}","comments_url":"https://api.github.com/repos/pbenas/tmpcleaner/comments{/number}","issue_comment_url":"https://api.github.com/repos/pbenas/tmpcleaner/issues/comments{/number}","contents_url":"https://api.github.com/repos/pbenas/tmpcleaner/contents/{+path}","compare_url":"https://api.github.com/repos/pbenas/tmpcleaner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pbenas/tmpcleaner/merges","archive_url":"https://api.github.com/repos/pbenas/tmpcleaner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pbenas/tmpcleaner/downloads","issues_url":"https://api.github.com/repos/pbenas/tmpcleaner/issues{/number}","pulls_url":"https://api.github.com/repos/pbenas/tmpcleaner/pulls{/number}","milestones_url":"https://api.github.com/repos/pbenas/tmpcleaner/milestones{/number}","notifications_url":"https://api.github.com/repos/pbenas/tmpcleaner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pbenas/tmpcleaner/labels{/name}","releases_url":"https://api.github.com/repos/pbenas/tmpcleaner/releases{/id}","created_at":"2015-04-16T12:36:56Z","updated_at":"2015-04-16T12:36:56Z","pushed_at":"2015-10-26T08:11:24Z","git_url":"git://github.com/pbenas/tmpcleaner.git","ssh_url":"git@github.com:pbenas/tmpcleaner.git","clone_url":"https://github.com/pbenas/tmpcleaner.git","svn_url":"https://github.com/pbenas/tmpcleaner","homepage":null,"size":211,"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":"gooddata:master","ref":"master","sha":"58f51bd84bd3a727ccde222b0116f2191bb3103a","user":{"login":"gooddata","id":291394,"avatar_url":"https://avatars.githubusercontent.com/u/291394?v=3","gravatar_id":"","url":"https://api.github.com/users/gooddata","html_url":"https://github.com/gooddata","followers_url":"https://api.github.com/users/gooddata/followers","following_url":"https://api.github.com/users/gooddata/following{/other_user}","gists_url":"https://api.github.com/users/gooddata/gists{/gist_id}","starred_url":"https://api.github.com/users/gooddata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gooddata/subscriptions","organizations_url":"https://api.github.com/users/gooddata/orgs","repos_url":"https://api.github.com/users/gooddata/repos","events_url":"https://api.github.com/users/gooddata/events{/privacy}","received_events_url":"https://api.github.com/users/gooddata/received_events","type":"Organization","site_admin":false},"repo":{"id":15673812,"name":"tmpcleaner","full_name":"gooddata/tmpcleaner","owner":{"login":"gooddata","id":291394,"avatar_url":"https://avatars.githubusercontent.com/u/291394?v=3","gravatar_id":"","url":"https://api.github.com/users/gooddata","html_url":"https://github.com/gooddata","followers_url":"https://api.github.com/users/gooddata/followers","following_url":"https://api.github.com/users/gooddata/following{/other_user}","gists_url":"https://api.github.com/users/gooddata/gists{/gist_id}","starred_url":"https://api.github.com/users/gooddata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gooddata/subscriptions","organizations_url":"https://api.github.com/users/gooddata/orgs","repos_url":"https://api.github.com/users/gooddata/repos","events_url":"https://api.github.com/users/gooddata/events{/privacy}","received_events_url":"https://api.github.com/users/gooddata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gooddata/tmpcleaner","description":"Advanced files/directories cleaner","fork":false,"url":"https://api.github.com/repos/gooddata/tmpcleaner","forks_url":"https://api.github.com/repos/gooddata/tmpcleaner/forks","keys_url":"https://api.github.com/repos/gooddata/tmpcleaner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gooddata/tmpcleaner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gooddata/tmpcleaner/teams","hooks_url":"https://api.github.com/repos/gooddata/tmpcleaner/hooks","issue_events_url":"https://api.github.com/repos/gooddata/tmpcleaner/issues/events{/number}","events_url":"https://api.github.com/repos/gooddata/tmpcleaner/events","assignees_url":"https://api.github.com/repos/gooddata/tmpcleaner/assignees{/user}","branches_url":"https://api.github.com/repos/gooddata/tmpcleaner/branches{/branch}","tags_url":"https://api.github.com/repos/gooddata/tmpcleaner/tags","blobs_url":"https://api.github.com/repos/gooddata/tmpcleaner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gooddata/tmpcleaner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gooddata/tmpcleaner/git/refs{/sha}","trees_url":"https://api.github.com/repos/gooddata/tmpcleaner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gooddata/tmpcleaner/statuses/{sha}","languages_url":"https://api.github.com/repos/gooddata/tmpcleaner/languages","stargazers_url":"https://api.github.com/repos/gooddata/tmpcleaner/stargazers","contributors_url":"https://api.github.com/repos/gooddata/tmpcleaner/contributors","subscribers_url":"https://api.github.com/repos/gooddata/tmpcleaner/subscribers","subscription_url":"https://api.github.com/repos/gooddata/tmpcleaner/subscription","commits_url":"https://api.github.com/repos/gooddata/tmpcleaner/commits{/sha}","git_commits_url":"https://api.github.com/repos/gooddata/tmpcleaner/git/commits{/sha}","comments_url":"https://api.github.com/repos/gooddata/tmpcleaner/comments{/number}","issue_comment_url":"https://api.github.com/repos/gooddata/tmpcleaner/issues/comments{/number}","contents_url":"https://api.github.com/repos/gooddata/tmpcleaner/contents/{+path}","compare_url":"https://api.github.com/repos/gooddata/tmpcleaner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gooddata/tmpcleaner/merges","archive_url":"https://api.github.com/repos/gooddata/tmpcleaner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gooddata/tmpcleaner/downloads","issues_url":"https://api.github.com/repos/gooddata/tmpcleaner/issues{/number}","pulls_url":"https://api.github.com/repos/gooddata/tmpcleaner/pulls{/number}","milestones_url":"https://api.github.com/repos/gooddata/tmpcleaner/milestones{/number}","notifications_url":"https://api.github.com/repos/gooddata/tmpcleaner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gooddata/tmpcleaner/labels{/name}","releases_url":"https://api.github.com/repos/gooddata/tmpcleaner/releases{/id}","created_at":"2014-01-06T12:47:42Z","updated_at":"2015-05-20T12:38:54Z","pushed_at":"2015-10-23T12:22:32Z","git_url":"git://github.com/gooddata/tmpcleaner.git","ssh_url":"git@github.com:gooddata/tmpcleaner.git","clone_url":"https://github.com/gooddata/tmpcleaner.git","svn_url":"https://github.com/gooddata/tmpcleaner","homepage":null,"size":351,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gooddata/tmpcleaner/pulls/21"},"html":{"href":"https://github.com/gooddata/tmpcleaner/pull/21"},"issue":{"href":"https://api.github.com/repos/gooddata/tmpcleaner/issues/21"},"comments":{"href":"https://api.github.com/repos/gooddata/tmpcleaner/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/gooddata/tmpcleaner/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/gooddata/tmpcleaner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gooddata/tmpcleaner/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/gooddata/tmpcleaner/statuses/b32658181638f7367446c931312a93296a9b289d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":3,"changed_files":3}}