{"action":"opened","number":391,"pull_request":{"url":"https://api.github.com/repos/src-d/engine/pulls/391","id":186319516,"html_url":"https://github.com/src-d/engine/pull/391","diff_url":"https://github.com/src-d/engine/pull/391.diff","patch_url":"https://github.com/src-d/engine/pull/391.patch","issue_url":"https://api.github.com/repos/src-d/engine/issues/391","number":391,"state":"open","locked":false,"title":"Change log level for closing repository message","user":{"login":"smacker","id":406916,"avatar_url":"https://avatars0.githubusercontent.com/u/406916?v=4","gravatar_id":"","url":"https://api.github.com/users/smacker","html_url":"https://github.com/smacker","followers_url":"https://api.github.com/users/smacker/followers","following_url":"https://api.github.com/users/smacker/following{/other_user}","gists_url":"https://api.github.com/users/smacker/gists{/gist_id}","starred_url":"https://api.github.com/users/smacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smacker/subscriptions","organizations_url":"https://api.github.com/users/smacker/orgs","repos_url":"https://api.github.com/users/smacker/repos","events_url":"https://api.github.com/users/smacker/events{/privacy}","received_events_url":"https://api.github.com/users/smacker/received_events","type":"User","site_admin":false},"body":"After https://github.com/src-d/engine/pull/380/files we call `close()` method on `TaskCompletion` and also call it on `destroyObject`. It causes unnecessary warnings. According to code, it expected behavior now and shouldn't be a warning.\r\n\r\nSteps to reproduce:\r\n```\r\n> import tech.sourced.engine._\r\n> val engine = Engine(spark, \"/Users/smacker/Work/gemini/src/test/resources/siva\", \"siva\")\r\n> val r = engine.getRepositories.getHEAD.getCommits.getTreeEntries.getBlobs.filter('is_binary === false).cache()\r\n> r.show()\r\n\r\n18/05/07 12:59:14 WARN RepositoryProvider: closing repository at /private/var/folders/qq/2hysx6wj34d040mcby284j300000gn/T/spark-bb7cd59a-8173-4dc9-8436-077b3ae6c794/processing-repositories/E4236CDEBF2574B13D4381645209F7B8/2636f3c62f1a407b2996da6e3fe6fdc5d1ccd764.siva; returning object to the pool failed because it was already returned\r\n```","created_at":"2018-05-07T11:00:21Z","updated_at":"2018-05-07T11:00:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/src-d/engine/pulls/391/commits","review_comments_url":"https://api.github.com/repos/src-d/engine/pulls/391/comments","review_comment_url":"https://api.github.com/repos/src-d/engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/src-d/engine/issues/391/comments","statuses_url":"https://api.github.com/repos/src-d/engine/statuses/a96d8fcae72571247f9e012631adbad95905c9a4","head":{"label":"smacker:repo_close_remove_warning","ref":"repo_close_remove_warning","sha":"a96d8fcae72571247f9e012631adbad95905c9a4","user":{"login":"smacker","id":406916,"avatar_url":"https://avatars0.githubusercontent.com/u/406916?v=4","gravatar_id":"","url":"https://api.github.com/users/smacker","html_url":"https://github.com/smacker","followers_url":"https://api.github.com/users/smacker/followers","following_url":"https://api.github.com/users/smacker/following{/other_user}","gists_url":"https://api.github.com/users/smacker/gists{/gist_id}","starred_url":"https://api.github.com/users/smacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smacker/subscriptions","organizations_url":"https://api.github.com/users/smacker/orgs","repos_url":"https://api.github.com/users/smacker/repos","events_url":"https://api.github.com/users/smacker/events{/privacy}","received_events_url":"https://api.github.com/users/smacker/received_events","type":"User","site_admin":false},"repo":{"id":131045669,"name":"engine","full_name":"smacker/engine","owner":{"login":"smacker","id":406916,"avatar_url":"https://avatars0.githubusercontent.com/u/406916?v=4","gravatar_id":"","url":"https://api.github.com/users/smacker","html_url":"https://github.com/smacker","followers_url":"https://api.github.com/users/smacker/followers","following_url":"https://api.github.com/users/smacker/following{/other_user}","gists_url":"https://api.github.com/users/smacker/gists{/gist_id}","starred_url":"https://api.github.com/users/smacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smacker/subscriptions","organizations_url":"https://api.github.com/users/smacker/orgs","repos_url":"https://api.github.com/users/smacker/repos","events_url":"https://api.github.com/users/smacker/events{/privacy}","received_events_url":"https://api.github.com/users/smacker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smacker/engine","description":"engine is a library for running scalable data retrieval pipelines that process any number of Git repositories for source code analysis.","fork":true,"url":"https://api.github.com/repos/smacker/engine","forks_url":"https://api.github.com/repos/smacker/engine/forks","keys_url":"https://api.github.com/repos/smacker/engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smacker/engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smacker/engine/teams","hooks_url":"https://api.github.com/repos/smacker/engine/hooks","issue_events_url":"https://api.github.com/repos/smacker/engine/issues/events{/number}","events_url":"https://api.github.com/repos/smacker/engine/events","assignees_url":"https://api.github.com/repos/smacker/engine/assignees{/user}","branches_url":"https://api.github.com/repos/smacker/engine/branches{/branch}","tags_url":"https://api.github.com/repos/smacker/engine/tags","blobs_url":"https://api.github.com/repos/smacker/engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smacker/engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smacker/engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/smacker/engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smacker/engine/statuses/{sha}","languages_url":"https://api.github.com/repos/smacker/engine/languages","stargazers_url":"https://api.github.com/repos/smacker/engine/stargazers","contributors_url":"https://api.github.com/repos/smacker/engine/contributors","subscribers_url":"https://api.github.com/repos/smacker/engine/subscribers","subscription_url":"https://api.github.com/repos/smacker/engine/subscription","commits_url":"https://api.github.com/repos/smacker/engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/smacker/engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/smacker/engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/smacker/engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/smacker/engine/contents/{+path}","compare_url":"https://api.github.com/repos/smacker/engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smacker/engine/merges","archive_url":"https://api.github.com/repos/smacker/engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smacker/engine/downloads","issues_url":"https://api.github.com/repos/smacker/engine/issues{/number}","pulls_url":"https://api.github.com/repos/smacker/engine/pulls{/number}","milestones_url":"https://api.github.com/repos/smacker/engine/milestones{/number}","notifications_url":"https://api.github.com/repos/smacker/engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smacker/engine/labels{/name}","releases_url":"https://api.github.com/repos/smacker/engine/releases{/id}","deployments_url":"https://api.github.com/repos/smacker/engine/deployments","created_at":"2018-04-25T18:09:16Z","updated_at":"2018-04-25T18:09:18Z","pushed_at":"2018-05-07T10:55:45Z","git_url":"git://github.com/smacker/engine.git","ssh_url":"git@github.com:smacker/engine.git","clone_url":"https://github.com/smacker/engine.git","svn_url":"https://github.com/smacker/engine","homepage":"https://engine.sourced.tech/","size":7327,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"src-d:master","ref":"master","sha":"a427f059291c969b7f86036357efbfd89b3e14b7","user":{"login":"src-d","id":15128793,"avatar_url":"https://avatars2.githubusercontent.com/u/15128793?v=4","gravatar_id":"","url":"https://api.github.com/users/src-d","html_url":"https://github.com/src-d","followers_url":"https://api.github.com/users/src-d/followers","following_url":"https://api.github.com/users/src-d/following{/other_user}","gists_url":"https://api.github.com/users/src-d/gists{/gist_id}","starred_url":"https://api.github.com/users/src-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/src-d/subscriptions","organizations_url":"https://api.github.com/users/src-d/orgs","repos_url":"https://api.github.com/users/src-d/repos","events_url":"https://api.github.com/users/src-d/events{/privacy}","received_events_url":"https://api.github.com/users/src-d/received_events","type":"Organization","site_admin":false},"repo":{"id":99223053,"name":"engine","full_name":"src-d/engine","owner":{"login":"src-d","id":15128793,"avatar_url":"https://avatars2.githubusercontent.com/u/15128793?v=4","gravatar_id":"","url":"https://api.github.com/users/src-d","html_url":"https://github.com/src-d","followers_url":"https://api.github.com/users/src-d/followers","following_url":"https://api.github.com/users/src-d/following{/other_user}","gists_url":"https://api.github.com/users/src-d/gists{/gist_id}","starred_url":"https://api.github.com/users/src-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/src-d/subscriptions","organizations_url":"https://api.github.com/users/src-d/orgs","repos_url":"https://api.github.com/users/src-d/repos","events_url":"https://api.github.com/users/src-d/events{/privacy}","received_events_url":"https://api.github.com/users/src-d/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/src-d/engine","description":"engine is a library for running scalable data retrieval pipelines that process any number of Git repositories for source code analysis.","fork":false,"url":"https://api.github.com/repos/src-d/engine","forks_url":"https://api.github.com/repos/src-d/engine/forks","keys_url":"https://api.github.com/repos/src-d/engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/src-d/engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/src-d/engine/teams","hooks_url":"https://api.github.com/repos/src-d/engine/hooks","issue_events_url":"https://api.github.com/repos/src-d/engine/issues/events{/number}","events_url":"https://api.github.com/repos/src-d/engine/events","assignees_url":"https://api.github.com/repos/src-d/engine/assignees{/user}","branches_url":"https://api.github.com/repos/src-d/engine/branches{/branch}","tags_url":"https://api.github.com/repos/src-d/engine/tags","blobs_url":"https://api.github.com/repos/src-d/engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/src-d/engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/src-d/engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/src-d/engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/src-d/engine/statuses/{sha}","languages_url":"https://api.github.com/repos/src-d/engine/languages","stargazers_url":"https://api.github.com/repos/src-d/engine/stargazers","contributors_url":"https://api.github.com/repos/src-d/engine/contributors","subscribers_url":"https://api.github.com/repos/src-d/engine/subscribers","subscription_url":"https://api.github.com/repos/src-d/engine/subscription","commits_url":"https://api.github.com/repos/src-d/engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/src-d/engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/src-d/engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/src-d/engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/src-d/engine/contents/{+path}","compare_url":"https://api.github.com/repos/src-d/engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/src-d/engine/merges","archive_url":"https://api.github.com/repos/src-d/engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/src-d/engine/downloads","issues_url":"https://api.github.com/repos/src-d/engine/issues{/number}","pulls_url":"https://api.github.com/repos/src-d/engine/pulls{/number}","milestones_url":"https://api.github.com/repos/src-d/engine/milestones{/number}","notifications_url":"https://api.github.com/repos/src-d/engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/src-d/engine/labels{/name}","releases_url":"https://api.github.com/repos/src-d/engine/releases{/id}","deployments_url":"https://api.github.com/repos/src-d/engine/deployments","created_at":"2017-08-03T10:55:44Z","updated_at":"2018-05-04T09:40:00Z","pushed_at":"2018-04-27T13:05:57Z","git_url":"git://github.com/src-d/engine.git","ssh_url":"git@github.com:src-d/engine.git","clone_url":"https://github.com/src-d/engine.git","svn_url":"https://github.com/src-d/engine","homepage":"https://engine.sourced.tech/","size":7354,"stargazers_count":49,"watchers_count":49,"language":"Scala","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":29,"open_issues":14,"watchers":49,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/src-d/engine/pulls/391"},"html":{"href":"https://github.com/src-d/engine/pull/391"},"issue":{"href":"https://api.github.com/repos/src-d/engine/issues/391"},"comments":{"href":"https://api.github.com/repos/src-d/engine/issues/391/comments"},"review_comments":{"href":"https://api.github.com/repos/src-d/engine/pulls/391/comments"},"review_comment":{"href":"https://api.github.com/repos/src-d/engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/src-d/engine/pulls/391/commits"},"statuses":{"href":"https://api.github.com/repos/src-d/engine/statuses/a96d8fcae72571247f9e012631adbad95905c9a4"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"smacker"}}